Skip to content

Turn off loop #16

@python-force

Description

@python-force

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions