Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » FLV shadowbox - passing more flashvars

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: 2502 Views
  • DigoART
    Avatar
    Community Member
    13 Posts

    FLV shadowbox - passing more flashvars Link to this post

    Hi,

    I have an urgent need to pass more flashvars to the player in the shadowbox, (It could be a Description or Tags flashvar based on JW PLayer structure as I don't use them for now. Basically I need to pass the ID of the Page where attachment resides) I tried adding 'description' => "TestText" array element in VideoPopup function of the FLV.php, however it doesn't seem to work, and I'm not getting it in the player.

    Any ideas on how I can implement that ?

    Thanks .

  • UncleCheese
    Avatar
    4085 Posts

    Re: FLV shadowbox - passing more flashvars Link to this post

    Yeah, that's an interesting request. Would it be for just one movie or for all movies? The problem with the FLV features right now is that all the configuration, with the exception of thumbnail width and height, are global settings. The easiest thing for me to do would be to add a static variable "extra_flash_params" to the FLV class and have it add whatever you put in there to the swfobject call.

    But that would affect every video, unfortunately.

  • DigoART
    Avatar
    Community Member
    13 Posts

    Re: FLV shadowbox - passing more flashvars Link to this post

    Hi,

    Thank for reply, we've managed to achieve what we needed in a way of tweaking and patching the js files and the JW Player AS codes... Looks bit Scary and crapy, but works

    However It might be a handy feature for the next releases . ;)

    Cheers

  • UncleCheese
    Avatar
    4085 Posts

    Re: FLV shadowbox - passing more flashvars Link to this post

    Yeah, i really want to do an overhaul on all the video stuff, and eventually make it its own module. I didn't expect it to be so popular, with the FFMPEG requirement and everything, but that seems to be working out great. That offers a lot of functionality that has yet to be harnessed. I could definitely take the audio/video features to a place that would make SS a very competitive CMS.

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