quikava04 / flowplayer-plugins

Automatically exported from code.google.com/p/flowplayer-plugins
0 stars 0 forks source link

Controls are broken for audio content over https in Chrome and IE #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Upon attempt to play the mp3 file accessible over https link in Chrome or IE 
(not a live stream, just a link to mp3 file), the player controls become broken 
in a way that clip duration is not shown (set to 0:00), navigation slider is 
not functioning and pause button does not work. But the clip is playing and 
time from start is counting. 

What is the expected output? What do you see instead?

Expect to have pause button and navigation working, like it is working for the 
link to the same file over http.

What version of the product are you using? On what operating system?

flowplayer-3.2.7
flowplayer.controls-3.2.5
flowplayer.audio-3.2.2 

The issue appears in Chrome 15.0.874.106 and IE 8, works fine for both  http 
and https with Iceweasel 7.0.1 and FF 8.0. Tested with Debian Squeeze and 
Windows 7.

Please provide any additional information below.

This is only applicable to audio (mp3) content (handled by flowplayer plugin 
/lib/flowplayer/flowplayer.audio-3.2.2.swf). The video content accessible over 
https link works fine in all browsers. Audio content accessible over http does 
not cause the issues as well.

Original issue reported on code.google.com by ruslan.k...@luns.net.uk on 11 Nov 2011 at 9:53

GoogleCodeExporter commented 8 years ago
This can be closed now.

The issue was caused by mod_deflate Apache settings, in particular it 
compressed mp3 which confused flowplayer. The ideal configuration should 
prevent compression of the media data:

# Don't compress images and other uncompressible content
SetEnvIfNoCase Request_URI \
 \.(?:gif|jpe?g|png|rar|zip|exe|flv|mov|wma|mp3|avi|swf|mp?g)$ no-gzip dont-vary

The easier solution for some people could be compressing of the text data only:

AddOutputFilterByType DEFLATE text/html text/plain text/xml 
application/javascript application/rss+xml

Original comment by ruslan.k...@luns.net.uk on 5 Jan 2012 at 11:07