YouTube Advanced Embed
[resolved] Squashed video (2 posts)

  1. stepster
    Posted 3 years ago #

    When I insert a YouTube video with Embedplus setup to automatically enhance YouTube videos, they instantly get squashed!

    The player width is correct and if I look at the code, the height is also correctly stated, but the output is fixed at 150px high and I can't see why!

    Can you help? Take a look at http://sosi.epage.co.uk/partners/


  2. embedplus
    Plugin Author

    Posted 3 years ago #


    1) You have a theme that overrides the width/height of the object tag. On about line 31 of http://sosi.epage.co.uk/wp-content/themes/truepixel/style.css , you have:

    img, video, object, embed {
    max-width: 100%;
    height: auto!important;

    If you change it to the below, then your EmbedPlus embeds will match the width/height that's actually in the code:

    img, video, embed {
    max-width: 100%;
    height: auto!important;

    Notice the "object," part is removed.

    2) Even after you do this, that particular video is very large--a bit too wide for your theme. The maximum width you should use is 603px, not 960px, or else it will start slipping under your sidebar.

    Again, note that for a faster response, use email:


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • YouTube Advanced Embed
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic