MediaEmbed: replaced filter_var() with a simple regexp to test the URL. Workaround for https://github.com/facebook/hhvm/issues/2070