Default Question on S Display

Is is possible to play a youtube video while the phone cover is covering the front so the screen turns black?