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

Youtube links - in page forum post replies

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7, 3.7.2
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
      None

      Description

      Pasting a link to a YouTube video using the Atto editor by default results in the YouTube video being embedded in the post/page etc.

      However, if a user pastes a link to you YouTube video in an in page forum post, a popup warning appears, a blank black rectangle appears but the video is not view-able. 

       

      To reproduce:

      1. Post an in page reply to a forum post
      2. Include a YouTube link in the reply, and click submit
      3. A pop-up warning appears: "TypeError: Cannot read property 'techOrder' of undefined"
      4. Close this warning.
      5. The message has been posted but the YouTube is not embedded correctly.

        Attachments

        1. quick-reply-1.jpg
          quick-reply-1.jpg
          148 kB
        2. quick-reply-2.jpg
          quick-reply-2.jpg
          213 kB
        3. quick-reply-3.jpg
          quick-reply-3.jpg
          130 kB
        4. screenshot-1.png
          screenshot-1.png
          33 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cb526 cb526
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: