NVU auto play mp4?

Talk about add-ons and extension development.
Post Reply
Mike7964
New Member
Posts: 1
Joined: October 9th, 2024, 1:04 pm

NVU auto play mp4?

Post by Mike7964 »

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>
morat
Posts: 6823
Joined: February 3rd, 2009, 6:29 pm

Re: NVU auto play mp4?

Post by morat »

Did you try using an iframe element?

* example.htm

Code: Select all

<!DOCTYPE html>
<html>
<body>
<iframe width="500" height="500" src="example.mp4" allow="autoplay">
</iframe>
</body>
</html>
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.
Post Reply