johndyer/mediaelement — Issue #404: Chrome crashes when there's an audio and a video player in the same page
Author: eliorivero
Created: 2012-02-25 20:40:12+00:00
State: open

##Setup details

**Chrome 19.0.1049.3 dev-m**
**jQuery 1.7.1**
**mediaelement-and-player.js 2.5.0**

###HTML before player initialization

````html

Video player

Audio player

````

##Issue
When the page is loaded, everything is fine. If you scroll until one of the elements is visible, for example, the video player, it's still fine. As soon as you scroll and the second element, the audio player, is visible, Chrome crashes.
The only workaround I found is to detect if the browser is Chrome and set `mode:'shim'` but it's not the ideal way.
Do you know what could be wrong?