The UK Babe Channels Forum
Request - allow video embed codes (HTML5) - Printable Version

+- The UK Babe Channels Forum (https://www.babeshows.co.uk)
+-- Forum: General (/forumdisplay.php?fid=19)
+--- Forum: Information On This Website & Help (/forumdisplay.php?fid=103)
+---- Forum: Forum Help & Advice (/forumdisplay.php?fid=91)
+---- Thread: Request - allow video embed codes (HTML5) (/showthread.php?tid=56102)



Request - allow video embed codes (HTML5) - joxr - 11-08-2013 15: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">

  <!-- 
chromeffsafari -->
      <
source src="ella.webm" type="video/webm">
      <
source src="ella.ogg" type="video/ogg">

  <!-- 
iosandroidsafariie -->
      <
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



RE: Request - allow video embed codes (HTML5) - Barney Stinson - 12-08-2013 17:28

This already works Smile


RE: Request - allow video embed codes (HTML5) - joxr - 13-08-2013 01:06

(12-08-2013 17:28 )Barney Stinson Wrote:  This already works Smile


Nope Sad




RE: Request - allow video embed codes (HTML5) - Barney Stinson - 13-08-2013 10:58

I see the problem now the forum is passing the source block through htmlentities() .
You could just use an iframe embed from your own server then?


RE: Request - allow video embed codes (HTML5) - joxr - 14-08-2013 23:21

Yes, a "Mycode" entry is required to allow the tags I believe.

Using iframes is a feasible workaround but an unnecessary step when the above code will work just fine on any modern browser (and older ones with the <object> code) - I've been using it prolifically elsewhere for some time now.

It's no big deal, just a nice to have...