ria
ria

Reputation: 811

Access EMBED/Object tag using javascript

Can i use javascript to check whether the video is running or stopped? I have to loop the video but putting loop='true' in the embed doesnt work out well. Is there a javascript method to check if the video is running or stopped?

Upvotes: 0

Views: 834

Answers (1)

Quentin
Quentin

Reputation: 943562

It depends on what methods the particular object you are using exposes to the JavaScript.

You've tagged this as "flash" - even then it depends on the particular flash object you have, which has to explicitly expose things via the External Interface.

Upvotes: 1

Related Questions