mirror of
https://github.com/samuelmaddock/gm-mediaplayer.git
synced 2025-03-04 03:03:02 -05:00
chore: remove required youtube tos
This commit is contained in:
parent
a3634368b8
commit
8f093d4ed5
@ -2,12 +2,5 @@
|
||||
None of your data is shared with the Media Player addon's creator
|
||||
or external parties.
|
||||
|
||||
When you request links to YouTube, that link is sent to YouTube for
|
||||
processing. The metadata received is used to display the video title
|
||||
and duration.
|
||||
|
||||
The Media Player addon does use YouTube's Client API which requires
|
||||
you to agree to YouTube's privacy policy (<a href=https://policies.google.com/privacy>https://policies.google.com/privacy</a>).
|
||||
|
||||
<a href=./request.html>Go back</a>
|
||||
</pre></section></div><link href="https://fonts.googleapis.com/css?family=Oswald" rel=stylesheet>
|
@ -1 +1 @@
|
||||
"use strict";function requestUrl(){var a=document.getElementById("urlinput"),b=a.value;0!==b.length&&gmod.requestUrl(b)}function onUrlKeyDown(a){13===(a.keyCode||a.which)&&requestUrl()}function hoverService(){console.log("PLAY: garrysmod/ui_hover.wav")}function selectService(a){console.log("PLAY: garrysmod/ui_click.wav");var b=a.dataset.href;void 0!==a.dataset.overlay?gmod.openUrl(b):window.location.href=b}!function(a){localStorage.getItem("tos")||(location.href="./tos.html"),void 0!==a&&(window.setServices=function(a){a=a.split(",");for(var b,c,d=document.querySelectorAll(".media-service"),e=0;e<d.length;e++)if(b=d[e],c=b.dataset.service){c=c.split(" ");for(var f=0;f<c.length;f++)-1===a.indexOf(c[f])&&(b.style.display="none")}},a.getServices())}(window.gmod);
|
||||
"use strict";function requestUrl(){var a=document.getElementById("urlinput"),b=a.value;0!==b.length&&gmod.requestUrl(b)}function onUrlKeyDown(a){13===(a.keyCode||a.which)&&requestUrl()}function hoverService(){console.log("PLAY: garrysmod/ui_hover.wav")}function selectService(a){console.log("PLAY: garrysmod/ui_click.wav");var b=a.dataset.href;void 0!==a.dataset.overlay?gmod.openUrl(b):window.location.href=b}!function(a){void 0!==a&&(window.setServices=function(a){a=a.split(",");for(var b,c,d=document.querySelectorAll(".media-service"),e=0;e<d.length;e++)if(b=d[e],c=b.dataset.service){c=c.split(" ");for(var f=0;f<c.length;f++)-1===a.indexOf(c[f])&&(b.style.display="none")}},a.getServices())}(window.gmod);
|
8
tos.html
8
tos.html
@ -1,10 +1,8 @@
|
||||
<!DOCTYPE html><html><head><meta charset=utf-8><title>Media Player - Request</title><meta name=description content="Garry's Mod Media Player request page."><meta name=keywords content=garrysmod,media,player,request,search,youtube,vimeo,twitch,livestream,blip,reddit><meta name=author content="pixelTail Games"><link rel=stylesheet href=styles/request.css><body><div style=position:absolute;top:0;left:0;right:0;bottom:0><section class=content-container><h1>Terms of Service</h1><!-- "And if you see Mr. Sundar, tell him I said **** you!" --><pre style="max-width: 50%; white-space: pre-line">
|
||||
<!DOCTYPE html><html><head><meta charset=utf-8><title>Media Player - Request</title><meta name=description content="Garry's Mod Media Player request page."><meta name=keywords content=garrysmod,media,player,request,search,youtube,vimeo,twitch,livestream,blip,reddit><meta name=author content="pixelTail Games"><link rel=stylesheet href=styles/request.css><body><div style=position:absolute;top:0;left:0;right:0;bottom:0><section class=content-container><h1>Terms of Service</h1><pre style="max-width: 50%; white-space: pre-line">
|
||||
Terms of Service
|
||||
Dated: May 23, 2020
|
||||
Dated: August 9, 2020
|
||||
|
||||
You must agree to YouTube's Terms of Service (<a href=https://www.youtube.com/t/terms>https://www.youtube.com/t/terms</a>) to continue.
|
||||
|
||||
You must also agree to the Media Player addon's <a href=./privacy.html>privacy policy.</a>
|
||||
You must agree to the Media Player addon's <a href=./privacy.html>privacy policy.</a>
|
||||
</pre><button id=agree type=button style="color: black">I agree</button></section></div><link href="https://fonts.googleapis.com/css?family=Oswald" rel=stylesheet><script>var agreeBtn = document.getElementById('agree')
|
||||
agreeBtn.addEventListener('click', function agreeClick() {
|
||||
localStorage.setItem('tos', '1')
|
||||
|
Loading…
Reference in New Issue
Block a user