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

<span class="nolink"> does not work properly in all cases

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not a bug
    • 1.5.3, 2.0.2, 2.4
    • None
    • Filters
    • MOODLE_15_STABLE, MOODLE_20_STABLE, MOODLE_24_STABLE
    • Hide

      use

      <a class="nomediaplugin" href="pathtofile.mp3">download a file</a>
      

      Show
      use <a class="nomediaplugin" href="pathtofile.mp3">download a file</a>

    Description

      But in some cases I wanted to avoid the filter to be sure that, to see the video related to a text, will be just a student's option.

      I found this way to do this :

      To insert in html editor, in html format the classic javascript:void(window.open.. etc,

      for exemple this one ...

      <a href=javascript:void(window.open('http://www.myweb.conm/file.wmv', '', 'resizable=no,scrollbars=yes,status=no,width=620,height=420,top=10,left=10,statusbar=0,menubar=0,location=0'))>Text to be displayed</a>

      will open file.wmv in windows media player.

      But this method is not easy, there could be some alternative ?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              imported Imported
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              13 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: