mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #47352
[Bug 1756642] Re: Problems embedding YouTube video in 17.04
Thanks for the info, Ulises. Can you please test on
https://demo.mahara.org ?
Using the "Embedded media" block, when I paste the entire embed code for
a video using the http URL in the embed code, e.g.
<iframe width="560" height="315"
src="http://www.youtube.com/embed/LLSvd0lxtjM" frameborder="0"
allow="autoplay; encrypted-media" allowfullscreen></iframe>
the "Embedded media" block transforms that into https and thus displays
the video correctly in the export.
You don' even need to use the embed code that you receive from YouTube,
but can simply use the URL or the URL that you get from the "Share" menu
on YouTube.
--
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