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

Problems in Moodle 1.9 mediaplugin filter...

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 1.9.10
    • Filters
    • MOODLE_19_STABLE
    • Moderate

      While testing PULL-275 (MDL-26030 for 1.9), some problems have been found (thanks to Petr for his help):

      1) regexp used seem to have problems, eating complete links when multiple are used in the same page (example below)
      2) Size not working on all video/image types
      3) original links not being displayed for all medias

      To consider if backporting the 2.0 regexps could help here. You can start with just one link and go gradually adding new ones...

      This needs fixing in 1.9 ASAP ,IMO.

      Below, it's the HTML content to be pasted into one page resource to see the results:

      <p><a title="mp3" href="http://www.pacdv.com/sounds/applause-sounds/app-5.mp3">mp3</a></p>
      <hr />
      <p><a title="swf" href="http://moodle.org/invaders.swf">swf</a></p>
      <hr />
      <p><a title="mov" href="http://www.thirdpartyplugins.com/stormtracer/movies/bubbles.mov?d=240x180">mov</a></p>
      <hr />
      <p><a title="vmv" href="http://www.socialtext.net/data/workspaces/exchange/attachments/a_simple_example_of_wmv_video_file:20090811235232-0-16969/original/travelingr_83q3cvch.wmv?d=240x180">vmv</a></p>
      <hr />
      <p><a title="mpg" href="http://www.cs.ubc.ca/nest/imager/contributions/forsey/dragon/mpeg/talk.mpg?d=240x180">mpg</a></p>
      <hr />
      <p><a title="avi" href="http://www.arielnet.com/topics2/AVI_files/Hammer_Sedick0001.avi?d=240x180">avi</a></p>
      <hr />
      <p><a title="flv" href="http://www.publiblanes.net/video_flv/flashplayer_swf/RUBIK_en_1_minuto.flv?d=240x180">flv</a></p>
      <hr />
      <p><a title="ram" href="http://www17.real.com/help/library/guides/realone/IntroToStreaming/samples/ramfiles/doublesize.ram">ram</a></p>
      <hr />
      <p>rpm</p>
      <hr />
      <p><a title="ra" href="http://mcprog.homedns.org/sound/AlleluiaHeIsComing.ra">rm</a></p>
      <hr />
      <p><a title="youtube" href="http://www.youtube.com/watch?v=FUrhl974wSE">youtubelinks</a></p>
      <hr />
      <p><a title="ogg" href="http://dspace.wijiti.com/i/testing/bitstream/123456789/16/1/06_-_Vivaldi_Summer_mvt_3_Presto_-_John_Harrison_violin.ogg">ogg</a></p>
      <hr />
      <p><a title="ogv" href="http://upload.wikimedia.org/wikipedia/commons/6/65/Examplevideo.ogv">ogv</a></p>
      <hr />
      <p><a title="gif" href="http://upload.wikimedia.org/wikipedia/en/8/8f/Example.gif">image gif</a></p>
      <hr />
      <p><a title="png" href="http://images2.wikia.nocookie.net/__cb20101001183661/htmlcss/images/2/28/PNG_Example_2.png">image png</a></p>
      <hr />

            skodak Petr Skoda
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.