Skip to content

Fix video playback by using video ID bound poToken#8137

Merged
FreeTubeBot merged 2 commits intoFreeTubeApp:developmentfrom
PikachuEXE:fix/poToken-playback
Oct 15, 2025
Merged

Fix video playback by using video ID bound poToken#8137
FreeTubeBot merged 2 commits intoFreeTubeApp:developmentfrom
PikachuEXE:fix/poToken-playback

Conversation

@PikachuEXE
Copy link
Member

@PikachuEXE PikachuEXE commented Oct 15, 2025

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

Description

It seem 403 occurs again due to YT switching to video bound poToken (instead of visitorData bound poToken)
This PR just makes local API use former for all stuff now (the latter is no longer used)

Screenshots

Testing

  • Play videos, lives, shorts

Desktop

  • OS:
  • OS Version:
  • FreeTube version:

Additional context

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Oct 15, 2025
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) October 15, 2025 07:04
@efb4f5ff-1298-471a-8973-3d47447115dc efb4f5ff-1298-471a-8973-3d47447115dc dismissed their stale review October 15, 2025 11:41

probably needs changes see dev chat

@FreeTubeBot FreeTubeBot merged commit fd96c7a into FreeTubeApp:development Oct 15, 2025
5 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Oct 15, 2025
efb4f5ff-1298-471a-8973-3d47447115dc pushed a commit to efb4f5ff-1298-471a-8973-3d47447115dc/FreeTube that referenced this pull request Oct 15, 2025
* ! Fix video playback by using video ID bound poToken

* Clean up now unused session PO token code

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Oct 16, 2025
* development:
  Bump package version from 0.23.11 to 0.23.12 (FreeTubeApp#8138)
  Add error handling to the deciphering code (FreeTubeApp#8139)
  Fix video playback by using video ID bound poToken (FreeTubeApp#8137)
  Hide subscriptions wrapper on mobile and center bottom SideNav items (FreeTubeApp#8133)
  ! Fix sigFrameScript on dev in windows (FreeTubeApp#8134)
  Translated using Weblate (Estonian)
  Bump github/codeql-action from 3 to 4 (FreeTubeApp#8124)
  Translated using Weblate (Welsh)
  Bump mikefarah/yq from 4.47.2 to 4.48.1 (FreeTubeApp#8123)
  Bump stefanzweifel/git-auto-commit-action from 6 to 7 (FreeTubeApp#8125)
  Bump package version from 0.23.10 to 0.23.11 (FreeTubeApp#8126)

# Conflicts:
#	src/renderer/helpers/api/local.js
@jungle-boogie
Copy link

Thanks for the fix!

PikachuEXE added a commit to NishPatel101/FreeTube that referenced this pull request Oct 21, 2025
* development: (88 commits)
  Bump the eslint group with 4 updates (FreeTubeApp#8158)
  Translated using Weblate (German)
  Bump shaka-player from 4.16.4 to 4.16.6 (FreeTubeApp#8167)
  Bump marked from 16.4.0 to 16.4.1 (FreeTubeApp#8159)
  Bump electron from 38.2.2 to 38.3.0 (FreeTubeApp#8161)
  Bump actions/setup-node from 5 to 6 (FreeTubeApp#8162)
  Bump youtubei.js from 16.0.0 to 16.0.1 (FreeTubeApp#8163)
  Translated using Weblate (Persian)
  Translated using Weblate (Czech)
  Translated using Weblate (Bulgarian)
  Add missing IS_ELECTRON and SUPPORTS_LOCAL_API checks (FreeTubeApp#8147)
  Simplify the NATIVE_THEME_UPDATE event handler (FreeTubeApp#8140)
  Bump package version from 0.23.11 to 0.23.12 (FreeTubeApp#8138)
  Add error handling to the deciphering code (FreeTubeApp#8139)
  Fix video playback by using video ID bound poToken (FreeTubeApp#8137)
  Hide subscriptions wrapper on mobile and center bottom SideNav items (FreeTubeApp#8133)
  ! Fix sigFrameScript on dev in windows (FreeTubeApp#8134)
  Translated using Weblate (Estonian)
  Bump github/codeql-action from 3 to 4 (FreeTubeApp#8124)
  Translated using Weblate (Welsh)
  ...
FineFindus added a commit to FineFindus/LibreTube that referenced this pull request Oct 29, 2025
YouTube switched to using content-bound poToken, i.e. the poToken is generated
for each video using the video's ID. This fixes issues, where the server would
respond with 403, as the previously generated poToken was no longer valid.

Ref: FreeTubeApp/FreeTube#8137
@PikachuEXE PikachuEXE deleted the fix/poToken-playback branch November 10, 2025 05:14
FineFindus added a commit to libre-tube/LibreTube that referenced this pull request Dec 23, 2025
YouTube switched to using content-bound poToken, i.e. the poToken is generated
for each video using the video's ID. This fixes issues, where the server would
respond with 403, as the previously generated poToken was no longer valid.

Ref: FreeTubeApp/FreeTube#8137
dhanuarf pushed a commit to dhanuarf/LibreTube that referenced this pull request Jan 15, 2026
YouTube switched to using content-bound poToken, i.e. the poToken is generated
for each video using the video's ID. This fixes issues, where the server would
respond with 403, as the previously generated poToken was no longer valid.

Ref: FreeTubeApp/FreeTube#8137
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: [BAD_HTTP_STATUS: 403] Potential causes: IP block or streaming URL deciphering failed

7 participants