tombombman Posted April 12, 2008 Share Posted April 12, 2008 Not sure if anyone can help me finish this script off the way i would like it but I have this phpnuke block that plays a music stream off my choice. I want to be able to choose from a dropdown list that will still play in that player. If someone could take this code and put in 1 or 2 extra selections to use with a dropdown and I would be extremely happy, thanks. Here is what I have so far: <?php if (eregi("block-Radio.php",$PHP_SELF)) { Header("Location: index.php"); die(); } $content = "<center><object"; $content .= " classid=\"CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6\" name=\"wmtPlayer\" width=\"150\" height=\"100\" align=\"middle\">"; $content .= " <param name=\"url\" value=\"http://www.di.fm/wma/hardstyle.asx\">"; $content .= " <param name=\"autostart\" value=\"true\">"; $content .= " <param name=\"uiMode\" value=\"mini\">"; $content .= " <embed"; $content .= " src=\"http://www.di.fm/wma/hardstyle.asx\""; $content .= " width=150 height=100"; $content .= " autostart=\"1\" align=\"middle\" type=\"application/x-mplayer2\" "; $content .= " name=\"wmtPlayer\""; $content .= " uimode=\"mini\"> </embed> </object></center>"; ?> Link to comment https://forums.phpfreaks.com/topic/100754-need-help-with-a-phpnuke-block/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.