Media detection plugin and example - first version.