Support » Plugin: Pods - Custom Content Types and Fields » Embeding a Youtube video using a template

  • Resolved biff

    (@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 4 replies - 1 through 4 (of 4 total)
  • biff

    (@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 Author 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.

    biffwonderland

    (@biffwonderland)

    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 Author Jim True

    (@jimtrue)

    Okeydoke. Let us know what you come up with.

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