MediaElement.js - force Chrome to use flash player?

David picture David · Feb 24, 2011 · Viewed 9.9k times · Source

We're having problems with Chrome crashing, and it seems to be related to the html5 video player, is there any way to force MediaElement.js to use the flash player even if html5 is supported? I can do a browser test in jQuery if I can figure out what setting to pass to mediaelement.

I've seen a few tantalizing suggestions in blogs and forums that this can be done, but I'm not seeing a specific option in the documentation. Any help would be very much appreciated!

Answer

John Dyer picture John Dyer · Mar 9, 2011

Here you go:

new MediaElementPlayer('video',{mode:'shim'});