YouTube video plays on a normal screen. However, when I switch to PiP mode. It stops playing it with no error.
Not sure what is wrong with the following code snippet: