Hi everyone I been trying to get my mp4 file that's on my server to auto play using the NVU software. Does anyone know the code or how to do this. I have tried this code, it doesn't work. Is there a way to use HTML5 on NVU? To get this to work.
<video width="320" height="240" controls autoplay loop>
<source src="path-to-your-video.mp4" type="video/mp4">
</video>
NVU auto play mp4?
-
- Posts: 6797
- Joined: February 3rd, 2009, 6:29 pm
Re: NVU auto play mp4?
Did you try using an iframe element?
* example.htm
How to Insert a YouTube Video into Your Web Page with Nvu or KompoZer
http://www.thesitewizard.com/faqs/inser ... ozer.shtml
HTML YouTube Videos
http://www.w3schools.com/html/html_youtube.asp
How can I autoplay a video using the new embed code style for Youtube?
http://stackoverflow.com/questions/3405242
Google Chrome blocks audio content being played without any user interaction. I don't know about Nvu.
* example.htm
Code: Select all
<!DOCTYPE html>
<html>
<body>
<iframe width="500" height="500" src="example.mp4" allow="autoplay">
</iframe>
</body>
</html>
http://www.thesitewizard.com/faqs/inser ... ozer.shtml
HTML YouTube Videos
http://www.w3schools.com/html/html_youtube.asp
How can I autoplay a video using the new embed code style for Youtube?
http://stackoverflow.com/questions/3405242
Google Chrome blocks audio content being played without any user interaction. I don't know about Nvu.