homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Browsers / Firefox Browser Usage and Support
Forum Library, Charter, Moderators: incrediBILL

Firefox Browser Usage and Support Forum

use WMV in FF and detect PlayStateChange

Msg#: 4222509 posted 12:11 am on Oct 27, 2010 (gmt 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?




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

Msg#: 4222509 posted 2:42 am on Oct 27, 2010 (gmt 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.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Browsers / Firefox Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved