Support » Plugin: Related YouTube Videos » Using a Direct Youtube Link

  • Resolved feedx

    (@feedx)


    I might be missing something but can I use your shortcode to link directly to a specific youtube video. I understand that the plugin is designed to search youtube for related matching youtube videos, but I would also like to be able to use your shortcode to call a specific youtube video i.e something like [relatedYouTubeVideos video_id=”1sYhwTYDn9E” lang=”en” class=”left horizontal bg-black center” previewMode=”true”]

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chris

    (@zenation)

    Hi,
    WordPress has its own offical shortcode for that:
    https://en.support.wordpress.com/videos/youtube/
    But it does not provide a preview mode, for example.

    Even though this plugin is not specifically made for it you might use the video ID as keyword and limit the results to 1.

    [relatedYouTubeVideos relation="keywords" terms="1sYhwTYDn9E" max="1" lang="en" class="left horizontal bg-black center" previewMode="true"]

    Chris, that works like a charm. Thanks also for being so quick with the reply. It’s very appreciated.

    Have a nice day.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using a Direct Youtube Link’ is closed to new replies.