-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
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
Background video does not play on the first slide loaded #1314
Comments
I had the the same problem, did you find any solutions for this? |
No. The workaround for my use case is to manually advance the slide set and go back as this triggers the video playback. Works fine when I'm giving the presentation, but not so well if I'm directing others to a link. |
I think that i have a solution, is not good, but resolve the problem, if you can improve, please help me. I did the following: the error was in line 2616 i guess, where: probably the error occurs because the video was not loaded. Then, i change to this:
I create a flag loadeddata for controller, i put on line 2548 above the declaration of the function updateBackground: In resume, i do this:
works fine on chrome and mozilla. ps: sorry for my bad english, i am learning :) about the event: https://developer.mozilla.org/en-US/docs/Web/Events/loadedmetadata |
Fixed by @alexbatista in #1376 |
When the first slide loaded contains a background video the video does not play, eg load or refresh http://lab.hakim.se/reveal-js/#/10/3
This has been seen on the following browsers:
The video plays as expected when loaded from Chrome on Mac OS X.
When trying to debug this using breakpoints in Firefox the video does play, so I would assume this is related to the async loading of the video.
The text was updated successfully, but these errors were encountered: