79805637

Date: 2025-10-31 10:14:05
Score: 2.5
Natty:
Report link

I read the documentation and fixed my problem with this solution. Thanks to @brendo234!

val headers = mutableMapOf<String, String>()
    val bundleId = //your package name // Sample: "com.sampleapp
    val referrer = "https://$bundleId"
    headers.put("Referer",referrer)
    binding.webview.loadUrl("https://www.youtube.com/embed/$videoId",headers)
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): youtube.com
  • Has code block (-0.5):
  • User mentioned (1): @brendo234
  • Low reputation (0.5):
Posted by: Yasin Ege