MyBB Community Forums

Full Version: video codes may not be loaded correctly
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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).
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.
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>
MySpace still exists O.O?
I didn't know about most of them and only discovered them while looking at the code Toungue but yes, it exists Wink
MySpace is now owned by Justin Timberlake and is focused on musicians. Check it out - fancy fancy Smile
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