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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not a bug
    • Affects Version/s: 1.5.3, 2.0.2, 2.4
    • Fix Version/s: STABLE backlog
    • Component/s: Filters
    • Labels:
    • Workaround:
      Hide

      use

      <a class="nomediaplugin" href="pathtofile.mp3">download a file</a>
      
      Show
      use <a class= "nomediaplugin" href= "pathtofile.mp3" >download a file</a>
    • Affected Branches:
      MOODLE_15_STABLE, MOODLE_20_STABLE, MOODLE_24_STABLE

      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 ?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  13 Vote for this issue
                  Watchers:
                  14 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: