Posts: 2,833
Threads: 141
Joined: Jan 2012
Reputation:
86
2015-02-15, 05:35 PM
(This post was last modified: 2015-02-15, 06:28 PM by Jones H.)
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!
Posts: 2,833
Threads: 141
Joined: Jan 2012
Reputation:
86
Support PMs will be ignored!
Posts: 2,833
Threads: 141
Joined: Jan 2012
Reputation:
86
2015-02-15, 06:14 PM
(This post was last modified: 2015-02-15, 06:22 PM by Jones H.)
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!
Posts: 2,833
Threads: 141
Joined: Jan 2012
Reputation:
86
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!
Posts: 2,833
Threads: 141
Joined: Jan 2012
Reputation:
86
I didn't know about most of them and only discovered them while looking at the code

but yes, it exists
Support PMs will be ignored!