Anthony said:
Is there a script out there that will prevent embedded Windows Media
Player that autoplays a video from replaying when a person comes back
to the home page during the same session? Maybe a cookie that will
prevent the video from autoplaying again for hour.
Yes, besides cookies I don't see any immediate possibilities.
Note that Firefox requires the Windows Media Player Firefox Plugin:
http://port25.technet.com/pages/windows-media-player-firefox-plugin-download..aspx
Other non-MSIE browsers might also need an application to be
installed.
How to set and read cookies:
http://www.w3schools.com/js/js_cookies.asp
HTML code to play the movie inline (I would recommend 6.4 for maximum
backwards compatibility):
http://msdn2.microsoft.com/en-us/library/ms983653.aspx
Program logic:
Check if cookie exist.
* If yes, load movie with parameters
<EMBED ... AUTOSTART="0">
<PARAM NAME="autoStart" VALUE="false">
* If no, load movie with
<EMBED ... AUTOSTART="1">
<PARAM NAME="autoStart" VALUE="true">
Then set the cookie
Hope this helps,