[Pushed] video codes may not be loaded correctly
#1
Yahoo has two different url schemes:

http://{locale}.screen.yahoo.com/{title}-{id}.html
http://{locale}.screen.yahoo.com/{channe...-{id}.html

The first one is loaded correctly, however the second one uses the channel name as video id which results in a broken iframe (or may even result in a wrong video).
Support PMs will be ignored!
Reply
#2
Same for vimeo:

https://vimeo.com/59859181
vs
https://vimeo.com/channels/staffpicks/59859181
Support PMs will be ignored!
Reply
#3
And another one: myspace uses a new syntax

https://myspace.com/themahoganysessions/.../109566653

Edit: the embed code has changed:
<iframe width="480" height="270" src="//media.myspace.com/play/video/fink-this-is-the-thing-mahogany-session-109566653-112248310" frameborder="0" allowtransparency="true" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe><p><a href="https://myspace.com/themahoganysessions/video/fink-this-is-the-thing-mahogany-session/109566653">Fink - This is the Thing // Mahogany Session</a> from <a href="https://myspace.com/theMahoganySessions">The Mahogany Sessions</a> on <a href="https://myspace.com">Myspace</a>.</p>

Edit2: New template:
<iframe width="480" height="270" src="//media.myspace.com/play/video/{$title}-{$id}" frameborder="0" allowtransparency="true" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
The parser also needs to be edited to htmlspecialchar the title.
Support PMs will be ignored!
Reply
#4
And metacafe also updated their embed code (though the old one still works):
<iframe src="http://www.metacafe.com/embed/{$id}/" width="440" height="248" allowFullScreen frameborder=0></iframe>
Support PMs will be ignored!
Reply
#5
MySpace still exists O.O?
Reply
#6
I didn't know about most of them and only discovered them while looking at the code Toungue but yes, it exists Wink
Support PMs will be ignored!
Reply
#7
MySpace is now owned by Justin Timberlake and is focused on musicians. Check it out - fancy fancy Smile
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
#8
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2132

Thanks for contributing to MyBB!

Regards,
The MyBB Group
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)