• Resolved iabm

    (@iabm)


    Hey Ben (and everyone else),

    Would it be possible to use videos as headers/featured images? I’m not sure if this would be a good idea or not or if it would slow a website down? I’m thinking, short videos that would loop automatically and the text over the top? As it is now but with a video…

    Thanks,
    Ben

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Ben Sibley

    (@bensibley)

    This option is currently available in Tracks Pro as “Featured Videos.”

    Since the video will loop, a good alternative may be to use a GIF. Or, the video can be placed into the post content right below the title.

    Thread Starter iabm

    (@iabm)

    Thanks, Ben!

    Payday treats to me will be PRO this month!

    I’ve looked on the website and it shows a youtube video in the header. Is it possible that the video doesn’t have a play button and just does it automatically and loops? I’ve thought about a GIF but 1) I have no idea how to make them and 2) the video is quite long and I think GIFs are usually a few seconds?

    Again, thanks Ben! ??
    Ben

    Theme Author Ben Sibley

    (@bensibley)

    Awesome ??

    A GIF probably isn’t the best choice then. They can be very hard on performance if they’re longer than a few seconds.

    Youtube has a list of parameters you can use to customize an embed and this includes both autoplay and looping. Here’s an example of a normal Youtube embed code copied from the site:

    <iframe width="560" height="315" src="https://www.youtube.com/embed/NLZRYQMLDW4?ecver=1" frameborder="0" allowfullscreen></iframe>

    And here’s how you can update the URL to add both autoplay and looping:

    <iframe width="560" height="315" src="https://www.youtube.com/embed/NLZRYQMLDW4?ecver=1&autoplay=1&loop=1" frameborder="0" allowfullscreen></iframe>

    Tracks Pro has autoplay as a checkbox you can turn on for any Featured Video. I haven’t added looping yet, but will include it in the next update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Video in place of feature image’ is closed to new replies.