I’d like to create a front page video feature that embeds a vimeo video of the users choosing. I’d like the user to only have to input the video code. For instance, for http://vimeo.com/24474320 – I’d like them only to have to input “24474320”.

Should I use custom post types for this? If so, how do I set this up so that it limits the field size? I’m just getting started, and I’m relatively new at wordpress, so I don’t need to get into specific code necessarily – it’s more of a strategic question. How would you tackle this?

Thanks,

Tim

———————–EDIT (Monday, June 6)

It would be awesome if all the user (backend) saw was this:

FRONT PAGE VIDEO FEATURE

Vimeo URL: [____________________________]

[Save] [Cancel]

Then I would call that video into the front page feature.

2 Answers
2

With oEmbed support in both WordPress and on Vimeo’s end, why not just use the </code> shortcode?</p>

<pre><code>http://vimeo.com/24474320

This is easy to explain, and users are generally pretty comfortable with just copy-and-pasting a URL directly, rather than having to extract just the ID out of it.

You can also turn on the option to just use the URL on a line by itself in a post, without the shortcode. Personally, I prefer the explicit shortcode, because it always works, and there’s less chance of other plugins interfering.

Leave a Reply

Your email address will not be published. Required fields are marked *