I created a color section with a video as the background.
I edited the section.php file so that my video doesn’t loop anymore. However it defaults back to the beginning of the movie instead of just stopping on the last frame.
Is there a way to simply have the movie stop?
Hi!
Could you detail what did you edit in section.php? so i can try to replicate this on my install.
Best regards,
Josue
simply changed loop to false
you see that the video would stop on the logo… but instead it flops back to the beginning which doesn’t look good.
Hi,
Can you please create me an administrator account? post it here as a private reply.
Regards,
Josue
Done:
http://www.crestedbuttecomputers.com/dev/gravitygroms/
Refresh a few times to see the change. I modified js/avia.js:447 and js/shortcodes.js:4105
Best regards,
Josue
Awesome – thanks!
You are welcome, always glad to help :)
Regards,
Josue
I’m wondering if the changes you made will affect all new videos that I add?
Yes, it will affect all self-hosted videos on the site that are not looped.
Cheers!
Josue
Can you tell me what changes you made – since updating to the new version your changes are lost.
Hey!
You just need to add this line:
autoRewind: false,
Around line 429-430 in js/avia.js
Best regards,
Josue
You guys are the best.