Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Autoplay video and transparency

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1473 Views
  • adesweb
    Avatar
    Community Member
    39 Posts

    Autoplay video and transparency Link to this post

    Hi,

    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.

    Adrian

  • not2dumb
    Avatar
    Community Member
    16 Posts

    Re: Autoplay video and transparency Link to this post

    which flash videoplayer do u use?

    wmode can be set by definig the param in the sourcecode like so:

    <param name="wmode" value="transparent"/>

    or

    <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.

    cheers

  • adesweb
    Avatar
    Community Member
    39 Posts

    Re: Autoplay video and transparency Link to this post

    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.

    1473 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.