homepage Welcome to WebmasterWorld Guest from 54.197.19.35
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
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




msg:3235880
 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




msg:3235962
 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




msg:3237159
 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




msg:3237231
 3:28 pm on Jan 30, 2007 (gmt 0)

Hi,

What plugin are you using to display your videos?

Andrew

stcrim




msg:3237259
 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




msg:3237341
 5:19 pm on Jan 30, 2007 (gmt 0)

Of course.

Andrew

stcrim




msg:3237422
 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