Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Videopress doesn't work for me when I drag multiple pages into a template e.g. pulling them in by their path name...

$page = get_page_by_path('Showreels/Excerpts');

Does anyone know how I can paste a videopress link directly into the php since the shortcode doesn't seem to work?

share|improve this question
    
What do you mean 'not working'? Are you calling the shortcode manually, or just displaying the content? Post a little more code that explains what you're actually doing with $page. –  TheDeadMedic Jun 26 '11 at 5:22
add comment

1 Answer

up vote 0 down vote accepted

I've got it... for anyone else having this problem...

  1. Go to where your media is kept on your WordPress.com account i.e. Media > Library

  2. Go to edit the video and make sure that 'Display share menu and allow viewers to embed or download this video' - this is so that you can click the 'share' menu on the embedded video on an actual page, grab the embed link and paste it into your html code

  3. Go back to your media page and disable the share menu again if you want to protect your videos.

share|improve this answer
    
Make sure to accept your answer if it was correct! –  mrwweb May 16 '12 at 4:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.