Jump to content

Showing .php file in Win Media Player


johny c

Recommended Posts

This might be a hard one or easy to some people.

Can you get Windows media player or Winamp to show a now playing php file in its window, (like they show ads in the window). I want it to show what the last few tracks that have played.

How do I put this info into a .asx file.

Heres the page.

http://homepages.ihug.co.nz/~soundwiz/Now%20Playing.html

Thanks

RAG-FM 107.7 Raglan New Zealand & ragfm.com

........"Top Music Top of the Dial"

Click HERE to listen to the RAG-FM radio stream

Link to comment
Share on other sites

Hi Johny,

First of all you'll find a ".wax" file attached to this reply. Its ready to use .. and it works ...

BUT : the sound you'll hear is my stream source ... for reason that not all Win Media Players support the AAC+ codex

To users who have a AAC+ setup, their WMP gonna recognize the codex, to those who use a standard WMP it don't gonna work

How do I put this info into a .asx file.

Heres the page.

http://homepages.ihug.co.nz/~soundwiz/Now%20Playing.html

Thanks

Operational the current .wax file works fine and shows your "current playing" ... however I see into the html several Javascripts.

For reason that your php page is made as iframe into your html you don't need the Javascripts written into that page aka source code.

Secondly if a .wax file is used Javascripts can give conflicts to the visible content of what "has" to be seen into the WMP screen.

Important to know is that a .wax file opens WMP automatic even when other types of media players are installed on a pc of a listener ...

An .asx can give also a command to for example WinAmp ... a .wax don't (so its WMP only)

 

So far I don't have any knowledge to do the same if used into WinAmp

I hope other members can point you into the right direction (concerning WinAmp)

 

Hope this was usefull

PS: unzip the .rar file, open the .wax file with WMP, to change the content of this .wax example "right click" and open with "notebloc"

Good luck !

Visit and listen @ BW !

http://i.imgur.com/Ggmw4ub.gif

 

Link to comment
Share on other sites

If you use a meta refresh every minute or so this should take care of the issue:

To change the amount of time between refreshes, update the number 40. This is going to be the easiest for you to implement.

Stream101 | Affordable Media Solutions

Shared cPanel? Web Hosting | WordPress Hosting | Premium Stream Hosting

TOLL-FREE: (616) 277-7280 | 30 Day NO QUESTIONS Money-Back Guarantee

100% Cogent Free Network | CloudLinux OS | Tier 1 Bandwidth | Grand Rapids, MI

Link to comment
Share on other sites

Sorry Guys, it refresh's in Internet Explorer, but it still wont refresh in Windows media player.

 

Try this..

 



RAG-FM 107.7
<br />
function changeIt(fl) { <br />
document.frames["myInnerFrame"].location.href=fl; <br />
alert(fl);<br />
 <br />
} <br />
 <br />
function automatic() { <br />
for (i=1;i<10;i++) { <br />
  setTimeout("changeIt(" +  i + ".html)", i * 59000); <br />
} <br />
} 











 

UPDATE: Works in IE and on a .wax file :)

http://files.broadcastingworld.net/lol.htm

Studiio - All-In-One Radio Communication Platform
SMS | Phone Calls | Social Media | Content

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...