Is it possible to display YouTube's like/dislike buttons and subscribe channel features with the video on my site even if the user is not logged in? I found that I can use an iframe and css to crop out the like button from the video page on YouTube and display it in a borderless iframe on my webpage, but I don't need to it in this way . Also I've checked this player demo https://developers.google.com/youtube/youtube_player_demo but the controls needs to be loggedin to appear. I'm using this library https://developers.google.com/youtube/articles/codeigniter_library
2
votes
1 Answers
0
votes
For the like/dislike buttons, see the YouTube Video rate
API: https://developers.google.com/youtube/v3/docs/videos/rate
GET https://www.googleapis.com/youtube/v3/videos/getRating
Your visitor will not need to be 'logged in' but your application must be. The call has a quota impact of 1, as of July 2020.