Skip to content

Commit 95251da

Browse files
committed
updated for jcwyt
1 parent 95c5541 commit 95251da

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
Use to get around blocked YouTube videos ;)
1+
### Use to get around blocked YouTube videos ;)
22

3-
Find the finished product here:
4-
https://link.jonahkc.com/ytunblocked
3+
Find the finished product [here](https://link.jonahkc.com/ytunblocked)
54

65
Credit to DuckDuckGo for some of the <iframe> code

index.html

+4-5
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h1 class="center">YouTube Unbl*cked</h5>
2727
<div class=center>
2828
<h3>Insert YouTube Link:</h3>
2929
<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>
3131
</div>
3232
<br>
3333
<div id="instructions" class="center">
@@ -38,14 +38,13 @@ <h3>Not Working?</h3>
3838
<p>Make sure there isn't anything funky at the end of the link, just the video ID!</p>
3939

4040

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>-->
4341

4442
</div>
4543
<div id="video-holder-holder">
4644
<div id="video-holder" class="center" style="display:none;">
4745
<hr>
4846
<iframe id="video" width="560" height="315" src="https://www.youtube-nocookie.com/embed/dQw4w9WgXcQ?wmode=transparent&amp;iv_load_policy=3&amp;autoplay=0&amp;html5=1&amp;showinfo=0&amp;rel=0&amp;modestbranding=1&amp;playsinline=0&amp;theme=light" frameborder="0" scrolling="no" allowfullscreen="" webkitallowfullscreen="" mozallowfullscreen=""></iframe>
47+
<p><a href="DOWNLOAD">Download Video</a></p>
4948
</div>
5049
</div>
5150

@@ -55,8 +54,8 @@ <h3>Instructions:</h3>
5554
</div> -->
5655
<footer class="center">
5756
<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>
6059
</footer>
6160
<script src="script.js"></script>
6261
</body>

script.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const base = "https://www.youtube-nocookie.com/embed/";
44
const end = "?wmode=transparent&amp;iv_load_policy=3&amp;autoplay=0&amp;html5=1&amp;showinfo=0&amp;rel=0&amp;modestbranding=1&amp;playsinline=0&amp;theme=light";
55
const strip_timestamps = /\?t=\d+/;
66
var submit = document.getElementById('submit');
7+
var download = document.getElementById('download');
78
var url = document.getElementById('url');
89
var video_holder;
910
var video_holder_holder = document.getElementById('video-holder-holder');
@@ -20,4 +21,4 @@ submit.onclick = () => {
2021
video_holder.style.display = 'block';
2122
video_holder.children[1].src = base + id + end;
2223
video_holder_holder.appendChild(video_holder);
23-
}
24+
}

0 commit comments

Comments
 (0)