oembed
-
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/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
ok.16:9 video – Kullo
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&width=1000&height=1000&format=xml
Not ok.16:9 video – GTA 5
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&width=1000&height=1000&format=xml
Not ok.16:9 video – Familonet
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&width=1000&height=1000&format=xml
Not ok.I think for the time being, this API is no reliable source of information.
Best,
Simon
The topic ‘oembed’ is closed to new replies.