You might want to check if the file is local video before clearing the cache?