[pmwiki-users] html5 ideo

Eric Forgeot eforgeot at gmail.com
Thu May 10 13:17:58 CDT 2012


It works for me, on the same Free.fr servers:

http://anamnese.online.fr/pmwiki-efo/index.php/Main/WikiSandbox

It's probably because of a missing or wrong .htaccess (see my previous
post about this).

The code is only:
(:html5video filename=test poster='' width=480 height=270:)

and test.ogv is in /pmwiki-efo/uploads

This cookbook should be modified: it tries to load the 3 supported
formats, which is not really efficient:

<p><video width="480" height="270" controls="controls" 
poster="http://gnuzoo.org/guitarstuff/uploads/.jpg">
  <source src="../../uploads/test.ogv <view-source:http://anamnese.online.fr/pmwiki-efo/uploads/test.ogv>"  type="video/ogg"  />
  <source src="../../uploads/test.mp4 <view-source:http://anamnese.online.fr/pmwiki-efo/uploads/test.mp4>"  type="video/mp4"  />
  <source src="../../uploads/test.webm <view-source:http://anamnese.online.fr/pmwiki-efo/uploads/test.webm>" type="video/webm" />
  <img    src="../../uploads/.jpg <view-source:http://anamnese.online.fr/pmwiki-efo/uploads/.jpg>"  width="480" height="270" />
  <br />Your browser does not allow HTML5 video.
</video>


I'd prefer to explicitly write the extension myself because the file is
called test.ogv, not only test: (:html5video filename=test.ogv poster=''
width=480 height=270:)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20120510/fe94c73b/attachment.html>


More information about the pmwiki-users mailing list