tobsch / mediaelement_rails

An easy as hell mediaelementjs rails integration for asset pipeline enabled apps...
MIT License
106 stars 49 forks source link

IE8 #29

Closed dwkoogt closed 10 years ago

dwkoogt commented 10 years ago

mediaelement works fine on IE8 in dev mode. but once it is precompiled for production, it fails on IE8. javascript unspecified error thrown when you click to play.

fusion2004 commented 10 years ago

Do you have more specific information about your stack that you can share? Are you compiling the javascript assets with uglifier (sprockets default gem for minifying js)?

I'll take a look at this tonight, so any more information you can provide would be appreciated.

dwkoogt commented 10 years ago

It's Rails 3.2.17, ruby 2.0. Yes, the js assets are compiled with uglifier with following opts: config.assets.js_compressor = Uglifier.new(output: {ascii_only: true, quote_keys: true})

I've tried changing to YUI compiler(0.11.0) but had same result.

dwkoogt commented 10 years ago

we found the problem. this is not gem issue anymore. our asset host was set with https for cloudfront cdn. hence the swf was served out of https while js was served in http.

fusion2004 commented 10 years ago

Gotcha. If you find any other issues with the gem, feel free to open new issues! Thanks.