I have been trying to get youtube videos to work.
Everything works now fine except it does not work on iPad.
The example at https://krpano.com/examples/youtube/ does not work either. As far as I understand the Youtube viewer should not have problem with HTML5.
I can not find any specific settings you need to ad for it.
Hans