Fix YouTube video playback errors by updating base URL to youtube-nocookie.com#110
Fix YouTube video playback errors by updating base URL to youtube-nocookie.com#110Tibimac merged 1 commit intorinov:masterfrom
Conversation
Hi @gdncomm-elavarasan-m, sorry for the late reply but it seems that the main and original maintainer is not anymore really involved in the project but I can't affirm it without a confirmation from him. |
|
@davidgalarza @gdncomm-elavarasan-m I'm currently testing a version of my app with the modification to check if everything is fine. |
|
@davidgalarza @gdncomm-elavarasan-m Merged and released guys. |
🐛 Problem
YouTube recently changed their API policies, causing video playback to fail with Error 152 and Error 150 when using
www.youtube.comas the base URL for embedded players.✅ Solution
Updated the base URL from
https://www.youtube.comtohttps://www.youtube-nocookie.cominYTSwiftyPlayer.swift.🔧 Changes
basePlayerURLStringconstant inYTSwiftyPlayer.swift�� Why this works
youtube-nocookie.comis Google's official domain for embedded YouTube content🧪 Testing
🔗 References