jool Posted September 14, 2006 Share Posted September 14, 2006 Hello all,I am trying to use the Flash Media player (as provided in Dreamweaver 8) to run flash video files (flv) from a MySQL database. The code generated when I insert the player from the menu is:<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="130" height="98" id="FLVPlayer"><param name="movie" value="FLVPlayer_Progressive.swf" /><param name="salign" value="lt" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Corona_Skin_1&streamName=videos/naomi3&autoPlay=false&autoRewind=false" /><embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Corona_Skin_1&streamName=videos/naomi3&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="130" height="98" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object>where the relative path is:videos/naomi3.flv However as the path is stored in the MySQL database, I tried replacing the 2 incidences of 'videos/naomi3' with <?php echo $row_d['video']; ?> (the MySQL database is set up correctly and values from other rows display on the dynamic form correctly - here 'video' is the row name and 'd' the table) but nothing happened /no video was displayed.Any help and advice would really be appreciated. Thanks and have a nice Friday.Jool Link to comment https://forums.phpfreaks.com/topic/20768-playing-a-flv-file-stored-in-a-mysql-database-through-a-flash-video-player/ Share on other sites More sharing options...
fenway Posted September 14, 2006 Share Posted September 14, 2006 Make sure you can echo that path outside the OBJECT/EMBED tag first. Link to comment https://forums.phpfreaks.com/topic/20768-playing-a-flv-file-stored-in-a-mysql-database-through-a-flash-video-player/#findComment-91970 Share on other sites More sharing options...
jool Posted September 15, 2006 Author Share Posted September 15, 2006 Yeah...that was more or less the problem. I re-set things up so I could definitely echo - and now it's working!Thanks fenway! An outside perspective always helps. Have a great weekend! Link to comment https://forums.phpfreaks.com/topic/20768-playing-a-flv-file-stored-in-a-mysql-database-through-a-flash-video-player/#findComment-92291 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.