Support » Plugin: Embed Plus for YouTube - Gallery, Channel, Playlist, Live Stream » Suggestion: Embed YouTube videos by keywords

  • Resolved wordmax

    (@wordmax)


    Would be pretty cool if there were an option for YouTube search keywords, so that the embedded video would show videos associated with the keywords.

    We are using a custom function to pull the post title and use that as a keyword search term for embedded YouTube videos. Would be nice if a YouTube plugin would let users specify YouTube videos by either keywords or the post title as keyword.

    Example code:

    // create [custom_video] youtube shortcode
    add_shortcode( 'custom_video', 'execute_custom_video_shortcode' );
    function execute_custom_video_shortcode() {
      return do_shortcode('<iframe src="https://www.youtube.com/embed?listType=search&list=' . get_the_title() . '" allowfullscreen style="width:100%;height:100%;"></iframe>
    ');
    }

    Any ideas?

    Thanks!

    • This topic was modified 2 months, 2 weeks ago by wordmax.
    • This topic was modified 2 months, 2 weeks ago by wordmax.

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

Viewing 1 replies (of 1 total)
  • Plugin Author embedplus

    (@embedplus)

    Hi,

    Thanks for the feature suggestion. Right now, there are some high priority features that are in front of our queue. We’ll consider yours in the future however.

    -EmbedPlus Team

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.