Loading...
 
Skip to main content

History: Using HTML5 in an HTML plugin

Source of version: 8 (current)

Copy to clipboard
            This is to test https://doc.tiki.org/PluginHTML with https://www.w3schools.com/html/html5_video.asp

Note: Controls is required on old version of Safari. Muted is preferred now as some browser won't load the video.

!! Video mp4
{HTML()}
<video controls muted>
<source type="video/mp4" src="display1"></source>
</video>
{HTML}

!!Video ogv
{HTML()}
<video controls muted>
<source type="video/ogg" src="display2"></source>
</video>
{HTML}

!!Video webm
{HTML()}
<video controls muted>
<source type="video/webm" src="display3"></source>
</video>
{HTML}

---

!!Other

Exemple found that is supposed to load on Safari (work fine but not with a file from a file gallery).
Seems the type is not required. Slow loading (be patient the first time)

{HTML()}
<video preload="auto" x-webkit-airplay="allow" id="video" playsinline="playsinline" webkit-playsinline="webkit-playsinline" src="display1"></video>
{HTML}