Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28486

youtube and vimeo embeding causes warnings on https sites

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3, 2.3
    • 2.3.2
    • Filters
    • Internet Explorer
    • MOODLE_20_STABLE, MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • MDL-28486-master-2
    • Hide

      General tests

      The following tests apply to MOODLE_23_STABLE and to master:

      • Navigate to Settings -> Site administration -> Appearance -> Media
        • Ensure that the YouTube and Vimeo options are ticked
      • Navigate to a course page
      • Turn editing on
      • Edit a section
      • Set the section Summary to:

        <p><a href="http://www.youtube.com/v/1akyXgddyAY">Example YouTube</a></p>
        <p><a href="http://vimeo.com/1234567">Example Vimeo</a></p>
        <p><a href="http://www.youtube.com/playlist?list=PL9B6AC5E479B1B992">Example Playlist</a></p>

      • Save changes
        • Confirm that the Top video (YouTube) is displayed
        • Confirm that the Middle video (Vimeo) is displayed
        • Confirm that the Bottom video (YouTube Playlist) is displayed
        • View the source and confirm that each video is pointed at the correct (https) URL
      • Open the 'Activity Chooser'
        • Confirm that none of the videos sit in front of the activity chooser

      MOODLE_23_STABLE

      The following instructions are in addition to the tests above. Moodle 2.3 still has the XML Strict Headers setting which slightly changes the way that some videos are displayed:

      • Navigate to Site administration -> Development -> Debugging
      • Turn "XML strict headers" to on
      • View the course page again
        • Confirm that the Top video (YouTube) is displayed
        • Confirm that it is not in an iframe
        • Confirm that the Middle video (Vimeo) is displayed
        • Confirm that the Bottom video (YouTube Playlist) is displayed
      • Open the 'Activity Chooser'
        • Confirm that none of the videos sit in front of the activity chooser
      Show
      General tests The following tests apply to MOODLE_23_STABLE and to master: Navigate to Settings -> Site administration -> Appearance -> Media Ensure that the YouTube and Vimeo options are ticked Navigate to a course page Turn editing on Edit a section Set the section Summary to: <p><a href="http://www.youtube.com/v/1akyXgddyAY">Example YouTube</a></p> <p><a href="http://vimeo.com/1234567">Example Vimeo</a></p> <p><a href="http://www.youtube.com/playlist?list=PL9B6AC5E479B1B992">Example Playlist</a></p> Save changes Confirm that the Top video (YouTube) is displayed Confirm that the Middle video (Vimeo) is displayed Confirm that the Bottom video (YouTube Playlist) is displayed View the source and confirm that each video is pointed at the correct (https) URL Open the 'Activity Chooser' Confirm that none of the videos sit in front of the activity chooser MOODLE_23_STABLE The following instructions are in addition to the tests above. Moodle 2.3 still has the XML Strict Headers setting which slightly changes the way that some videos are displayed: Navigate to Site administration -> Development -> Debugging Turn "XML strict headers" to on View the course page again Confirm that the Top video (YouTube) is displayed Confirm that it is not in an iframe Confirm that the Middle video (Vimeo) is displayed Confirm that the Bottom video (YouTube Playlist) is displayed Open the 'Activity Chooser' Confirm that none of the videos sit in front of the activity chooser

    Description

      IE will give insecure content warnings if youtube is used with http and the page is httpsed. Youtube support https embeding (see: http://apiblog.youtube.com/2011/02/https-support-for-youtube-embeds.html ), so we can support this.

      Other browsers also give similar warnings

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Sam Hemelryk Sam Hemelryk
              Andrew Davis Andrew Davis
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/12