Richard Korts
asked on
HTML 5 video player
I have a page that plays an mp4 (or ogg) video. Video element set up like this:
<video id="video1" width="800" autoplay>
<source src="Aquascape Webinar.mp4" type="video/mp4">
<source src="Aquascape Webinar.ogg" type="video/ogg">
Your browser does not support HTML5 video.
</video><br> <button onclick="ac='p'; vid_play_pause();">Play/Pa use</butto n>
Will this play in Safari & Chrome?
It's not easy to test because of other restrictions.
Thanks
<video id="video1" width="800" autoplay>
<source src="Aquascape Webinar.mp4" type="video/mp4">
<source src="Aquascape Webinar.ogg" type="video/ogg">
Your browser does not support HTML5 video.
</video><br> <button onclick="ac='p'; vid_play_pause();">Play/Pa
Will this play in Safari & Chrome?
It's not easy to test because of other restrictions.
Thanks
I pasted your code in a page and tried to open in Chrome and Firefox. I get the Play/Pause button, but nothing else. I am thinking that is because you don't have a url to the file...
rkorts - can you add a specific url and I will be happy to try it again....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.