• Resolved Stu Carpenter

    (@greatbig47)


    I’d really like to pull in video content from YouTube by embedding it like this:

    [embedyt] https://www.youtube.com/embed?listType=playlist&list=<strong>{@vlogger_youtube_id}</strong>&layout=gallery[/embedyt]

    * I set up a Pod called media artist
    * I create a field vlogger_youtube_id

    I create a Template that calls up {@vlogger_youtube_id}

    I think my problem is the way I’m managing the fields. What’s the best field type/options for doing this? Thanks!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Stu Carpenter

    (@greatbig47)

    The error it sets off says it’s an API issue…

    Sorry, there was a YouTube API error: The playlist identified with the requests playlistId parameter cannot be found. Please make sure you performed the steps in this video to create and save a proper server API key.

    but it works when I just use straight code, ??

    Plugin Contributor Jim True

    (@jimtrue)

    I’ve never heard of the [embedyt] shortcode; what plugin is that?

    If you’re using a plain text field for the vlogger_youtube_id, I see nothing wrong with your shortcode output, but you haven’t provided how you’re trying to display this shortcode. Are you calling a shortcode against a Pods Template? Some other method?

    If you’re just typing that shortcode directly in a block, it’s not going to work because magic tags only work in Pods Templates.

    The YouTube plugin is this…
    https://www.embedplus.com/

    Though I bet I could use PODS to do the same thing. I’ll try moving things over to the template to see if that gets it to work.

    Plugin Contributor Jim True

    (@jimtrue)

    Okeydoke. Let us know what you come up with.

    I ended up dropping the entire code per vlogger, and was unable to place it dynamically.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Embeding a Youtube video using a template’ is closed to new replies.