johndyer/mediaelement — Issue #275: Flash playback problem (wrong video detection)
Author: kreig
Created: 2011-10-13 14:09:43+00:00
State: open

Expression this.videoRegExp.test(a)?"video":"audio" returns an incorrect value in 50% of calls. It causes flash palyback loading problem. /(mp4|m4v|ogg|ogv|webm|flv|wmv|mpeg)/gi.test(a)?"video":"audio" fixes that issue.