Youtube shortcode
[resolved] Can't make You Tube Shortcode work in WordPress 3.5 (2 posts)

  1. PrintMagic
    Posted 2 years ago #

    I am having the same problem as one shown above. When I installed YouTube Shortcode in a new wordPress 3.5 website platform the Youtube video clip displays outside the div tag container I created to hold it. It works fine in the test site in WordPress 3.4.2. Not sure what to do to make it work. The deployed live site is at http://www.sportafence.com if you want to see what I am talking about. The following is the code that wraps around the YouTube Shortcode:

    <div style="width: 100%; height: 100%; margin: 0px auto;">
    <div style="width: 920px; height: 476px; background-image: url('http://sportafence.com/wp-content/uploads/2012/12/HomePageGraphic3.jpg'); margin-top: 10px; margin-left: 20px; padding: 0px; position: relative;">
    <div style="width: 515px; height: 321px; color: #000; border: 1px solid; border-color: #000; margin-top: 52px; margin-left: 68px; float: left; position: absolute;">[youtube_sc url="http://www.youtube.com/watch?v=tYboSKdKuQk" title="SportaFence--The%20Next%20Generation%20Of%20Portable%20Sports%20Fencing%20" width="515" height="321" autohide="0" autoplay="1" fs="1"]</div></div></div>


  2. Tubal
    Plugin Author

    Posted 2 years ago #

    I couldn't tell :(

    In the documentation site I'm using wordpress 3.5 and the plugin works as expected.
    Seems to me it's related to your code.
    Anyway, I'm closing the topic since you're using another plugin now.



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Youtube shortcode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic