allow playback of videos
fix deprecation warnings
check for __linux__ define not LINUX