Title: oembed
Last modified: August 21, 2016

---

# oembed

 *  Resolved [webmaster128](https://wordpress.org/support/users/webmaster128/)
 * (@webmaster128)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/oembed-2/)
 * Hihi,
 * I am having a lot of trouble with the aspect ration of my video.
 * As far as I can see from my tests, the YouTube oEmbed API does not deliver any
   useful results.
 * In all 4 tests the width/height parameters are ignored and in 3/4 the aspect 
   ratio returned is 4:3 instead of 16:9.
 * 16:9 video – Catching Fire
    [http://www.youtube.com/watch?v=n6gODvbxSTs](http://www.youtube.com/watch?v=n6gODvbxSTs)
   [http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3Dn6gODvbxSTs&format=xml](http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3Dn6gODvbxSTs&format=xml)
   [http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3Dn6gODvbxSTs&width=1000&height=1000&format=xml](http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3Dn6gODvbxSTs&width=1000&height=1000&format=xml)
   ok.
 * 16:9 video – Kullo
    [http://www.youtube.com/watch?v=5OcTXnLVfFk](http://www.youtube.com/watch?v=5OcTXnLVfFk)
   [http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3D5OcTXnLVfFk&format=xml](http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3D5OcTXnLVfFk&format=xml)
   [http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3D5OcTXnLVfFk&width=1000&height=1000&format=xml](http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3D5OcTXnLVfFk&width=1000&height=1000&format=xml)
   Not ok.
 * 16:9 video – GTA 5
    [http://www.youtube.com/watch?v=uhg8HOXHt0g](http://www.youtube.com/watch?v=uhg8HOXHt0g)
   [http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3Duhg8HOXHt0g&format=xml](http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3Duhg8HOXHt0g&format=xml)
   [http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3Duhg8HOXHt0g&width=1000&height=1000&format=xml](http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3Duhg8HOXHt0g&width=1000&height=1000&format=xml)
   Not ok.
 * 16:9 video – Familonet
    [http://www.youtube.com/watch?v=mWLsPtNBCmg](http://www.youtube.com/watch?v=mWLsPtNBCmg)
   [http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3DmWLsPtNBCmg&format=xml](http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3DmWLsPtNBCmg&format=xml)
   [http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3DmWLsPtNBCmg&width=1000&height=1000&format=xml](http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3DmWLsPtNBCmg&width=1000&height=1000&format=xml)
   Not ok.
 * I think for the time being, this API is no reliable source of information.
 * Best,
 * Simon
 * [http://wordpress.org/plugins/youtube-embed-plus/](http://wordpress.org/plugins/youtube-embed-plus/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/oembed-2/#post-4182759)
 * Hi,
    We’ve been corresponding with YouTube about this issue – hence the delay.
   They are aware of the aspect ratio problem and have made an internal request 
   to work on better support. At this point, the best option is to manually set 
   the width and height codes that are shown in the directions (i.e., &width= and&
   height=).
 * Also, rather than wait on YouTube, we also have a wizard and are going to add
   something like force 16:9 / 4:3 aspect ratio options. This will probably help
   those that don’t want to worry about codes/calculations. It will be up soon in
   fact!
 * -EmbedPlus Team
 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/oembed-2/#post-4182760)
 * The force aspect ratio options have now been added as options in the height setting
   of the wizard. The appropriate settings will be automatically calculated based
   on the given width.
 * -EmbedPlus Team

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘oembed’ is closed to new replies.

 * ![](https://ps.w.org/youtube-embed-plus/assets/icon-256x256.png?rev=2165403)
 * [Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades](https://wordpress.org/plugins/youtube-embed-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-embed-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-embed-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-embed-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-embed-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-embed-plus/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [embedplus](https://wordpress.org/support/users/embedplus/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/oembed-2/#post-4182760)
 * Status: resolved