File tree 3 files changed +8
-9
lines changed
3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
- Use to get around blocked YouTube videos ;)
1
+ ### Use to get around blocked YouTube videos ;)
2
2
3
- Find the finished product here:
4
- https://link.jonahkc.com/ytunblocked
3
+ Find the finished product [ here] ( https://link.jonahkc.com/ytunblocked )
5
4
6
5
Credit to DuckDuckGo for some of the <iframe > code
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ <h1 class="center">YouTube Unbl*cked</h5>
27
27
< div class =center >
28
28
< h3 > Insert YouTube Link:</ h3 >
29
29
< input id ="url " type ="text " placeholder ="" required >
30
- < button id ="submit " class ="submit-button "> Submit </ button >
30
+ < button id ="submit " class ="submit-button "> Watch </ button >
31
31
</ div >
32
32
< br >
33
33
< div id ="instructions " class ="center ">
@@ -38,14 +38,13 @@ <h3>Not Working?</h3>
38
38
< p > Make sure there isn't anything funky at the end of the link, just the video ID!</ p >
39
39
40
40
41
- <!--<h3>Acceptable link formats:</h3>
42
- <p>✓ https://www.youtube.com/watch?v=MOOSE<br>✘ https://m.youtube.com/watch?v=MOOSE<br>✘ http://www.youtube.com/watch?v=MOOSE<br>✘ http://www.youtube.com/watch?v=MOOSE</p>-->
43
41
44
42
</ div >
45
43
< div id ="video-holder-holder ">
46
44
< div id ="video-holder " class ="center " style ="display:none; ">
47
45
< hr >
48
46
< iframe id ="video " width ="560 " height ="315 " src ="https://www.youtube-nocookie.com/embed/dQw4w9WgXcQ?wmode=transparent&iv_load_policy=3&autoplay=0&html5=1&showinfo=0&rel=0&modestbranding=1&playsinline=0&theme=light " frameborder ="0 " scrolling ="no " allowfullscreen ="" webkitallowfullscreen ="" mozallowfullscreen =""> </ iframe >
47
+ < p > < a href ="DOWNLOAD "> Download Video</ a > </ p >
49
48
</ div >
50
49
</ div >
51
50
@@ -55,8 +54,8 @@ <h3>Instructions:</h3>
55
54
</div> -->
56
55
< footer class ="center ">
57
56
< br >
58
- < hr class =" footerhr " >
59
- < p > Made by < a class ="linelink " href ="https://jcinc.jonahkc. com " target ="_blank "> jcinc.jonahkc. com</ a >
57
+ < hr >
58
+ < p > Made by < a class ="linelink " href ="https://jcwyt. com " target ="_blank "> jcwyt. com</ a > </ p >
60
59
</ footer >
61
60
< script src ="script.js "> </ script >
62
61
</ body >
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ const base = "https://www.youtube-nocookie.com/embed/";
4
4
const end = "?wmode=transparent&iv_load_policy=3&autoplay=0&html5=1&showinfo=0&rel=0&modestbranding=1&playsinline=0&theme=light" ;
5
5
const strip_timestamps = / \? t = \d + / ;
6
6
var submit = document . getElementById ( 'submit' ) ;
7
+ var download = document . getElementById ( 'download' ) ;
7
8
var url = document . getElementById ( 'url' ) ;
8
9
var video_holder ;
9
10
var video_holder_holder = document . getElementById ( 'video-holder-holder' ) ;
@@ -20,4 +21,4 @@ submit.onclick = () => {
20
21
video_holder . style . display = 'block' ;
21
22
video_holder . children [ 1 ] . src = base + id + end ;
22
23
video_holder_holder . appendChild ( video_holder ) ;
23
- }
24
+ }
You can’t perform that action at this time.
0 commit comments