← Back to team overview

mahara-contributors team mailing list archive

[Bug 1756642] Re: Problems embedding YouTube video in 17.04

 

Since you have an https site, you'll need to make sure that the embed
code includes https from YouTube.

The easiest to do that is to always open YouTube via https. I'm actually
automatically forwarded to https so don't know how you would end up with
an http embed code. Maybe your regional YouTube is different? The best
would be for the students to always ensure to open YouTube via https and
then get the https embed code.

In the past, browsers allowed mixed content, i.e. an http element on an
https site. But that has gotten stricter. When we have an http site, the
embed code is stripped back to "//" as the browser should then use the
correct protocol. But that doesn't seem to be working properly for you.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1756642

Title:
  Problems embedding YouTube video in 17.04

Status in Mahara:
  Incomplete

Bug description:
  Reported at https://bugs.launchpad.net/mahara/+bug/548308/comments/6

  
  I'm using Mahara 17.04.3.
  If we embed Youtube videos with 'https://' it is exported and shows correctly.
  If we embed them with 'http://' the URLs are changed to start with '//'.
  So if we embed the 'https://www.youtube.com/embed/<id>' it is shown correctly.
  If we embed the 'http://www.youtube.com/embed/<id>' it is replaced with the '//www.youtube.com/embed/<id>'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1756642/+subscriptions


References