fixes video is unavailable#191
Closed
Nansess wants to merge 3 commits intolavalink-devs:mainfrom
Closed
Conversation
Contributor
|
Looks like it builds, just need to add the missing imports:
|
SylveonDeko
added a commit
to SylveonDeko/youtube-source
that referenced
this pull request
Jan 26, 2026
…edHostFlags support - Skip embed workaround (clientScreen: EMBED + embedUrl) for OAuth-supporting clients to avoid PLAYABILITY_ERROR_CODE_EMBEDDER_IDENTITY_DENIED errors. OAuth authentication is sufficient without pretending to be an embedded player. - For embedded clients, fetch encryptedHostFlags from the YouTube embed page and include it in the player request payload to avoid playback restrictions. - Add withEncryptedHostFlags() method to ClientConfig for setting the encryptedHostFlags in the playbackContext.contentPlaybackContext. Incorporates encryptedHostFlags approach from PR lavalink-devs#191 by @Nansess.
devoxin
pushed a commit
that referenced
this pull request
Jan 26, 2026
…edHostFlags support (#195) - Skip embed workaround (clientScreen: EMBED + embedUrl) for OAuth-supporting clients to avoid PLAYABILITY_ERROR_CODE_EMBEDDER_IDENTITY_DENIED errors. OAuth authentication is sufficient without pretending to be an embedded player. - For embedded clients, fetch encryptedHostFlags from the YouTube embed page and include it in the player request payload to avoid playback restrictions. - Add withEncryptedHostFlags() method to ClientConfig for setting the encryptedHostFlags in the playbackContext.contentPlaybackContext. Incorporates encryptedHostFlags approach from PR #191 by @Nansess.
Member
|
Superseded by #195 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
this pr is ass but gives the basic idea to the cause and how to solve idk if this is the best way to get encryptedHostFlags but its fast and seems fine whatever, code below is ass
pr made within github web so its garbage since i basically just had to use the web based editor and its ass checks
code idea worked within my codebase but its slight diff from the regular youtube source so i wrote this without ever building so no idea if this plug and play will even build