Skip to content

Commit

Permalink
Use IOS client
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrews54757 committed Aug 3, 2024
1 parent b967245 commit ce2d02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/player/players/yt/YTPlayer.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default class YTPlayer extends DashPlayer {

async getVideoInfo(identifier, tvMode = false) {
const cache = (await IndexedDBManager.isSupportedAndAvailable() && !EnvUtils.isIncognito()) ? new UniversalCache() : undefined;
const mode = tvMode ? ClientType.TV_EMBEDDED : ClientType.ANDROID;
const mode = tvMode ? ClientType.TV_EMBEDDED : ClientType.IOS;
const youtube = await Innertube.create({
cache,
fetch: this.youtubeFetch.bind(this),
Expand Down

0 comments on commit ce2d02a

Please sign in to comment.