diff -r 91023037f841 -r 3210bf928a11 src/js/html-player.js --- a/src/js/html-player.js Wed May 15 16:22:37 2013 +0200 +++ b/src/js/html-player.js Thu May 16 13:34:02 2013 +0200 @@ -13,7 +13,9 @@ videoEl.attr({ width : opts.width || undefined, - height : opts.height || undefined + height : opts.height || undefined, + controls : opts.controls || undefined, + autoplay : opts.autostart || opts.autoplay || undefined }); if(typeof videoURL === "string"){ @@ -31,10 +33,6 @@ jqselector.html(videoEl); - if (opts.autostart || opts.autoplay) { - videoEl.attr("autoplay", true); - } - var mediaEl = videoEl[0]; // Binding HTML video functions to media events