![]() |
|
|||||||
| Relaxing Lounge This is where you can talk about anything. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Radio streaming via Windows Media Player
Fancy a small radio player for your phpnuke website?
First find a LEGAL stream - ie one the station promotes/allows for use on personal websites (Virgin Classic Rock is my personal favorite but them Im very old!) Create a new block from the blocks menu in the admin panel. Click on the HTML button and paste this code into it Code:
<OBJECT id="VIDEO" width="150" height="32"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<PARAM NAME="URL" VALUE="your file or url">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AutoStart" VALUE="False">
<PARAM name="uiMode" value="mini">
<PARAM name="PlayCount" value="9999">
<PARAM name="enabled" value="True">
</OBJECT>
Click UPDATE Click SAVE BLOCK Press play on the mini Windows Media Player that appears. Thats it. You have a streaming radio block for your website! Its not perfect - if you navigate away from the page its on (or even refresh the page) the player stops. |
|
|||
|
pretty nice
good job |