Quote Originally Posted by Dencuga View Post
This works fine, but is there possibility for autoplay ?
And initially, if commands (play button and arrows) can be hide ?
Thanks.
You can add autoplay to the video tag, but if there is an audio track most browsers will ignore the command. Where you want to autoplay here is an example video tag:

<video id="myvideo"width="100%" height="100%" controls autoplay muted playsinline loop disablepictureinpicture controlsList="nodownload" >
<source src="https://initiostar.co.uk/demo/Waterfall.mp4" type="video/mp4">
</video>

Where you use autoplay muted, you need to add playsinline for iOS on mobile. You may too want to disable picture-in-picture on a mobile variant and where the video has a commercial value you may also want to prevent download.

You can hide the controls by omitting the "controls" from the video tag; this is OK for background videos, but is generally not good practice otherwise.

Here is some futher explanation and a demo: https://initiostar.co.uk/demo/simpleVideo/ & Xara Video Tag.xar

There's a lot you can do with video and here are two more examples: one demostrates background videos, intros and banners, the other shows three different ways for managing video libaries.

https://initiostar.co.uk/demo/Video/fullvid.htm Here the code is placed in HTML page(head)

https://initiostar.co.uk/demo/EmbedVideo/ Here we have used a custom designed video player

Plenty of ideas here to play with.

Gary