13.3.0 "[StreamProtectionStatus]: Attestation required" when running example
Steps to reproduce
I'm trying to get the browser example running. The dependencies in package.json seem to be outdated. After updating to these versions:
"bgutils-js": "^3.2.0",
"googlevideo": "^3.0.0",
"shaka-player": "4.11.7",
"youtubei.js": "^13.3.0"
I was able to get it running (sometimes). In most cases I'm getting this error on the cmd line:
[StreamProtectionStatus]: Attestation required
In very rare cases the player starts and can be operated normally. In some other cases the player starts for a few seconds and then stops. During the time it is playing, I'm seeing:
[StreamProtectionStatus]: Attestation pending
And then after those few seconds:
[StreamProtectionStatus]: Attestation required
Failure Logs
[StreamProtectionStatus]: Attestation pending
[StreamProtectionStatus]: Attestation required
Expected behavior
The player in the example should operate normally.
Current behavior
Player not working in most cases (see details in "Steps to reproduce").
Version
Default
Anything else?
No response
Checklist
- [x] I am running the latest version.
- [x] I checked the documentation and found no answer.
- [x] I have searched the existing issues and made sure this is not a duplicate.
- [x] I have provided sufficient information.
for me i had to change
"youtubei.js": "^12.2.0"
to
"youtubei.js": "^13.3.0"
@LuanRT @absidue it seems already deleted, sorry for pinging both of you 🙏