Skip to content

CldVideoPlayer refs not working #170

@Jeffrey-Suitor

Description

@Jeffrey-Suitor

Hey,

Maybe I'm just reading into something wrong for the package but I can't seem to expose either the video or player refs to my parent component.

Version

@nuxtjs/cloudinary 2.4.3
nuxt: 3.8.2

Reproduction Link

https://cloudinary.nuxtjs.org/components/cldvideoplayer

const myVideoRef = ref(); ...
<CldVideoPlayer :videoRef="myVideoRef" ... />

https://stackblitz.com/edit/github-8vtd1k?file=.stackblitz%2Fapp.vue

Steps to reproduce

  1. Copy the example code provided at https://cloudinary.nuxtjs.org/components/cldvideoplayer . Look at the value of myVideoRef

What is Expected?

That the ref should be populated with the reference to the video element.

What is actually happening?

The ref is not populated

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions