21490 Posts in 5783 Topics by 2622 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 975 Views |
-
Problem integrating a Flash video player

4 March 2010 at 10:35am
Hello!
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:
HomePage.ss:
$Player
HomePage.php:
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" />
</object>';
}Any thoughts?
Thanks!
-Joe -
Re: Problem integrating a Flash video player

4 March 2010 at 10:52pm
Hi - did you check the resulting code in the generated HTML?
| 975 Views | ||
|
Page:
1
|
Go to Top |

