homepage Welcome to WebmasterWorld Guest from 54.226.136.179
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Play Video On Page Focus
stcrim

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3235878 posted 3:32 pm on Jan 29, 2007 (gmt 0)

Is it possible to have an embedded video on a pop-under where the video only plays when the pop-under is viewed or brought to focus?

Any thoughts on how to do this?

Steve

 

Little_G

5+ Year Member



 
Msg#: 3235878 posted 4:35 pm on Jan 29, 2007 (gmt 0)

Hi,

window events focus [developer.mozilla.org] and blur [developer.mozilla.org] will be needed to tell when the window receives and looses focus. Then you need to know what script commands your video player can receive.

Andrew

stcrim

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3235878 posted 2:11 pm on Jan 30, 2007 (gmt 0)

Thank you! I guess I was hoping to find or be directed to a bit more "how to" information.

Steve

Little_G

5+ Year Member



 
Msg#: 3235878 posted 3:28 pm on Jan 30, 2007 (gmt 0)

Hi,

What plugin are you using to display your videos?

Andrew

stcrim

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3235878 posted 3:55 pm on Jan 30, 2007 (gmt 0)

Andrew,

May I email you an example - I don't think we're allowed to post URLs here.

Steve

Little_G

5+ Year Member



 
Msg#: 3235878 posted 5:19 pm on Jan 30, 2007 (gmt 0)

Of course.

Andrew

stcrim

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3235878 posted 6:23 pm on Jan 30, 2007 (gmt 0)

Information just sent via Webmaster World StickyMail system.

Steve

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
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