[Support request] Video on the home

Home Forums Support [Support request] Video on the home

Home Forums Support Video on the home

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #253820
    Miguel Angel

    Hello Tom, I have put in GP Hooks (After Header)
    This code:

    <?php if ( is_front_page() ) {
    <video id=”bgVideoHome” class=”bgVideoHome” autoplay loop >
    <source src=”/wp-content/uploads/2016/12/video-eu.webm.webm” type=”video/webm” >
    </video>
    }
    ?>

    The idea is to insert a video that only appears in the home, but I have the problem that nothing is visible, you can help me, please.

    Thanks and regards,

    #253899
    Tom
    Lead Developer
    Lead Developer

    It would need to be like this:

    <?php if ( is_front_page() ) { ?>
        Your video in here
    <?php } ?>
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.