Shape 5

Joomla Templates => Incline - Club => : chriddo December 22, 2014, 02:48:17 AM



: Is it possible to NOT loop the movie?
: chriddo December 22, 2014, 02:48:17 AM
I would like the movie to run one time (no looping) and then end up showing the background image?

Possible to achieve?


: Re: Is it possible to NOT loop the movie?
: mikek December 22, 2014, 07:37:19 AM
Hello,

You can have it not loop by removing the loop call in the template's index.php file under:

<video id="s5_custom1_video" class="s5_media_element" style="display:none" autoplay="autoplay" loop="loop" src="<?php echo $s5_custom1_video_url; ?>"></video>

However, it won't show the background image after it's done playing, that would require a bit of custom programming. By default it would just show the first frame of the video.


: Re: Is it possible to NOT loop the movie?
: chriddo December 22, 2014, 07:45:16 AM
Thank you Mike!


: Re: Is it possible to NOT loop the movie?
: mikenicoll December 23, 2014, 09:05:53 PM
Let us know if you have any further questions!