Tropical Fish Forum

Think Fish Tropical Fish Forum => Board Help Requests => Topic started by: terra firma on February 20, 2020, 03:33:31 PM

Title: Can't insert YouTube video.
Post by: terra firma on February 20, 2020, 03:33:31 PM
I click on the YouTube icon to insert a you tube video and post and it comes up with invalid video! GOD DAMN!
Title: Re: Can't insert YouTube video.
Post by: Robert on February 20, 2020, 03:39:05 PM
PM me the link and I'll try and add it to your post for you
Title: Re: Can't insert YouTube video.
Post by: terra firma on February 20, 2020, 05:01:59 PM
https://youtu.be/zgMvSp8vAxo (https://youtu.be/zgMvSp8vAxo)
Title: Re: Can't insert YouTube video.
Post by: Robert on February 20, 2020, 05:45:16 PM
Done. Youtube changed the url format, I've yet to recode things here. Apols, I've added your video to your thread post
Title: Re: Can't insert YouTube video.
Post by: terra firma on February 24, 2020, 01:41:13 PM
Ah ok. Thanks
Title: Re: Can't insert YouTube video.
Post by: Extreme_One on July 21, 2020, 09:19:51 AM
Code: [Select]
https://youtu.be/sbkRCov7h0c
Hi @Robert any chance you might be able to add the youtu.be method of YouTube embedding?

When on mobile, even when trying to grab the URL for a video from Chrome, it tends to default to opening the YouTube app which uses the new youtu.be URL method of sharing.
Title: Re: Can't insert YouTube video.
Post by: Robert on July 21, 2020, 09:56:58 AM
Sure, the embed code hasn’t worked great for an age. V clunky. There’s probably a better implementation around so I’ll get on it when I’ve some time.


<a href="https://www.youtube.com/watch?v=zgMvSp8vAxo" target="_blank">http://www.youtube.com/watch?v=zgMvSp8vAxo</a>


Update: New implementation, see image below
Title: Re: Can't insert YouTube video.
Post by: Extreme_One on July 21, 2020, 02:21:35 PM
Test

<a href="https://www.youtube.com/watch?v=sbkRCov7h0c" target="_blank">http://www.youtube.com/watch?v=sbkRCov7h0c</a>


 :cheers: Nice one @Robert that's great, even if I grab the sharing URL from the app I can just delete all the extraneous bits and leave the video ID.  :cheers:
Title: Re: Can't insert YouTube video.
Post by: Robert on July 21, 2020, 02:50:32 PM
No worries. It’s not perfect, iPhone spits out a bit of html beneath the vid, but it’s liveable  :cheers:
Title: Re: Can't insert YouTube video.
Post by: daveyng on March 12, 2021, 10:20:27 AM
Test to see if the youtube embedding works before posting to the main forum (based on Roberts post).
<a href="https://www.youtube.com/watch?v=MVbMzHWliiE" target="_blank">http://www.youtube.com/watch?v=MVbMzHWliiE</a>
Title: Re: Can't insert YouTube video.
Post by: Robert on March 12, 2021, 11:09:20 AM
I can see the vid! It’s not perfect though... ugly code beneath! Soz!
Title: Re: Can't insert YouTube video.
Post by: daveyng on March 12, 2021, 11:23:27 AM
I took to inserting the url in the main forum post. I seem to recall that it was I did previously.