This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Jumbotron Video — stop the loop

  • Creator
    Topic
  • #23042
    meg phillips
    Member

    Wondering if you can point me to the file/location for the jumbotron video background code? I’d like to play my video only once and stop at the last frame…or go to the fall back image after one loop. Any tips or suggestions you have on how to achieve this would be great.

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #23044
    Jason Bobich
    Keymaster

    Hi Meg,

    Checkout the function themeblvd_get_bg_video() found in /framework/includes/media.php. This just outputs a very basic HTML5 video tag.

    You’ll see at the top you’ve got an array of basic arguments you can filter with “themeblvd_video_args” from your child theme. And if you’re looking to do something more complex with the HTML5 video markup output, you’d use the filter “themeblvd_bg_video” at the bottom, which is applied to the entire output of the video.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.