Valid YouTube link rejected

seanspotatobusiness

Distinguished
Mar 19, 2010
126
0
18,710
This is a valid YouTube link: https://youtu.be/egjZXHDoQIU

When I try to insert this video into a forum post, it gets rejected as invalid.

Pmv1Ane.png
 

seanspotatobusiness

Distinguished
Mar 19, 2010
126
0
18,710


I know the link works; it's a valid link. The problem is that Tom's Hardware forum does not accept it as a YouTube link to insert an inline YouTube video in a forum post because it's the "wrong URL format". It's the URL format that YouTube gave me to use.
 


Yeah that is weird. I have had issues with their alternate URLs before on other sites though. You will have to use the proper URL for it to work, at least for now:

https://www.youtube.com/watch?v=egjZXHDoQIU

it works with that: [video="https://www.youtube.com/watch?v=egjZXHDoQIU"][/video]
 

seanspotatobusiness

Distinguished
Mar 19, 2010
126
0
18,710
Thanks but I uploaded the video myself and YouTube gave me this URL. I think it is the proper URL and Tom's Hardware should fix their forum so it doesn't reject URLs that YouTube provides to people who have just uploaded a video.



 


I agree, it should work. But it isn't the proper URL. It is from their in house shortening service.

 
*Working As Intended.
Youtu.be is a redirect to the actual video.
So it's not technically a valid link, because there's no video "there"

Youtube gives you a "share" link which is a link to SHARE with people to get TO the video.
It's not a link OF the video.
The embeding feature on the forums needs the link directly to the video.
Youtubes own embed script also uses the full link.
Code:
<iframe width="560" height="315" src="https://www.youtube.com/embed/znqQY9wGgDE" frameborder="0" allowfullscreen></iframe>
but our forums don't support HTML embedding or whatever that is.

Fancier websites and things like Discord can translate the shortened link and auto embed.
 

seanspotatobusiness

Distinguished
Mar 19, 2010
126
0
18,710


Yet other websites are able to take the link and retrieve the conventional URL. Do you need someone else to write the code or what?
 

Colif

Win 11 Master
Moderator
Mods here are just volunteers, the paid staff who would fix this don't work weekends so this change isn't something I can advise you of a fix date. I have sent the message up the command chain though. Only suggestion is to use the other link.
 

USAFRet

Titan
Moderator


The site already natively accepts youtube.com links.
New code to also accept youtu.be is unlikely to happen anytime in the near future.
 


There's literally less steps to get the URL from the URL bar than to get the share link.

Correct method:
1. Copy the URL from the browser Address bar.

Incorrect method:
1. Click the share button.
2. Copy the shortened link.
 

seanspotatobusiness

Distinguished
Mar 19, 2010
126
0
18,710


That is not true when you uploaded the video yourself. When you upload the video yourself, YouTube gives you share links.

I really don't get why everyone loves to defend the status quo even when bringing the forum in line with other forums wouldn't harm them or anyone else in any way.

Screw it; do whatever the f you want. It's future forum users that stand to benefit more than I do and there are becoming fewer and fewer things I dislike than other people anyway. You might as well just delete the feedback subforum given the way you all react to feedback.