.
Newlist. Asx file content
I want to ask about how can recognize the playlist, asp.net is can't use the asx file?
CodePudding user response:
The browser F12, open the developer toolsCut to the network TAB, refresh the page
See address is successful visit,
To do this, we are talking about the back of the things
CodePudding user response:
Thank you very much, can visit the aspx page, http://localhost:24543/wctv/Default3.aspx, but http://localhost:24543/wctv/newlist.asx is to asx file downloaded to the localCodePudding user response:
Need to add Mime". Asx ", "video/x - ms - the asf"
Because I don't know your environment, so head to your netcore information
https://blog.csdn.net/weixin_33905756/article/details/93680920
If you don't use netcore, realizes the basic similar, is a new suffix mapping, this may also directly in iis
CodePudding user response:
For example,https://www.cnblogs.com/weiweixiang/p/5659378.html
CodePudding user response:
Thank you very much, I added & lt; System. WebServer>Still have no reaction, I according to your teaching of f12, Chrome tips. Aspx file error
<script language="javascript" & gt;
The function WHplay () {
Document. All (" WHImage "). Style. The display="none";
Document. All (" MediaPlayer "). Style. The display="block";
document. All (" MediaPlayer "). The play ();
}
The function PlayWmv () {
Document. All (" MediaPlayer "). The stop ();
Document. All (" WHImage "). Style. The display="block";
document. All (" MediaPlayer "). Style. The display="none";
}
Use ie tip hwDas
}
Else if (1!=the navigator. UserAgent. IndexOf (" Firefox "))
{
Document. Write (' & lt; The OBJECT id="Player");
Document. Write (' type="application/x - ms - WMP '");
Document. Write (' width=300 height=200 & gt; ');
}
</script>