← Back to team overview

mahara-contributors team mailing list archive

[Bug 1436841] Re: Add External Media - YouTube Video

 

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: (unassigned) => Robert Lyon (robertl-9)

** Changed in: mahara
    Milestone: None => 15.10.0

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
       Status: New => In Progress

** Also affects: mahara/1.8
   Importance: Undecided
       Status: New

** Also affects: mahara/1.10
   Importance: Undecided
       Status: New

** Also affects: mahara/15.04
   Importance: Medium
     Assignee: Robert Lyon (robertl-9)
       Status: In Progress

** Also affects: mahara/1.9
   Importance: Undecided
       Status: New

** Also affects: mahara/15.10
   Importance: Undecided
       Status: New

** Changed in: mahara/15.04
    Milestone: 15.10.0 => 15.04.0

** Changed in: mahara/15.10
    Milestone: None => 15.10.0

** Changed in: mahara/15.10
     Assignee: (unassigned) => Robert Lyon (robertl-9)

** Changed in: mahara/15.10
   Importance: Undecided => Medium

** Changed in: mahara/15.10
       Status: New => In Progress

** Changed in: mahara/1.9
    Milestone: None => 1.9.5

** Changed in: mahara/1.8
    Milestone: None => 1.8.7

** Changed in: mahara/1.10
    Milestone: None => 1.10.3

** Changed in: mahara/1.9
   Importance: Undecided => Medium

** Changed in: mahara/1.8
   Importance: Undecided => Low

** Changed in: mahara/1.10
   Importance: Undecided => Medium

** Changed in: mahara/15.04
       Status: In Progress => New

-- 
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/1436841

Title:
  Add External Media - YouTube Video

Status in Mahara ePortfolio:
  New
Status in Mahara 1.10 series:
  New
Status in Mahara 1.8 series:
  New
Status in Mahara 1.9 series:
  New
Status in Mahara 15.04 series:
  New
Status in Mahara 15.10 series:
  In Progress

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/

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


References