• Resolved n529834

    (@n529834)


    Hello,
    I am using this plugin and it working fantastic. However I need to be able to put in a start time in video url. Below is a link directly to Youtube, the second one is same video in this plugin. The first url is what is in the video plugin url. I have a start time of 600 seconds (10 minutes). The one in plugin ignores the start time. Any ideas how I can make this work?

    https://vhbc.net/wp/?aiovg_videos=26-apr-2020-am-the-instruction-of-grace

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor wpvideogallery

    (@wpvideogallery)

    Our next version will have this solved. As an immediate solution, kindly follow the solution below,

    1. Open /wp-content/plugins/all-in-one-video-gallery/public/templates/player-iframe.php

    2. Locate the line below and simply delete it,
    $src = 'https://www.youtube.com/embed/' . aiovg_get_youtube_id_from_url( $src ) . '?showinfo=0&rel=0&iv_load_policy=3';

    3. Save the changes and try now.

    Hope this solved your issue!

    Thread Starter n529834

    (@n529834)

    Hi I removed the line in the php file above. Just to make sure I was in the right spot, it was in the action of the case statement. So for youtube there is no action.

    But anyways I got an error.

     if ( $is_src_found ) {
                switch ( $source ) {
                    case 'youtube':
    
                        break;
                    case 'vimeo':
                        $vimeo = aiovg_get_vimeo_oembed_data( $src );
                        $src = 'https://player.vimeo.com/video/' . $vimeo['video_id$
                        break;
    

    I am going to leave the page as is
    https://vhbc.net/wp/?aiovg_videos=26-apr-2020-am-the-instruction-of-grace

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘You Tube Start Time’ is closed to new replies.