Get 12 Professional Premium Wordpress Themes worth $79! click here
NewYear Special! Festive Sale! Enjoy 20% OFF Use Code: "NY22Festiv20"

owl carousel and latest trailer section

HOME Forums Support owl carousel and latest trailer section

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4497
    marco s
    Participant

    Hi, I bought Film Maker Pro and I was wondering if I can get to autoplay one of the videos on the latest trailer section

    I’ve seen from the code that it’s based on the OWL CAROUSEL framework https://owlcarousel2.github.io/OwlCarousel2/demos/autoplay.html and I noticed that it has an autoplay function. Where I have to edit the code to get the video to autoplay?

    I found this code in the latest trailer file:

    <?php
    $latest_trailer_section = get_theme_mod( 'film_maker_pro_radio_latest_trailer_enable' );
    if ( 'Disable' == $latest_trailer_section ) {
      return;
    }
    if( get_theme_mod('film_maker_pro_latest_trailer_bgcolor') ) {
      $latest_trailer_backg = 'background:'.esc_attr(get_theme_mod('film_maker_pro_latest_trailer_bgcolor')).';';
    }elseif( get_theme_mod('film_maker_pro_latest_trailer_bgimage') ){
      $latest_trailer_backg = 'background-image:url(\''.esc_url(get_theme_mod('film_maker_pro_latest_trailer_bgimage')).'\')';
    }else{
      $latest_trailer_backg = '';
    }
    $latest_trailer_number = get_theme_mod('film_maker_pro_latest_trailer_number');
    ?>
    <section id="latest-trailer" class="text-center" style="<?php echo esc_attr($latest_trailer_backg); ?>">
      <div class="container">
        <h2><?php echo esc_html(get_theme_mod('film_maker_pro_latest_trailer_heading')); ?></h2>
        <p class="sub-heading"><?php echo esc_html(get_theme_mod('film_maker_pro_latest_trailer_sub_heading')); ?></p>
        <div class="owl-carousel owl-theme">
          <?php for($i=1; $i<=$latest_trailer_number; $i++ ) {?>
            <div class="">
              <div class="item-video video-<?php echo $i ?>" data-merge="2"><a>"></a></div>
              <p><?php echo esc_html(get_theme_mod('film_maker_pro_our_latest_trailer_text_'.$i)); ?></p>
              <div class="latest-trailer-img">
                <img />" alt="" class="video-img">
              </div>
    
            </div>
          <?php }?>
        </div>
      </div>
    </section>

    Does it accept the iframes from youtube?

    • This topic was modified 2 weeks, 3 days ago by marco s.
    • This topic was modified 2 weeks, 3 days ago by marco s.
    • This topic was modified 2 weeks, 3 days ago by marco s.
    #4505
    support
    Participant

    Hi,

    Thanks for contacting us.

    The link which you have saw is for slider autoplay, not for video autoplay.

    Many Thanks

    #4506
    marco s
    Participant

    Ok, got it, it’s the autoplay for the slider where I put the videos

    And does the section “latest trailer” accept the iframe format or the embed link format?
    like: https://www.youtube.com/embed/8DIbDvuffJY?autoplay=1 I tried and it doesn’t work

    Do you have any suggestion how to make one video autoplaying?

    #4513
    support
    Participant

    Hi,

    To review your issue we have mailed you. Please check your email and reply to it.

    Many Thanks

    #4578
    marco s
    Participant

    Hi,in the contact page https://www.vesuviusfilmfestival.it/contatti there’s a way to set the fields email and phone as url?

    i tried to put a href ecc in the field but doesn’t work

    how can i do it?

    #4582
    support
    Participant

    Hi,

    We have mailed you regarding the above query. Please check your email and reply to it.

    Many Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Translate ยป