Moodle
  1. Moodle
  2. MDL-30217

Flowplayer controls are broken for audio content over https in Chrome and IE

    Details

    • Database:
      PostgreSQL
    • Workaround:
      Hide

      Not really a workaround, but I have tested https audio URLs with a custom JWplayer-based filter, works fine for the same audio in all browsers.

      Show
      Not really a workaround, but I have tested https audio URLs with a custom JWplayer-based filter, works fine for the same audio in all browsers.
    • Affected Branches:
      MOODLE_21_STABLE
    • Rank:
      26478

      Description

      There seem to be a very specific bug in the current version of flowplayer audio plugin. Upon attempt to play the file over https in Chrome or IE, the player controls become broken in a way that clip duration is not shown, navigation slider is not functioning and pause button does not work. This is only applicable to audio content (handled by flowplayer plugin /lib/flowplayer/flowplayer.audio-3.2.2.swf), the video content accessible over https link works fine.

      This is the case for both File resource and media-plugin filter, as they both use the same M.util.add_audio_player method for initiating the player.

      The issue appears in Chrome 15.0.874.106 and IE 8, works fine with Iceweasel 7.0.1 and FF 8.0.

      To replicate, if your site is hosted via https, create a file resource to any mp3 file and observe the issue. Alternatively you may add a link to audio file hosted remotely over https to the Page resource.

      There seem to be a related bug already reported upstream, but the suggested fix does not solve the problem.

        Issue Links

          Activity

          Hide
          Michael de Raadt added a comment -

          Thanks for reporting this.

          I've added it to our backlog.

          In the meantime feel free to help us work on this issue. If you are able to provide a patch, please add a patch label so we will spot it.

          Show
          Michael de Raadt added a comment - Thanks for reporting this. I've added it to our backlog. In the meantime feel free to help us work on this issue. If you are able to provide a patch, please add a patch label so we will spot it.
          Hide
          Ruslan Kabalin added a comment -
          Show
          Ruslan Kabalin added a comment - Reported on flowplayer plugins tracker: http://code.google.com/p/flowplayer-plugins/issues/detail?id=22
          Hide
          Ruslan Kabalin added a comment -

          The issue was caused by mod_deflate Apache settings, in particular it compressed mp3 which confused flowplayer. The ideal configuration should allow compressing text data only:

          AddOutputFilterByType DEFLATE text/html text/plain text/xml application/javascript application/rss+xml
          
          Show
          Ruslan Kabalin added a comment - The issue was caused by mod_deflate Apache settings, in particular it compressed mp3 which confused flowplayer. The ideal configuration should allow compressing text data only: AddOutputFilterByType DEFLATE text/html text/plain text/xml application/javascript application/rss+xml
          Hide
          Tõnis Tartes added a comment -

          Thanks for the fix Ruslan! Just stumbled upon this.

          Show
          Tõnis Tartes added a comment - Thanks for the fix Ruslan! Just stumbled upon this.
          Hide
          Ruslan Kabalin added a comment -

          @Tõnis NP

          Show
          Ruslan Kabalin added a comment - @Tõnis NP

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: