Monday 15 March 2010

javascript - Add autoplay to embeded video -



javascript - Add autoplay to embeded video -

i embedding video on webpage using swfobject in javascript. video play automatically on page load. know many video sites have codes adding '&autoplay=true' embed link. however, provider of video not allow autoplay in manner (verified emailing them directly).

my question is, there way autoplay through javascript? i've tried adding flashvars swfobject, trying simulate mouse click on object through .click() none of seems working. project harmed if can't jimmy way create videos play on page load. help appreciated.

is flv file or swf? easiest inquire provider how auto play.

you can seek using swfobject's callback: https://code.google.com/p/swfobject/wiki/api

... , trying play();

javascript video swfobject

No comments:

Post a Comment