Support » Plugin: Jetpack by » [Plugin: Jetpack by] problem with youtube.php embedding the wrong size

  • azn137


    Any YouTube video that’s embedded this way is displayed at a size that is just slightly too wide. This results in thin black bars on the left and right of the video, and happens with videos that are 16:9 or 4:3 aspect ratio.

    It looks like someone did the math wrong, that’s my best guess at the moment.

    My media max width is set to 600px, and this is the HTML code that was returned:

    <p><object width="600" height="475"><param name="movie" value=""></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="" type="application/x-shockwave-flash" width="600" height="475" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
    <p><span style='text-align:center; display: block;'><object width='640' height='390'><param name='movie' value=''/><param name='allowfullscreen' value='true'/><param name='wmode' value='opaque'/><embed src='' type='application/x-shockwave-flash' allowfullscreen='true' width='640' height='390' wmode='opaque'></embed></object></span></p>

    More details can be viewed here:

  • The topic ‘[Plugin: Jetpack by] problem with youtube.php embedding the wrong size’ is closed to new replies.