Created
May 24, 2013 17:39
-
-
Save cjcolvar/5645190 to your computer and use it in GitHub Desktop.
Make audio be video in flash mediaelement.js when not mp3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ //Force audio that isn't mp3s to video because the flash.media.Sound only handles mp3s | |
+ if (!_isVideo && _mediaUrl.indexOf("mp3") == -1) | |
+ _isVideo = true; | |
+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment