Page 1 of 1

YouTube Embedder

Posted: Thu Sep 07, 2017 12:03 pm
by freebrickproductions
Due to YouTube finally killing their flash-based player, the embedded YouTube videos on the forum no longer work. We are looking to resolve the issue soon.

However, YouTube is at least kind enough to provide a link to the video so it can be watched on YouTube itself, so in the mean time, you'll have to use that until we can get a new YouTube embed code plugin installed.

Re: YouTube Embedder

Posted: Thu Sep 07, 2017 1:28 pm
by NathanFromEngland
Well thats just great.
They demonetize YouTubers that put like Call of Duty or whatever stuff in or if they say death of stuff.
They remove the option for annotations.
They remove the YouTube Editor.
They change their logo.
And now the embedding plugin died.

Re: YouTube Embedder

Posted: Thu Sep 07, 2017 2:45 pm
by ToledoRailfan
It works for Nathan's recent post along with MaxDriveEXperience's recent posts.

Re: YouTube Embedder

Posted: Fri Sep 08, 2017 11:16 pm
by IanMP
Why are they removing so much stuff? What is the point???

Re: YouTube Embedder

Posted: Mon Sep 25, 2017 7:55 pm
by freebrickproductions
Update! I have gotten the embed code updated so that it's now YouTube's HTML5 embed code. In the process I've also changed the embedder so that it displays in a 16:9 ratio, which means that HD videos will display properly.

However, with this update, there's one important change: you can't have anything after the video ID in the URL between the YouTube codes. For example, in this URL:
http://www.youtube.com/watch?v=fRihJyEz ... e=youtu.be
Everything from the "&feature=" and after would have to be removed for the embedder to work properly. Same goes for anything else after the video ID. Also, for those who are curious, the video ID is the selection of characters that comes immediately after the "watch?v=" in a YouTube URL.

I'm also still messing around with the embedder's code, and am looking at possibly having it accept "https://" in the URL as well, so don't be surprised if it breaks again for a little while.

Re: YouTube Embedder

Posted: Mon Sep 25, 2017 8:16 pm
by freebrickproductions
Another update!

Got it to accept HTTP and HTTPS as valid inputs, so no more need to remove the s in the "https://" from YouTube URLs when embedding!

Re: YouTube Embedder

Posted: Mon Sep 25, 2017 9:17 pm
by ToledoRailfan
Test



Re: YouTube Embedder

Posted: Mon Sep 25, 2017 9:17 pm
by ToledoRailfan
It works! :Clap: It looks a bit different as well.

Re: YouTube Embedder

Posted: Mon Sep 25, 2017 9:45 pm
by freebrickproductions
ToledoRailfan wrote:It works! :Clap: It looks a bit different as well.
That's because it's a 16:9 HTML5 player rather than the 4:3 Flash player that the code had been using. :cool:

Re: YouTube Embedder

Posted: Mon Sep 25, 2017 9:50 pm
by ToledoRailfan
freebrickproductions wrote:
ToledoRailfan wrote:It works! :Clap: It looks a bit different as well.
That's because it's a 16:9 HTML5 player rather than the 4:3 Flash player that the code had been using. :cool:
Looks a lot nicer! :TUP2: