mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #12935
[Bug 1207140] Re: YouTube filter requires updates
Patch submitted
https://reviews.mahara.org/#/c/2384/
This checks if the iframe code is from youtube and inserts the correct
protocol needed.
** Changed in: mahara
Assignee: (unassigned) => Robert Lyon (robertl-9)
** Changed in: mahara/1.6
Assignee: (unassigned) => Robert Lyon (robertl-9)
** Changed in: mahara/1.7
Assignee: (unassigned) => Robert Lyon (robertl-9)
** Changed in: mahara/1.8
Assignee: (unassigned) => Robert Lyon (robertl-9)
** Changed in: mahara/1.7
Status: Confirmed => In Progress
** Changed in: mahara
Status: Confirmed => In Progress
** Changed in: mahara/1.6
Status: Confirmed => In Progress
** Changed in: mahara/1.8
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1207140
Title:
YouTube filter requires updates
Status in Mahara ePortfolio:
In Progress
Status in Mahara 1.6 series:
In Progress
Status in Mahara 1.7 series:
In Progress
Status in Mahara 1.8 series:
In Progress
Bug description:
1. The iframe embed code for YouTube videos does not have the protocol
included anymore thus causing problems when trying to embed the code
into a site.
The code reads:
<iframe width="560" height="315" src="//www.youtube.com/embed/XXXXX?rel=0" frameborder="0" allowfullscreen></iframe>
YouTube says:
''Just using //: instead of http:// or https:// means that you would
like to use whichever protocol the parent page is using.
So a page called http://example.com with include http://youtube.com
and a page called https://example.com with include https://youtube.com
It's intentional.''
https://groups.google.com/a/googleproductforums.com/d/msgid/youtube
/bce484af-b2e6-4f6e-9bc0-6c7617e08406%40googleproductforums.com
2. When someone wants to use the YouTube URL from a mobile device, it
is shortened to youtu.be. However, these videos can't be embedded
because the filter doesn't understand that URL.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1207140/+subscriptions
References