Wikia/app — pull request #3932 by armonr (2014-06-17 15:52:14+00:00)
Title: VID-424

RFCR @garthwebb @jsutterfield

Factors out the internal video file pattern recognition so that both video insertion and video upload can use it.
This logic was different in video add vs video insertion in editor and caused fatal error in one case. please see the ticket for more details.