Author Topic: YouTube links not embedding properly  (Read 120 times)

0 Members and 2 Guests are viewing this topic.

Online tpir04

  • Walking the Golden Road
  • ****
  • Posts: 385
  • Double Prices is the BEST game.
YouTube links not embedding properly
« on: July 05, 2019, 09:17:21 PM »
I have tried to embed YouTube videos using the [youtube] feature (the one in the message box, below the "Bold font" button, and I get this: #invalid YouTube link#. Does anyone know why? Appreciate your help on this. Thanks!
First CSS exacta: 6/3/2019

Season 15 cash earnings: $151,769
A lot of you are probably wishing I hadn't started CSS.
................................
Ever heard that 2+2=5? I have a simple solution: 2+2=5-1.

Problem solved.

Offline htmlcc92

  • Double Showcase Winner
  • ******
  • Posts: 1061
  • "Mrs. Peacock was a man?!"
Re: YouTube links not embedding properly
« Reply #1 on: July 05, 2019, 09:38:41 PM »
What are you putting between the tags? Between the opening youtube tag and the closing (/youtube), the only thing that should be there is the video ID, the "v=" part of the URL. So for example, if I want to embed https://www.youtube.com/watch?v=6AXtsIi8_yc&list=PL1dmMR3keU2CIPfkfzVCcfA9cAqiKblpw&index=2&t=2s, the post would look like:


[youtube-open-bracket]6AXtsIi8_yc[/youtube-close-bracket]


Using the YouTube button below the bold font button.
There is a fifth dimension beyond that which is known to man. It is a dimension as vast as space and as timeless as infinity. It is the middle ground between light and shadow, between science and superstition, and it lies between the pit of man's fears and the summit of his knowledge. This is the dimension of imagination. It is an area which we call the Twilight Zone.

Online tpir04

  • Walking the Golden Road
  • ****
  • Posts: 385
  • Double Prices is the BEST game.
Re: YouTube links not embedding properly
« Reply #2 on: July 05, 2019, 09:46:41 PM »
I tried it, and it works. Thank you, htmlcc92!
First CSS exacta: 6/3/2019

Season 15 cash earnings: $151,769
A lot of you are probably wishing I hadn't started CSS.
................................
Ever heard that 2+2=5? I have a simple solution: 2+2=5-1.

Problem solved.

Offline htmlcc92

  • Double Showcase Winner
  • ******
  • Posts: 1061
  • "Mrs. Peacock was a man?!"
Re: YouTube links not embedding properly
« Reply #3 on: July 05, 2019, 09:48:04 PM »
You're welcome! I know I've always had issues trying to remember what to put in the brackets, I forget quite often!
There is a fifth dimension beyond that which is known to man. It is a dimension as vast as space and as timeless as infinity. It is the middle ground between light and shadow, between science and superstition, and it lies between the pit of man's fears and the summit of his knowledge. This is the dimension of imagination. It is an area which we call the Twilight Zone.

Online LiteBulb88

  • 4/15/19
  • TPiR Alumnus
  • *
  • Posts: 867
Re: YouTube links not embedding properly
« Reply #4 on: July 06, 2019, 12:18:16 AM »
The other thing that works is changing the https to just http. So in htmlcc92's example, this would also work:

[yt]http://www.youtube.com/watch?v=6AXtsIi8_yc&list=PL1dmMR3keU2CIPfkfzVCcfA9cAqiKblpw&index=2&t=2s[/yt]

(Except of course replace yt with youtube.)

Offline htmlcc92

  • Double Showcase Winner
  • ******
  • Posts: 1061
  • "Mrs. Peacock was a man?!"
Re: YouTube links not embedding properly
« Reply #5 on: July 06, 2019, 12:21:03 AM »
Thatís good to know! Easier than just getting the ID out of it - I sometimes end up accidentally taking a character off the front or back or the ID when I delete.
There is a fifth dimension beyond that which is known to man. It is a dimension as vast as space and as timeless as infinity. It is the middle ground between light and shadow, between science and superstition, and it lies between the pit of man's fears and the summit of his knowledge. This is the dimension of imagination. It is an area which we call the Twilight Zone.