homepage Welcome to WebmasterWorld Guest from 54.243.13.30
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
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
jwstockwell




msg:4222511
 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?

TIA

 

tedster




msg:4222557
 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.
}
</SCRIPT>

[social.msdn.microsoft.com...]

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved