implemented code to find out if video is emergency or not