Skip to content

Commit a7b49c7

Browse files
committed
make chrome fallback to flashplayer because we don't control our cdn and
chrome changed its behaviour with redirects and multiple origins. As a result playback is broken, probably since version 47: * https://code.google.com/p/chromium/issues/detail?id=532569 * whatwg/fetch#145
1 parent ec19cdf commit a7b49c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/views/frontend/shared/_videoplayer_js.haml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
var stamp = window.location.hash.split('&t=')[1];
33
$('video').mediaelementplayer({
44
usePluginFullScreen: true,
5+
mode: $.browser.chrome ? 'shim' : 'auto',
56

67
//pluginPath: '/assets/',
78
enableAutosize: true,

0 commit comments

Comments
 (0)