You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We can listen for the `can-play` event to be notified when the player is ready, but not used at the moment
const onCanPlay = (event: MediaCanPlayEvent) => {
// Workaround to start muted autoplay as e.g. Chrome doesn't allow autoplay with sound: https://developer.chrome.com/blog/autoplay/
if (autoplay.value === true) {
setTimeout(() => {
$player.value!.muted = true;
}, 0);
}
};
Current Behavior:
I have something similar to this to autoplay a Vimeo video.
Previously it only showed the
poster
image, but after addedmuted
property it now load the video, but it doesn't start playing the video.Looking at the embed iframe it doesn't seem to include
&autoplay=1&muted=1
in Vimeo request.In console I get errors like these:
Expected Behavior:
Steps To Reproduce:
Add player using Vimeo and autoplay.
Reproduction Link: How to create a repro?
Environment:
Anything Else?
The text was updated successfully, but these errors were encountered: