refactored the preview to use AVplayer