johndyer/mediaelement — Issue #323: setSrc throwing error in Opera 11.0/Win32/XP
Author: rubikzube
Created: 2011-12-12 18:00:42+00:00
State: open

Media element version 2.4.2

Error thrown at line 2470, column 3 in (src) : this.media.setSrc(src);

Calling code:

```javascript

var player = new MediaElementPlayer('#media-player', {
defaultVideoWidth: 320,
defaultVideoHeight: 180,
startVolume: 0.8,
loop: true,
enableAutosize: true
});

if (Ss.hasFlash) {
player.setSrc(data.preview_url);
player.load();
player.setMuted(false);
player.play();
}
```

#### Note: This works on Opera 11.60 for Mac, and IE/FF/Saf on both platforms