Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

use WMV in FF and detect PlayStateChange

12:11 am on Oct 27, 2010 (gmt 0)

New User

5+ Year Member

joined:Oct 27, 2010
votes: 0

Hello all

I need to detect PlayStateChange when a user is browsing with FF. In IE it's no problem.

The purpose is to run a WMV once and when it is done, detect that it is finished and let the user proceed (this is a part of a survey, they've already agreed to take the survey, so please no lectures about making a user do something ;)

I have probably looked at and tried 5-10 snippets(all I can find) - can't get any to work (including an old one on microsoft.com).

Has anyone done this successfully?

2:42 am on Oct 27, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
votes: 0

Here's what my research turned up:

For firefox, I have found out a ugly way, it will work just only remove the codes "for="MediaPlayer".

The codes as following.

//for firefox, for PlayStateChange
<SCRIPT event="PlayStateChange(NewState)">
function OnDSPlayStateChangeEvt(NewState)
//add your code here.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members