Can't make You Tube Shortcode work in WordPress 3.5
-
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 https://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(‘https://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=”https://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>
- The topic ‘Can't make You Tube Shortcode work in WordPress 3.5’ is closed to new replies.