HTML5-Background-Video icon indicating copy to clipboard operation
HTML5-Background-Video copied to clipboard

Turn off loop

Open python-force opened this issue 11 years ago • 0 comments

Hello,

I would like to turn off LOOP function not to play background video over & over. I tried in the javascript to do this:

  1. html += '<video class="hidden-xs hidden-sm" id="'+plugin.settings.videoid+'" preload="auto" autoplay="autoplay"'; - removing loop
  2. html += '<video class="hidden-xs hidden-sm" id="'+plugin.settings.videoid+'" preload="auto" autoplay="autoplay" loop="false"';
    1. html += '<video class="hidden-xs hidden-sm" id="'+plugin.settings.videoid+'" preload="auto" autoplay="autoplay" loop="false" loop=""';

None works, if I do:

Hardcode to HTML without attribute loop it works but I am missing all js features.

so what should I do in the js that it would play only once?

Thanks

python-force avatar May 30 '14 06:05 python-force