Forum

Thread tagged as: Question, Problem, Blog

Youtube field not showing creating blogpost

Hello,

I have set up a blog in which the editor can choose between a post with an image and a post with a video. I have created a post_video.html template, including the following region:

<perch:content id="video" type="youtube" width="743" height="387" label="YouTube URL" output="embed" autoplay="1" modestbranding="1" />

I've also added the API key to my config file.

Now when I'm creating a post, choose post_video as post type, I can't see a "YouTube URL" field.

What could be wrong?

  • Mike
Mike Hendriks

Mike Hendriks 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

If this is in a blog template, you need to use a perch:blog tag.

Wow, that was stupid of me. Working fine now.

Thanks alot Drew!