This document describes an assortment of techniques for detecting a media type of uploaded content. Three techniques described above include searching for a content-type tag or a file extension tag in an HTTP header of a get video snippet of code, parsing a DOM tree of a file, and running a JavaScript trace to detect a Mobile Rich Media Ad Interface Definition (“MRAID”) call to the method playVideo().

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.