Archived

This topic is now archived and is closed to further replies.

  • 0

Youtube shortcode not working in features slider ?


Question

Posted · Report post

  • Whilst PL responsive video shortcode works fine in either features (added in "Feature Media Feature HTML") or posts for the Vimeo type,

     

  • the Youtube type shortcode (e.g. [pl_video type="youtube" id="hJaNH56Vpg-A"]) displays an empty Youtube viewer (i.e. no video available) in my slider.

 

Do I miss something here or is it a bug ?

Share this post


Link to post
Share on other sites

2 answers to this question

Posted · Report post

Hi Danny,
 

Ooooops. My bad.

 

The correct ID was JaNH56Vpg-A and not hJaNH56Vpg-A.

 

I can't figure out why this "h" prefix appears sometimes when working on this (I made many tests though).

 

Hence the shortcode [pl_video type="youtube" id="JaNH56Vpg-A"] works everywhere now : posts & features.

 

Sorry for that.

 

Best regards.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

 

The reason for this is, your ID for your YouTube video doesn't work, try adding it to a post, all that is displays is the YouTube player and no video. I recommend you copy the correct part from the YouTube URL, see our documentation for more information, scroll down until you see the Responsive Videos section.

 

http://support.pagelines.me/docs/miscellaneous/shortcodes/

Share this post


Link to post
Share on other sites