N Gauge Forum

Notices, Help With Problems and Your Forum Ideas... => Forum Ideas and Problems. => Topic started by: MrDobilina on April 22, 2016, 11:10:34 PM

Title: YouTube videos do not embed correctly
Post by: MrDobilina on April 22, 2016, 11:10:34 PM
However previewing embedding a YouTube videos by pasting a YouTube link and clicking preview on a post will show the video preview.
Actually posting will only show an excessively spaced link to open YouTube

Can we not use the [youtube] tag as in other Bb forums?
http://youtu.be/b9FHs6thqz8 (http://youtu.be/b9FHs6thqz8)
Title: Re: YouTube videos do not embed correctly
Post by: railsquid on April 23, 2016, 02:09:03 AM
The "trick" is to find the short "youtu.be" link and remove the "s" from "https":

http://youtu.be/5SNUQ_dgi3s (http://youtu.be/5SNUQ_dgi3s)

Though yes, a [youtube] tag would make life easier...
Title: Re: YouTube videos do not embed correctly
Post by: Newportnobby on June 13, 2016, 08:36:01 PM
It's a pain, especially in the "What are you listening to.......?" thread that all you see now is the link rather than a thumbnail of the vid.
Can the 'old way' be salvaged or is there something we can do to get it back to how it was?
Title: Re: YouTube videos do not embed correctly
Post by: Tank on June 14, 2016, 06:55:18 AM
We used to have it working fine, but Youtube changed the way their links worked about a year ago.  Video's were embedded into the forum right away, and at the time I was told that there wasn't a workaround.  I'm sure that there must be by now!  I'll ask. 
Title: Re: YouTube videos do not embed correctly
Post by: Caz on June 14, 2016, 08:47:26 AM
AFAIK youtube recently closed the only remaining open door to directly embedding and displaying a video as they want viewers to visit their site so they can earn money with the adverts they show there.  There is an "embed" option but requires the use of iframes which themselves bring inherent dangers and are, I think, disabled on the forum.
Title: Re: YouTube videos do not embed correctly
Post by: MrDobilina on June 14, 2016, 08:56:40 AM
Two examples I have found

Ohara YouTube Embed Mod - updated May 2016 (http://custom.simplemachines.org/mods/index.php?mod=3268)

How to embed youtube videos in Simple Machines forum post FEBRUARY 9, 2016  (http://fictiveuniverse.com/videos/how-embed-youtube-videos-in-forum-post)
Title: Re: YouTube videos do not embed correctly
Post by: Caz on June 14, 2016, 09:02:27 AM
Quote from: MrDobilina on June 14, 2016, 08:56:40 AM
Two examples I have found

Ohara YouTube Embed Mod - updated May 2016 (http://custom.simplemachines.org/mods/index.php?mod=3268)

How to embed youtube videos in Simple Machines forum post FEBRUARY 9, 2016  (http://fictiveuniverse.com/videos/how-embed-youtube-videos-in-forum-post)

The second option stopped working recently, it is what I advocated when youtube started the https thing, don't know about the first one, but could be the same idea but done automatically.  Will let Tank know.  @Tank (http://www.ngaugeforum.co.uk/SMFN/index.php?action=profile;u=2)
Title: Re: YouTube videos do not embed correctly
Post by: Ditape on June 14, 2016, 09:54:26 AM


I tried the first option using the text as shown and as you can see it works.
Title: Re: YouTube videos do not embed correctly
Post by: MJKERR on June 14, 2016, 05:33:56 PM
That is fine for You Tube, but there are now so many different media players
I have recently had to sign up to Vimeo and as you can see the code is simply just a number
It is a shame a single code cannot be used

Content removed under the Data Protection Act
She had loads of videos they had taken for each product, but they had never been used

Title: Re: YouTube videos do not embed correctly
Post by: Tank on June 14, 2016, 08:15:08 PM
There's always someone who wants more....   ::) ;D 

This will do for now, as it's the most popular. :thumbsup:
Title: Re: YouTube videos do not embed correctly
Post by: dats475 on June 14, 2016, 10:22:41 PM
Thank you so much for your help!!
I embedded my videos.
Despite of my video contents my thread looking fancy now. (I think):heart2:
Thank you again!!
Title: Re: YouTube videos do not embed correctly
Post by: MJKERR on June 14, 2016, 11:47:22 PM
Quote from: Only Me on June 14, 2016, 08:32:26 PM
@mjkerr (http://www.ngaugeforum.co.uk/SMFN/index.php?action=profile;u=208)  Unfortunately vimeo requires reverse lookups which is what was slowing down the forum previously... If you want to show a video here and embed it then please upload it to You Tube.
Exactly, it is part of the copyright control process and why many people swapped from You Tube to Vimeo
Some of my content I have no choice but to upload it to Vimeo, that way it cannot be embedded (unless permission is given) or copied
Title: Re: YouTube videos do not embed correctly
Post by: Railwaygun on June 15, 2016, 12:14:34 AM
Does the new YouTube button deserve an announcement on the NGF front page?

Or a locked topic ?
Title: Re: YouTube videos do not embed correctly
Post by: MJKERR on June 15, 2016, 01:57:36 PM
Quote from: Railwaygun on June 15, 2016, 12:14:34 AM
Does the new YouTube button deserve an announcement on the NGF front page?
Sticky topic

However, may as well add all these emojis then!
I have never used one