Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.4.0 autoplay and other options for direct urls #33

Open
Zeaphon opened this issue Jun 16, 2019 · 1 comment
Open

2.4.0 autoplay and other options for direct urls #33

Zeaphon opened this issue Jun 16, 2019 · 1 comment
Labels

Comments

@Zeaphon
Copy link

Zeaphon commented Jun 16, 2019

Hi there,

I'm currently experimenting with your plugin for direct urls. So far everything is working, although I have a few questions regarding further options outside of vimeo and youtube.

  • Can I disable autoplay for direct url setups like this (an example):
    <button class="video-button js-video-button" data-channel="video" data-video-url="https://www.dropbox.com/s/qg6auh0krxpl1b2/pexels3.mp4?raw=1"><span class="video-modal-link">Video</span></button>

I already tried something like this, but with no luck:

<script>
      		$(".js-video-button").modalVideo({
            autoplay:false
      			youtube:{
      				controls:0,
      				nocookie: true
      			}
      		});
      	</script>
  • Are there further options to display thumbnails or a play button once autplay is disabled?

Maybe someone can point me in the right direction, because other than the options I am missing the plugin is really great so far.

Thanks!

@uidev1116
Copy link

@Zeaphon
Sorry. There is no such option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants