Add External Media - YouTube Video

Bug #1436841 reported by Bernard Neary
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Robert Lyon
1.10
Fix Released
Medium
Robert Lyon
1.8
Fix Released
Medium
Robert Lyon
1.9
Fix Released
Medium
Robert Lyon
15.04
Fix Released
Medium
Robert Lyon
15.10
Fix Released
Medium
Robert Lyon

Bug Description

Version: 15.04rc1

When adding a new External Media block to a page using the embed code from YouTube, if the option 'Enable privacy-enhanced mode' in YouTube is selected the video is not displayed in the block on Mahara.

I think this is related to the URL changing if this option is selected:
Option selected in YouTube: https://www.youtube-nocookie.com/embed
Option not selected in YouTube: https://www.youtube.com/embed/

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/4478

Revision history for this message
Robert Lyon (robertl-9) wrote :

To test:

1) Go to Youtube and find a video
2) Chick the 'Share' icon below the video
3) Click the 'Embed' option
4) Copy the iframe code and use that in Mahara - it should work
5) Back on Youtube - underneath the link you copied there is a 'Show more' link
 - click that and it'll open up a box with Preview: and some checkboxes
 - there will be one named "Enable privacy-enhanced mode"
 - check that and it updates the iframe code

6) Copy the iframe code again and use that in Mahara - it should fail

Checkout the patch and it should work

Changed in mahara:
assignee: nobody → Robert Lyon (robertl-9)
milestone: none → 15.10.0
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Jinelle Foley-Barnes (jinelleb) wrote :

Hi Rob,

Cheers for testing instructions :)

-Jinelle

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4478
Committed: http://gitorious.org/mahara/mahara/commit/7a55bc33b0b22f55215615bd0ae7549a9c07cc91
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 7a55bc33b0b22f55215615bd0ae7549a9c07cc91
Author: Robert Lyon <email address hidden>
Date: Fri Mar 27 11:37:15 2015 +1300

Allowing for youtube-nocookie.com urls to work (Bug #1436841)

To test - see bug report

Change-Id: I74b9d35eb8be34af90ee46714f9b4ad19bc340d5
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "15.04_STABLE" branch: https://reviews.mahara.org/4499

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4499
Committed: http://gitorious.org/mahara/mahara/commit/d81cd85e49838c7c6fbf7be313fa21b9a9562569
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.04_STABLE

commit d81cd85e49838c7c6fbf7be313fa21b9a9562569
Author: Robert Lyon <email address hidden>
Date: Fri Mar 27 11:37:15 2015 +1300

Allowing for youtube-nocookie.com urls to work (Bug #1436841)

To test - see bug report

Change-Id: I74b9d35eb8be34af90ee46714f9b4ad19bc340d5
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "1.10_STABLE" branch: https://reviews.mahara.org/4502

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "1.9_STABLE" branch: https://reviews.mahara.org/4503

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "1.8_STABLE" branch: https://reviews.mahara.org/4504

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4504
Committed: http://gitorious.org/mahara/mahara/commit/ab58b4aab1c92ce2f1e412b09c1b23eb265c9df6
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.8_STABLE

commit ab58b4aab1c92ce2f1e412b09c1b23eb265c9df6
Author: Robert Lyon <email address hidden>
Date: Fri Mar 27 11:37:15 2015 +1300

Allowing for youtube-nocookie.com urls to work (Bug #1436841)

To test - see bug report

Change-Id: I74b9d35eb8be34af90ee46714f9b4ad19bc340d5
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/4503
Committed: http://gitorious.org/mahara/mahara/commit/86c3878db279cc748af4795fbf6ee656d554345f
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.9_STABLE

commit 86c3878db279cc748af4795fbf6ee656d554345f
Author: Robert Lyon <email address hidden>
Date: Fri Mar 27 11:37:15 2015 +1300

Allowing for youtube-nocookie.com urls to work (Bug #1436841)

To test - see bug report

Change-Id: I74b9d35eb8be34af90ee46714f9b4ad19bc340d5
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/4502
Committed: http://gitorious.org/mahara/mahara/commit/5cf363fa347c7e6135ffaff61c6f0be884c16b67
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.10_STABLE

commit 5cf363fa347c7e6135ffaff61c6f0be884c16b67
Author: Robert Lyon <email address hidden>
Date: Fri Mar 27 11:37:15 2015 +1300

Allowing for youtube-nocookie.com urls to work (Bug #1436841)

To test - see bug report

Change-Id: I74b9d35eb8be34af90ee46714f9b4ad19bc340d5
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
tags: added: no-behat-needed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.