I use this library https://github.com/youtube/youtube-ios-player-helper in my project. The player works fine if I use the video identifier specified by the sample (M7lc1UVf-VE). If I use the Id video from r random video on YouTube, it shows:
An error has occurred, please try again later. More details
Do I need to include youtube data API or something like that ??? because I see that another IOS Youtube assistant needs to do this. https://github.com/youtube/yt-direct-lite-iOS
Thanks.
If you want to play youtube video, you donβt need an API.
I work with this library without any errors, have you replaced "M7lc1UVf-VE" with the correct video identifier?
add this to your playerVars @ "origin": @ " http://www.youtube.com " it will work.
Source: https://habr.com/ru/post/1212594/More articles:How to programmatically connect an Android device to a "WPA2 PSK" secure Wi-Fi network? - androidAdd delay to clojure.core.async - asynchronousThe 'datatables' module is not available! You either mistakenly wrote the name of the module, or forgot to load it - javascriptBloomberg API Optional Network - c ++Gitlab bug tracking integration with Bugzilla - gitlabYii2 how to display images stored in a web folder - imageHow to send and receive data using the BluetoothManager.framework API for iOS - iosDifference between SYSDATE (), NOW (), CURRENT_TIMESTAMP, CURRENT_TIMESTAMP () in MySQL? - databaseHow to get Drawable resource attribute on Android? - androidorg.springframework.web.servlet.PageNotFound noHandlerFound No mapping found for HTTP request with URI - springAll Articles