PDA

View Full Version : Cookies for playing a video with phonon?



spencerwash
22nd April 2024, 08:46
Hello guys,

New html5 videos on youtube need cookies to be played.
In my application, I already have the cookies from youtube.com since when I get video infos, I stored cookies in a QNetworkCookieJar.
Now, to play that video, I need to tell phonon to use those cookies else I got the forbidden reply.
I wonder if it is possible. Any suggestions?

spencerwash
24th April 2024, 04:54
minecraftle game (https://minecraftlegame.io)

Hello guys,

New html5 videos on youtube need cookies to be played.
In my application, I already have the cookies from youtube.com since when I get video infos, I stored cookies in a QNetworkCookieJar.
Now, to play that video, I need to tell phonon to use those cookies else I got the forbidden reply.
I wonder if it is possible. Any suggestions?

No answer? Hope that someone can help me