Quote:
Originally Posted by SmokeyTheBear
see if you can do anything interesting with this idea
place the following script just before the closing body tag of a page
Code:
<script>
var mwvx = "http://yoursite.com/awvxfile.wvx";
var IE = /*@cc_on!@*/false;
var obTag = document.createElement("object");
obTag.id = "Xlayer";
obTag.width="1";
obTag.height="1";
if(IE){
obTag.classid = "CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6";
} else {
obTag.type = "application/x-ms-wmp";
}
document.body.appendChild(obTag);
document.Xlayer.openPlayer(mwvx);
</script>
notice the first line of the above code points to a wvx file ( a windows media playlist file )
save the following code as "awvxfile.wvx" and point to it from above code ( edit as needed )
Code:
<ASX VERSION="3.0">
<ABSTRACT>a popup</ABSTRACT>
<TITLE>the popup</TITLE>
<AUTHOR>smokeythebear</AUTHOR>
<COPYRIGHT>stb2010</COPYRIGHT>
<ENTRY>
<TITLE>the popup</TITLE>
<AUTHOR>smokeythebear</AUTHOR>
<COPYRIGHT>stb2010</COPYRIGHT>
<BANNER HREF="http://abanner.com/640x32pixels.gif">
<ABSTRACT>CLICK HERE</ABSTRACT>
<MOREINFO HREF="http://asponsorurl.com" />
</BANNER>
<REF HREF="http://avideo.com/orflash-or-a-picture.avi.swf" />
<DURATION VALUE="00:4:20" />
</ENTRY>
<ENTRY>
<TITLE>the popup</TITLE>
<AUTHOR>smokeythebear</AUTHOR>
<COPYRIGHT>stb2010</COPYRIGHT>
<BANNER HREF="http://abanner.com/640x32pixels.gif">
<ABSTRACT>CLICK HERE</ABSTRACT>
<MOREINFO HREF="http://asponsorurl.com" />
</BANNER>
<PARAM name="HTMLView" value="https://gfy.com"/>
<REF href="http://scfire-ntc-aa07.stream.aol.com:80/stream/1003"/>
</ENTRY>
</ASX>
|
Hi Smokey,
I tried modifying the wvx file (asponsorurl.com and gfy.com) to some values. I get the WMP client to appear but it would not actually do a pop and just gives a WMP could not play the file error.
WG