Neptunus Maris Posted September 11, 2007 Share Posted September 11, 2007 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 More sharing options...
micah1701 Posted September 11, 2007 Share Posted September 11, 2007 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 More sharing options...
Neptunus Maris Posted September 11, 2007 Author Share Posted September 11, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.