added mobile detection for video