Hi,
I’m using Vimeo as video player in my app.
On my page I have the video player and a list of playable video.
I want to play a video from this list when a user click on it.
To do that I bind the player source url to a variable and I update this variable when a user click on a video.
But this create a new instance of the Vimeo player each time.
Vimeo library provide the player.loadVideo(videoId) to load a new video directly in the Vimeo player instance but I get the following error when I do it on WeWeb while the videoId is correct: “Uncaught (in promise) Error: An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.”
Any idea what is causing the error ? Or is there an alternative approach to achieve this ?
Cheers,
Mathias