mirror of
https://github.com/screentinker/screentinker.git
synced 2026-06-15 02:33:15 -06:00
The player loaded the YouTube embed via loadDataWithBaseURL with base https://www.youtube.com, so the embedding page claimed to BE youtube.com hosting a youtube.com iframe. YouTube rejects that as an invalid embed context -> 'This video is unavailable / Error 152 - 4' for every video (reproduced on a Pixel 10 / Android 16 emulator with multiple known-embeddable videos). Load the embed under a real third-party domain (EMBED_BASE = the product domain) so the referrer is a legitimate embedding site. The iframe still points at youtube.com/embed. Verified: video now plays. (The earlier base=youtube.com was the Error 153 fix; this supersedes it - a normal domain referrer fixes 153 too.) |
||
|---|---|---|
| .. | ||
| src/main | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||