I made a mistake on second link between audio and video. I hope that is not a problem
I need the same stream from both the script and YouTube player.
Each stream has a parameter "itag=", in YouTube select 1080p, you should get a stream with itag=248, in the script this is "Full High Definition Video WebM". Only one video and only when logged in.