11-08-2013, 16:54
Allowing the option to embed video using HTML5 specific element codes in forum posts would be very handy, eg:
PHP Code:
<video width="646" height="364" controls poster="ella.png" preload="none" loop="true">
<!-- chrome, ff, safari -->
<source src="ella.webm" type="video/webm">
<source src="ella.ogg" type="video/ogg">
<!-- ios, android, safari, ie -->
<source src="ella.mp4" type="video/mp4">
<!-- browser not html5 compliant - fall back to old skool embed -->
<object width="646" height="364">
<param name="movie" value="ella.swf">
<embed src="ella.swf" width="646" height="364"></embed>
</object>
</video>