Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript callbacks for embedded videos

Status
Not open for further replies.

homework2004

Technical User
Nov 12, 2010
2
GB
hi,

i am trying to get the timing from divx hosting websites. Please have a look at the following:


you can see that the timing is easy to get when the file is hosted on your own server. however i would like to get the same timing from video embeds. for example:

<iframe style='overflow: hidden; border: 0; width: 720px; height: 362px' src=' scrolling='no'></iframe>

do you think this is possible?

i look forward to your reply,

james
 
jQuery's frameReady plugin frameReady.js

For instnace:
Code:
$.frameReady( function() {
    $("div").css("background", "red");
  },
  "framename"
);

Changes the divs in the iframe red.

[plug=shameless]
[/plug]
 
hi jstreich,

many thanks for your message. can you please clarify how i would use this code with embeds such as:

<iframe style='overflow: hidden; border: 0; width: 720px; height: 362px' src=' scrolling='no'></iframe>

...as i cannot seem to get it working correctly.

many thanks,

james
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top