Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential Violation of YouTube Developer Policies in Mobile Implementation #341

Open
yininge opened this issue Jul 5, 2024 · 0 comments

Comments

@yininge
Copy link

yininge commented Jul 5, 2024

After reviewing the YouTube Developer Policies, I believe that using this package on mobile devices may violate the guidelines stated in the section "Your API service must reflect a user’s standard experience on YouTube." Specifically, the policy mentions:

Don’t use YouTube’s API to...

Restrict YouTube’s ability to verify from where the playback occurs.
Example: In the case of mobile applications using a WebView to host the YouTube IFrame SDK web player, failing to accurately represent the name of your application (e.g. com.company.appname) accurately as HTTP Referer header.

From the project documentation, it appears that this package uses a WebView to host the YouTube IFrame web player. This implementation might fail to accurately represent the name of the application as the HTTP Referer header, potentially violating YouTube's policies.

Steps to Reproduce:

  1. Use the package in a mobile application.
  2. Monitor the HTTP headers during playback.

Concern:

If the HTTP Referer header does not accurately represent the name of the application (e.g., com.company.appname), this could be a policy violation.

Recommendation:

Please reconsider the use of this package if you have concerns about potential violations. It might be necessary to update the implementation to ensure compliance with YouTube’s Developer Policies, particularly in how the application name is represented in the HTTP Referer header.

Screenshot 2024-07-05 at 3 21 22 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant