Please use the following check instead:

```php
WikiaFileHelper::isFileTypeVideo()
```