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

Videos in messaging and chat give an error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.7, 3.1.3, 3.2
    • 3.1.4
    • JavaScript, Messages
    • MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
    • MOODLE_31_STABLE
    • wip-MDL-56899-master
    • Hide
      1. Ensure you have 'Convert URLs into links and images' and 'Multimedia plugins' filters turned on with the URL one listed first.
      2. Visit the messaging page (on master) or chat window (on stables and master)
      3. Send the URL http://techslides.com/demos/sample-videos/small.mp4 to another user.
      4. Send a youtube video and a vimeo video as well
      5. Also send an mp3 file
      6. Check that you do not get errors on the screen or in error.log
      Show
      Ensure you have 'Convert URLs into links and images' and 'Multimedia plugins' filters turned on with the URL one listed first. Visit the messaging page (on master) or chat window (on stables and master) Send the URL http://techslides.com/demos/sample-videos/small.mp4 to another user. Send a youtube video and a vimeo video as well Also send an mp3 file Check that you do not get errors on the screen or in error.log

    Description

      Reproduction steps

      1. Enable video JS at Site administration / ▶︎ Plugins / ▶︎ Media players / ▶︎ Manage media players
      2. Go to the new messaging interface
      3. Send a video to someone
      4. Reload the page
      5. You will get this error

        Warning: DOMDocument::loadHTML(): Tag video invalid in Entity, line: 1 in /home/vagrant/moodles/integration_master/moodle/lib/weblib.php on line 1322
        

      6. The video will be tiny (the size of the play button)

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              johno John Okely
              John Okely John Okely
              David Monllaó David Monllaó
              Rajesh Taneja Rajesh Taneja
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jan/17