PDA

View Full Version : WMP not refreshing HTMLView problem


Chris @ RCN
21st February 2006, 21:26
For those of you that use Windows Media Player as another method of getting your shoutcast station heard via ASX:

About a week ago, my listeners noticed that the webpage that I have showing in Windows Media Player 9 / 10 is no longer doing a refresh every 60 seconds. I've changed none of my code, so I am wondering if this might have been due to new security fixes or something with WMP 10?

The way I have my ASX file is

<ASX Version = "3.0">
<TITLE>9412 - The Rock Station</TITLE>
<MoreInfo href = "http://www.9412.com" />
<Copyright>2006 RCNRadio Networks, Inc.</Copyright>

<Entry>
<PARAM name="HTMLView"
value="http://www.9412.com/playlist/8track-onair.asp"/>
<REF HREF="http://209.51.162.170:9002"/>
</Entry>

</asx>

I am using HTMLView to display the page in the Windows Media Player.

The refresh code that was working until last week is:

<html>
<head>
<title>9412 - The Rock Station 8-Track Player</title>
<%@ Language=VBScript %>
<%
Response.Expires = 0
Response.Buffer = True
Response.Clear
Response.AddHeader "Refresh", "60"
%>
<meta http-equiv="refresh" content="60"> <link rel="stylesheet" type="text/css"
href="http://www.9412.com/css/default.css">
</head>

Note that I have both the Meta and the VBScript version to make sure it's backwards compatable and it was working just fine.

Any ideas about this and what can be done?

Thanks,
Chris J. Popp
9412 - The Rock Station
www.9412.com

hackerdork
21st February 2006, 21:54
Chris,

I think the problem is here
<meta http-equiv="refresh" content="60">

It should read <meta http=equiv="refresh" content="60;url=."> or change . to the file name for the home page.

I know its suppose to refresh the current page if no URL is listed but its worth a shot.

~ Cheers


I did a manul refresh :) and it worked, I looked at the source (view source) and noticed that the refresh only shows the time but not the resource.

djcrackhome
29th December 2009, 16:35
I might be also working with Meta Refresh,
but I have it working with simple JavaScript 1, it works perfectly. I attached you the file.