Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-31976

Rewrite urls to YouTube to not use the http protocol

    Details

    • Type: Bug
    • Status: Awaiting Review
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.2
    • Fix Version/s: None
    • Component/s: Access
    • Labels:
      None
    • Test Plan:
      Hide

      1. Go to Resources in a secure deployment
      2. Upload the attached WL-2956-test.html (content is:

      <object height="315" width="560"><param name="movie" value="http://www.youtube.com/v/RxoZ-AZKpX8?version=3&hl=en_GB" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed allowfullscreen="true" allowscriptaccess="always" height="315" src="http://www.youtube.com/v/RxoZ-AZKpX8?version=3&hl=en_GB" type="application/x-shockwave-flash" width="560"></embed></object>

      <iframe width="560" height="315" src="http://www.youtube.com/embed/RZ-uV72pQKI" frameborder="0" allowfullscreen></iframe>

      )

      3. make this page the home page (in Home tool > site Info URL)
      4. visit page (Home tool) - You should see two embedded YouTube videos. One is with the old style embed code, the other is with the new style.
      5. open the uploaded page from within resources
      6. make sure 2 videos can be seen on pop up page.

      Test with

      chrome
      Firefox
      MSIE

      Show
      1. Go to Resources in a secure deployment 2. Upload the attached WL-2956-test.html (content is: <object height="315" width="560"><param name="movie" value="http://www.youtube.com/v/RxoZ-AZKpX8?version=3&hl=en_GB" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed allowfullscreen="true" allowscriptaccess="always" height="315" src="http://www.youtube.com/v/RxoZ-AZKpX8?version=3&hl=en_GB" type="application/x-shockwave-flash" width="560"></embed></object> <iframe width="560" height="315" src="http://www.youtube.com/embed/RZ-uV72pQKI" frameborder="0" allowfullscreen></iframe> ) 3. make this page the home page (in Home tool > site Info URL) 4. visit page (Home tool) - You should see two embedded YouTube videos. One is with the old style embed code, the other is with the new style. 5. open the uploaded page from within resources 6. make sure 2 videos can be seen on pop up page. Test with chrome Firefox MSIE

      Description

      YouTube videos are currently embedded in WebLearn pages that use the http protocol which causes the videos to be blocked.

      These should be rewritten to either be protocol agnostic (e.g. //www.youtube.com) or https://www.youtube.com.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  nickwilson Nick Wilson
                  Reporter:
                  nickwilson Nick Wilson
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:

                      Git Integration