Custom Fields to be used while adding Videos

Videos can be displayed at various locations in your theme, for example, on home page, category page etc. Themes Desk themes auto generate thumbnails for these videos if you enter custom field value. You need to put the id of video in custom field youtube (See image above). As a result, an automated image will be generated.

The post will show the video using iframe embed code inserted inside the post section and thumbnail will be generated using the id passed through custom field.

Example -

1) In the Content Section add the embed iframe code to be displayed inside the post using desired width and height

<iframe width=”640″ height=”360″ src=”http://www.youtube.com/embed/uEDWASvUB3s” frameborder=”0″ allowfullscreen></iframe>

2) Add Custom field by name youtube and enter value uEDWASvUB3s

3) Save

 

If the theme has a Lightbox inbuilt means on click, the window popups and shows the complete video, then you need to insert another custom field by name of youtubelink. The value to be passed is the complete video link which will be shown in the popup lightbox. See Image above.

Example -

Custom Field name -  youtubelink

Value to be inserted for above example (complete link as on youtube) – http://www.youtube.com/watch?v=uEDWASvUB3s

Share This Post:

theadmin

Help us spread the word about our Themes and win exciting prizes! Become our Fan on Facebook, Follow us on Twitter and Win a Chance to Win Themes Desk Themes. Tweet about our themes / like our themes on Facebook (Use Facebook / Google+1 Like Button on Theme Page) or provide correct answer to our contest questions.