views:

22

answers:

1

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?

+1  A: 

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.

David Dorward