-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: triggering autoplay and fullscreen on initial render #968
Comments
Autoplay functionality as deafult is not guaranteed to be safe in cross-browser modes. Now I suggest using |
is there an ideal time (event) to enable fullscreen?
note that duration is returning 0 and enabled is returning true autoplay works, when I have it enabled in the browser settings and when the provider is vimeo. |
As plyr core maintainer said:
For autoplay, there might be a temp solution that works for your case, but you might need to check these issues:
|
In a view that only shows a video, I think it makes sense to autoplay and go fullscreen. What could I do besides |
Have you tried to set the muted property of the video? |
I created an issue for pylr
|
How would you trigger a video to start playing and triggering fullscreen (as fast as possible), following the initial render of the video component?
The specific flow I have in mind:
user clicks on thumbnail -> a route like /video/youtube/38j9hF378hf opens -> video is playing in fullscreen automatically.
The text was updated successfully, but these errors were encountered: