controls
i see the autoplay is not working.<audio autoplay='true' src='music/lathe_di_chadar.mp3' type='audio/mp3' loop></audio>
AudioContext
API and taking the source from any ArrayBuffer
(ie: from a XMLHttpRequest
or a File
)autoplay
behavior to fit their wishes and needs either through the browser's usual options or through the more-advanced about:config
page (autoplay
behavior is set by Firefox's media.autoplay.enabled
and media.block-autoplay-until-in-foreground
preferences). autoplay
is a bad UX idea no matter how you do it.Flash
and FLVPlayback
, but I would prefer to steer clear of Flash
in the HTML5 sphere. I'm thinking I could use javascript's setTimeout
to create a smooth loop, but what should I use to embed the video itself? Is there something out there that will stream the video the way FLVPlayback
would?videoEnd
event and call the play()
method when it fires.autoplay
.loop='true'
and autoplay='autoplay'
are deprecatedmuted
attribute too.loop
attribute in video element (mentioned in the first answer):ended
media event: