nk-o / jarallax

Parallax scrolling for modern browsers
https://jarallax.nkdev.info
MIT License
1.41k stars 214 forks source link

video on mozilla #37

Open robbisy opened 7 years ago

robbisy commented 7 years ago

I'm using mozilla 52.0.2 and my background video never start it stays as background image. I don't have this problem on chrome or ie but I get error on chrome

error

code use:

<section class="video">
    <div class="jarallax" data-jarallax-video="https://www.youtube.com/watch?v=5qDX811p86E"></div>
    <div class="jarallax" data-jarallax='{"type": "scroll-opacity"}' data-jarallax-video="https://vimeo.com/channels/staffpicks/151926492"></div>
    <div class="jarallax" data-jarallax-video="https://vimeo.com/110138539"></div>
    <div class="jarallax" data-jarallax-video="https://vimeo.com/channels/staffpicks/151926492"></div>
</section>
nk-o commented 7 years ago

You need to run it on your server. Vimeo for some reason is not working when you run HTML locally.

I know about Vimeo API errors in console, but I don't have a time to research it and trying to fix properly. Video is working ok also with console errors, it is not a big problem.