Okay
  Public Ticket #833537
Hero video embed not working
Closed

Comments

  • Sally started the conversation

    Hey ClaPat Team,

    I've scoured your articles and tickets, but I'm still having trouble :( 

    I'm trying to add a video (I've tried youtube and vimeo) to the hero section on a page (not the home page). I've read on the tickets that I must use a youtube video for the hero video and the embed code, not just a link. Here's the code I've added in the 'Video URL The url of the video' box - that displays in the hero section. (I had to take out a < and a > - so that the video wouldn't embed here:

    iframe width="560" height="315" src="https://www.youtube.com/embed/oM3aZ2wYSFA" frameborder="0" allowfullscreen>

    I get the classic play button but no video :( Please help, I've tried youtube/vimeo/embed code/links to url directly and nothing is working :(

    Thanks for your help!

    Sally

  •  1,800
    Support replied

    Hello Sally,

    Can you provide wp admin username and password? An the page name you are trying to set the video hero. We want to make sure nothing else is preventing the video being displayed first.

    Thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •   Sally replied privately
  •  1,800
    Support replied

    Hello Sally,

    there is indeed something which hides the video.

    We added the correct link here

    http://theomclinic.co.nz/video-test/

    because in

    http://theomclinic.co.nz/yoga/

    we were not able update the video url because the embedded code you entered contains html characters which affects the text field (it's not suppose to hold html). You may need to recreate the page.

    So we are still working on the ticket.

    Thnaks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •  1,800
    Support replied

    Hi Sally, although now the video url is correct, some modifications in style css hides the video, line 772 to be more exact

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Sally replied

    Hi Team,

    Awesome job on all your work so far! 

    I've commented that style out and the video now plays on click. That's amazing, thank you so much!

    I'm just checking, is there a way to make the video autoplay?

    Sally :)

  •  1,800
    Support replied

    Only by modifying /js/scripts.js

    in function VideoHeader() (line 1108)

    comment or remove this bit

    setTimeout(function() {
     $('#bgndVideo').pauseYTP();
    }, 1000);

    and instead 

    $('#playmovie').fadeOut();

    which will hide the cover image

    I think that's all needs to be done.

    Thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy