Usually, these cameras gets switched off once the car is off, it becomes quite difficult to play the videos.
To play these videos there are various video players available like VLC media player, and others. Usually the videos recorded on these cameras will be of AVI, MOV or MP4. Dashcams nowadays play an important role in safe driving.