I have created a web site of commercials that POSTs a 1 at the end of the url (?1) when a specific commercial is chosen.
On the page of the commercial I want it to check the integer of the substring in the url and if it is a one to load the higher resolution video and if not then to load the lower resolution. Here is my code:
//I PUT THIS IS AN OBJECT TAG FOR WINDOWS MEDIA PLAYER DIRECT X
<PARAM NAME = "FileName" VALUE = "Movies/OpenIsraelHigh.wmv">
<PARAM NAME= "FileName" VALUE = "Movies/OpenIsrael.wmv">
I also tried:
var FileName = null;
FileName = "Movies/OpenIsraelHigh.wmv"
FileName = "Movies/OpenIsrael.wmv"
tag = value
ok I have two pages
the first is Commercials.html ( http://www.yarivhorowitz.com/Commercials.htm )
and the second is CommercialNumberOne.html