-
AuthorPosts
-
May 18, 2015 at 3:21 pm #276333
Hello,
I am attempting to stop the background video in my “Above Masthead” slider from looping. I would like the video to just stop on the last frame of the video. I have attempted to just use “?loop=0” in the url, however that is ineffective. I think that something has to be be changed within the javascript, however I am not confident enough to do that without some guidance.
The website in question is:
dev.unityashland.com
Running WP: 4.2.2 Theme X 3.2.2Thank you such much for the support!
I love and appreciate this theme so much!Be well
**On a side note, I have not connected our Theme X API code, as I am developing this new website at the URL dev.unityashland.com If I connect the API, will it cause issues once I move the website to the live site of just http://www.unityashland.com?**
May 18, 2015 at 8:53 pm #276508Hi There,
Thanks for writing in!
Instead of using a background video, you can try adding a video layer instead.
That way you can disable the video loop.http://screencast.com/t/CROyY2DV
Hope that helps. Cheers!
July 30, 2015 at 4:27 pm #345717But then don’t you lose the scroll bottom anchor? And then you have to deal with the pause button being in the middle of the video. Have you found another way to stop the video from looping while using the background video?
Thanks!
July 30, 2015 at 9:25 pm #345912Hi there,
Thanks for updating the thread! You can add this under Custom > JavaScript in the Customizer.
jQuery (function($) { $(document).ready( function() {$('.x-section video').prop('loop', false); } ); } );
Hope this helps – thanks!
November 19, 2015 at 1:37 pm #671838I need help stopping the looping on my video as well with additional help on hearing the sound from my video file. However with that said, I have no idea how to do the jQuery stuff you mentioned in this post. I am a front end designer and have zero comfort with the above coding.
November 19, 2015 at 6:05 pm #672133Hello There,
Please login to your WordPress Admin. On the left part you can see Admin Menu. Click Appearance >Customize, Click Custom Tab and on the Javascript Textarea add the code below:
jQuery (function($) { $(document).ready( function() {$('video').prop('loop', false); } ); } );
Hope this helps.
November 20, 2015 at 2:45 am #672543Hi and sorry for dropping in;
I ran into the exact same problem. While your first suggestion didn’t work for me, the second one actually does kill the loop. But it also puts the vid back to its first frame. I would need it to stay on the very last one instead. Maybe theres a way to check the time and make it pause/stop at 25 seconds?Regards, Beni
November 20, 2015 at 2:59 am #672563Hi Beni,
Kindly create a new topic and provide us with your wordpress admin login on a separate private reply so we can take a closer look on your set-up.
Thanks
November 20, 2015 at 3:10 am #672570This reply has been marked as private.November 20, 2015 at 3:25 am #672586Hi Beni,
I am another staff checking this thread. The only thing we can do is to disable the loop using this code:
jQuery (function($) { $(document).ready( function() {$('video').prop('loop', false); } ); } );
Based on the information you have shared, you want to stop the video at a certain time or at least freeze the frame at a certain time. As this is all custom development, regretfully we won’t be able to assist further. Custom development is outside the scope of our support. We’re happy to provide advice and get you started in the right direction, but you would still be responsible for the implementation.
Perhaps these links might you:
stackoverflow.com/questions/19355952/make-html5-video-stop-at-indicated-time
gingertech.net/2009/08/19/jumping-to-time-offsets-in-videos/Thank you for your understanding.
November 20, 2015 at 3:36 am #672597I understand. Thanks for getting me started, i’ll see what i can do. There should also be a update for the rev.Slider 5.0.8 to fix this problem. Maybe it will come to xtheme soon…
Regards
November 20, 2015 at 4:18 am #672628You’re welcome! 🙂
Revolution Slider bundled version 5.0.9 is available for update. Please see our Changelog. You may refer to our update guide.
Cheers!
-
AuthorPosts