Jump to content

Flash Player


Neptunus Maris

Recommended Posts

Am I doing this right???

 

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"  width="250" height="200" id="player" align="middle">

  <param name="allowFlashAutoInstall" value="true" />

  <param name="Flashvars" value="file=http://$_SERVER[sERVER_NAME]/webinar_previews/videos/$row[link]&autoStart=false" />

  <param name="allowScriptAccess" value="sameDomain" />

  <param name="movie" value="flvplayer.swf" />

  <param name="quality" value="high" />

  <param name="bgcolor" value="#ffffff" />

  <embed src="flvplayer.swf" swliveconnect="true" showcontrols="1" flashvars="file=$_SERVER[sERVER_NAME]/webinar_previews/videos/$row[link]&autoStart=false" quality="high" bgcolor="#ffffff" width="290" height="225" name="player" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

</object>

 

The video doesnt seem to play.

Link to comment
https://forums.phpfreaks.com/topic/68882-flash-player/
Share on other sites

you are calling PHP vars in plain HTML

 

unless you're leaving a part out where all of what you posted is part of some larger variable string...you need to let the server know which parts are PHP and which parts are HTML:

 

like:

<param name="Flashvars" value="file=http://<?=$_SERVER[sERVER_NAME] ?>/webinar_previews/videos/<?=$row[link] ?>&autoStart=false" />

 

Link to comment
https://forums.phpfreaks.com/topic/68882-flash-player/#findComment-346221
Share on other sites

you are calling PHP vars in plain HTML

 

unless you're leaving a part out where all of what you posted is part of some larger variable string...you need to let the server know which parts are PHP and which parts are HTML:

 

like:

<param name="Flashvars" value="file=http://<?=$_SERVER[sERVER_NAME] ?>/webinar_previews/videos/<?=$row[link] ?>&autoStart=false" />

 

 

ok

do you know how to covert wmv files to flash as they are uploaded?

Link to comment
https://forums.phpfreaks.com/topic/68882-flash-player/#findComment-346222
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.