Commit 172fd897be19e7829f74dad304ad61d9fc508a03

Authored by Geoffrey PREUD'HOMME
1 parent 5c23f45a

Video flash fallback

WIP : Not tested.
Showing 1 changed file with 13 additions and 1 deletions   Show diff stats
pages/description.php
... ... @@ -26,6 +26,18 @@
26 26 <source src="vid/pres2014.webm" type='video/ogg' />
27 27 <source src="vid/pres2014.ogg" type='video/webm' />
28 28 <source src="vid/pres2014.mp4" type='video/mp4' />
29   - Il y a une vidéo ici, mais votre navigateur semble trop ancien pour pouvoir la lire :-(
  29 + <!-- Fallback en flash pour IE6, IE7, IE8 et Opera -->
  30 + <object type="application/x-shockwave-flash"
  31 + data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf"
  32 + width="1920" height="1080">
  33 + <param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" />
  34 + <param name="allowFullScreen" value="true" />
  35 + <param name="wmode" value="transparent" />
  36 + <param name="flashVars"
  37 + value="config={'playlist':['..%2Fvid%2Fpres2014.jpg',
  38 + {'url':'..%2Fvid%2Fpres2014.mp4','autoPlay':false}]}" />
  39 + <!-- Fallback si Flash ne fonctionne pas -->
  40 + <img src="vid/pres2014.jpg" width="1920" height="1080" title="Impossible de charger la vidéo" />
  41 +
30 42 </video>
31 43 </div>
... ...