Important: when posting, please provide your Club Number at a minimum, and as many details as possible.
For further info, please read This page before posting.

Embedding YouTube video

  • sciguy
  • sciguy's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thanks: 0

Embedding YouTube video

11 years 5 months ago
#41536
No matter what I do whether it is supply a URL or paste embedded code the "Embed YouTube Video" window comes back with an error message telling me "You must input an embed code or URL". :(
Is there a bug or am I doing something wrong.

Here is the code I am trying to embed:
Code:
<iframe width="640" height="480" src="//www.youtube-nocookie.com/embed/8UeLOiRvgjc?rel=0" frameborder="0" allowfullscreen></iframe>

or here is the URL that I attempted to use:
Code:
https://www.youtube.com/watch?v=8UeLOiRvgjc

I am using Safari version 8 on a MacMini
Club number: 699671

Please advise.
The topic has been locked.
  • Pam
  • Pam's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3904
  • Thanks: 1063

Re: Embedding YouTube video

11 years 5 months ago
#41538
Are you using the YouTube and iframe icons?

I managed to embed your video by putting the iframe into the source code (source icon top left), or just inserting a link to the URL (not using the icons provided in the editor).

Using the YouTube icon I managed to enter the URL, but the page just displayed the URL rather than showing the video.

Using the iframe icon I entered the URL in the box provided but nothing showed.


So my suggestion is to either just add the URL in a link (if you use a link page it will open automatically), or insert the iframe in the source code. At least until one of the technical gurus can point us in the right direction.

Safari might be even different again, I'm using Chrome
FreeToastHost Ambassador
VPE HOT Toastmasters 2025-2026 hot.toastmastersclubs.org/
Webmaster Redlands Toastmasters 2025-2026 redlands.toastmastersclubs.org/
The topic has been locked.
  • SteveTheTechie
  • SteveTheTechie's Avatar
  • Offline
  • Emeritus
  • Emeritus
  • Posts: 11492
  • Thanks: 3057

Re: Embedding YouTube video

11 years 5 months ago
#41539
Code:
<iframe width="640" height="480" src="//www.youtube-nocookie.com/embed/8UeLOiRvgjc?rel=0" frameborder="0" allowfullscreen></iframe>

This has an invalid URL ... look closely... the src starts with //
The topic has been locked.
  • SteveTheTechie
  • SteveTheTechie's Avatar
  • Offline
  • Emeritus
  • Emeritus
  • Posts: 11492
  • Thanks: 3057

Re: Embedding YouTube video

11 years 5 months ago
#41540
Also, the editor does not like the -nocookie suffix on Youtube...

Take it off, and the editor YouTube tool will take your URL.
The topic has been locked.
  • SteveTheTechie
  • SteveTheTechie's Avatar
  • Offline
  • Emeritus
  • Emeritus
  • Posts: 11492
  • Thanks: 3057

Re: Embedding YouTube video

11 years 5 months ago
#41541
The following appears to be the root of the problem:

www.subrion.org/forums/threads/how-to-ma...rk-in-ckeditor.1450/

I will apply their fix. Give me a bit to do that.
The topic has been locked.
  • SteveTheTechie
  • SteveTheTechie's Avatar
  • Offline
  • Emeritus
  • Emeritus
  • Posts: 11492
  • Thanks: 3057

Re: Embedding YouTube video

11 years 5 months ago
#41542
Ok, I am having some trouble fixing it.

From looking at the javascript for the plugin, it is the nocookie part that the editor plugin is complaining about.

We will be updating the editor in the upcoming weeks. It is possible that the plugin was updated also.
The topic has been locked.
Moderators: BrianHeniPamrhtaylor3marc33NotLiableNSBjgavinLcala305peterb323DebbieT
Time to create page: 0.482 seconds

Latest Forum Posts