sampotts / plyr

A simple HTML5, YouTube and Vimeo player
https://plyr.io
MIT License
26.66k stars 2.93k forks source link

Youtube prohibitions - We can't modify the Layout of Youtube Player, that's correct? #1994

Open renatog-cit opened 4 years ago

renatog-cit commented 4 years ago

Hello everyone how are you?

First of all congrats on the project! This library is very useful!

One question, we were reading this Google document about some prohibitions: https://developers.google.com/youtube/terms/developer-policies#i.-additional-prohibitions

And in the 4th item there is:

modify, interfere with, replace, or otherwise disable any functionality, data, or content made available as part of, or in connection with, YouTube API Services. For example, you must not remove, obscure, alter, or disable any links that appear in YouTube players or in API Data.

6th item:

modify, build upon, or block any portion or functionality of a YouTube player;

And 10th

create, include, or promote features that play content, including audio or video components, from a background player, meaning a player that is not displayed in the page, tab, or screen that the user is viewing;

So just to confirm as a double-check in the "Legal" side we can't use Plyr to modify Youtube player that's correct?

I'm asking because I found nothing on GitHub about this item.

Thank you so much in advance.

sampotts commented 4 years ago

It has come up in the past. I'm in the process (slowly) of adding an option to disable the custom controls which solves 4th & 6th. It's in the dev branch but I've not fully tested it yet. 10th isn't something Plyr supports anyway.

sparkktv commented 4 years ago

Those terms only apply if you are using the API of YouTube Services. Meaning building an app or building something that requires their API code or API key. And in that case you could just disable Plyr in those applications once the disable option is available. And there are ways around that but you'd have to deep dive search to find those ways. And the end of the day it's really that YouTube just wants their name on your own stuff if you are using their services to host your video. They want credit basically. And they know they can't stop you unless you are using their API which they have to approve, it's a bully-tactic in my opinion but if you can avoid their API, you're good...

mustafamunawar commented 2 years ago

The official docs literally explain how to create your own player; that's the whole purpose of the IFrame API, and that's why there is an option to hide the controls : https://developers.google.com/youtube/iframe_api_reference#Examples . Not against the TOS. I suppose removing YouTube branding completely may be against TOS.

sampotts commented 2 years ago

The official docs literally explain how to create your own player; that's the whole purpose of the IFrame API, and that's why there is an option to hide the controls : https://developers.google.com/youtube/iframe_api_reference#Examples . Not against the TOS. I suppose removing YouTube branding completely may be against TOS.

I guess it might be a grey area but their lawyers also did send me a cease and desist 😄

mustafamunawar commented 2 years ago

@sampotts Okay, that's very discouraging. I was actually in the midst of creating my own dedicated YouTube "interactive player", outside Plyr.io. It's actually very slick. Quick question: How long ago was the Cease & Desist? Did you comply? Plyr still has custom YouTube controls, so I guess you didn't comply? Or, was adding a "customControls" good enough for them?