Jump to:

23453 Posts in 18904 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Problem integrating a Flash video player

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 1129 Views
  • PurpleSnowcone
    Community Member
    3 Posts

    Problem integrating a Flash video player Link to this post


    I have a custom Flash Video player on my site and it works.. It grabs the video ID from the URL and begins to play the video, however, the buttons in the player don't do anything! They are active, for example, when you hover over them the button image changes to what it's suppose to, etc.. But when you click the buttons they just don't do anything. <confused>

    I know that the player is fine because it works fine on my old site. I get the player into my code this way:




    function Player($play = 0) {
        return '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="480" height="300" id="Player" align="middle">
                   <param name="allowScriptAccess" value="sameDomain" />
                   <param name="allowFullScreen" value="true" />
                   <param name="FlashVars" value="id=' . $play .'" />
                   <param name="movie" value="Player.swf" />
                   <param name="quality" value="high" />
                   <param name="bgcolor" value="#000000" />   
                   <embed src="Player.swf" FLashVars="sid=' . $playSid . '" quality="high" bgcolor="#000000" width="480" height="300" name="Player" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />

    Any thoughts?


  • martimiz
    Forum Moderator
    1078 Posts

    Re: Problem integrating a Flash video player Link to this post

    Hi - did you check the resulting code in the generated HTML?

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.