Skip to content

Commit

Permalink
make chrome fallback to flashplayer because we don't control our cdn and
Browse files Browse the repository at this point in the history
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
  • Loading branch information
manno committed Jan 3, 2016
1 parent ec19cdf commit a7b49c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/frontend/shared/_videoplayer_js.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
var stamp = window.location.hash.split('&t=')[1];
$('video').mediaelementplayer({
usePluginFullScreen: true,
mode: $.browser.chrome ? 'shim' : 'auto',

//pluginPath: '/assets/',
enableAutosize: true,
Expand Down

0 comments on commit a7b49c7

Please sign in to comment.