new youtube embed code - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Resources (https://community.mybb.com/forum-8.html) +--- Forum: MyCodes (https://community.mybb.com/forum-117.html) +--- Thread: new youtube embed code (/thread-92985.html) |
new youtube embed code - skilo47 - 2011-04-25 so youtube recently changed their embed code. i need to know how to use the new video code on my forum. what do i need to enter in my code? The old code used to look like this - "http://www.youtube.com/watch?v=l1G7TJD6Xu0" Now it looks like this - "http://youtu.be/l1G7TJD6Xu0" BUMP! Seriously this issue needs to be addressed, all threads regarding youtube video embeding on this site are at least 3 years old! they are out of date and contain incorrect useless information. The code has changed thus the solution must change as well. RE: new youtube embed code - adbrad - 2011-04-25 The old youtube links work fine on my forum. RE: new youtube embed code - Euan T - 2011-04-25 http://youtu.be redirects to youtube.com anyway (or at least, it does for me). RE: new youtube embed code - skilo47 - 2011-04-25 (2011-04-25, 05:38 PM)adbrad Wrote: The old youtube links work fine on my forum. adbrad what code do you use in "mycode" ? (2011-04-25, 05:44 PM)euantor Wrote: http://youtu.be redirects to youtube.com anyway (or at least, it does for me). it redirects for me to but the youtube tags on my forum dont work. i enter say - [youtube]youtu.be/videoidhere[/youube] and it just shows up like this on the page - [youtube]youtu.be/videoidhere[/youube] no video... The standard youtube URL works fine but the youtu.be URL dont work lol its not that big of a deal but its confusing to some of my users. RE: new youtube embed code - - G33K - - 2011-04-25 I'll put this on the dev tracker so that the dev are aware of this. Changes to the parser will have to be made to recognize the new url. EDIT: Done. http://dev.mybb.com/issues/1555 RE: new youtube embed code - wethegreenpeople - 2011-04-26 Are you using a MyCode or MyBB 1.6's video embed? Because if you use MyBB's embed feature then it works fine: RE: new youtube embed code - - G33K - - 2011-04-26 No, it doesn't work. What you did in the above video embed was just change youtube to youtu.be and left the rest of the url in the old format. If you tried to embed using the new links it won't work. For example, the above video you embeded: Old share URL: http://www.youtube.com/watch?v=foQhHfsyPIc New share url: http://youtu.be/foQhHfsyPIc What you used to embed: http://youtu.be/watch?v=foQhHfsyPIc Trying to embed using new url: RE: new youtube embed code - n1tr0b - 2011-04-27 I still have the old share url in place.. But it would be nice to implement two things. RE: new youtube embed code - Flogging My Log - 2011-04-27 Old ones works fine with automedia plugin RE: new youtube embed code - Euan T - 2011-04-27 I believe the "new format" is simply a short URL for videos. I'd be nice to implement, but I've literally only seen it used on twitter so far... |