7953 Posts in 1385 Topics by 945 members
|Go to End|
24 July 2009 at 4:50am
I am using Fancybox to display my videos as I wish to cycle between both images and videos seamlessly and this seems one of the better solutions. However I need two things from the video player to be able to do this:
1. Autoplay videos
2. Make the flash player wmode = transparent, so the overlay next and back links will appear on rollover.
24 July 2009 at 8:55am
which flash videoplayer do u use?
wmode can be set by definig the param in the sourcecode like so:
<param name="wmode" value="transparent"/>
<param name="wmode" value="opaque"/>
for your intention, both work. and this is valid for ANY flashfile.
the autostart is realized by passing flasvars, like so:
<param name="flashvars" value="file=http://localhost/assets/Videos/myvideo.flv&height=300&width=400&autostart=true&controlbar=bottom&backcolor=0x000000&frontcolor=0xCCCCCC&lightcolor=0x557722"/>
these vars are different from player to player, THIS are valid for the jwplayer coming with the module.
24 July 2009 at 8:09pm
Thanks for this. I was just using the $Player tag to pull in the player, so I guess I'll have to be a little more low level than that if I want to customise it a bit more. The hover states in facybox - just going to widen the box either side a bit so they still work while maintaining the functionality of the video.
|Go to Top|