Hej Allesammen..
Jeg har lavet et slideshow som køre rigtig godt, det eneste problem er at den begynder at starte alle videoerne på samme tid. Pointen er at den skal starte den enkelte film når den skifter slide dertil <figure> og stopper den igen når den skifter videre.. Hvis jeg bruger quicktime med deres "autostart" så fungere det fint, men jeg vil gerne undgå at bruge det. På forhånd tak
Eksempel uden quicktime:
- <figure>
- <div class="logo"></div>
-
- <video autoplay="true" muted="true" loop="loop" width="640" height="360">
- <source src="Hjertestarter.mp4" type="video/mp4" />
- <object type="application/x-shockwave-flash" data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" width="640" height="360">
- <param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" />
- <param name="allowFullScreen" value="false" />
- <param name="wmode" value="transparent" />
-
- </object>
- </video>
- <img src="" onload="" alt="" />
- </figure>
-
-
- <figure>
-
- <div class="logo"></div>
-
- <video autoplay="true" muted="true" loop="loop" width="640" height="360">
- <source src="admin/include/images/barlink_3.mp4" type="video/mp4" />
- <object type="application/x-shockwave-flash" data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" width="640" height="360">
- <param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" />
- <param name="allowFullScreen" value="false" />
- <param name="wmode" value="transparent" />
-
- </object>
- </video>
- <img src="" onload="" alt="" />
- </figure>
Eksempel med quicktime (som jeg gerne vil undgå, men det fungere:
- <figure>
- <div class="tvstalden"></div>
- <object width="100%" height="100%">
- <param name="movie" value="Carlsberg/Inhouse Commercial Stalden">
- <embed src="admin/include/images/torsdag.mp4"
- autostart="true"
- loop="true"
- width="100%"
- height="100%"
- scale="tofit"
- type="video/mp4"
- alt="image 95"
- volume="0"
- controller="false"
- cache="true"
- showlogo="false"
- </embed>
- </object>
- <img src="" onload="" alt="" />
- </figure>
-
-
- <figure>
- <div class="tvstalden"></div>
- <object width="100%" height="100%">
- <param name="movie" value="Carlsberg/Inhouse Commercial Stalden">
- <embed src="admin/include/images/barlink_3.mp4"
- autostart="true"
- loop="true"
- width="100%"
- height="100%"
- scale="tofit"
- type="video/mp4"
- alt="image 97"
- volume="0"
- controller="false"
- cache="true"
- showlogo="false"
- </embed>
- </object>
- <img src="" onload="" alt="" />
- </figure>
Indlæg senest redigeret d. 29.08.2012 14:47 af Bruger #16983