-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
27 lines (24 loc) · 1.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta name="theme-color" content="#65CEF6">
<title>YouTube API Test</title>
<link href="//fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="app.css">
</head>
<body>
<div class="container">
<h1>YouTube API Test</h1>
<p>
Today I just tested how to get the last 10 YouTube Videos from a specific channel and display them nicely. In this example you see the videos loaded from the channel of <a href="https://www.youtube.com/user/testedcom/videos">Tested</a>:
</p>
<div class="videos"></div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/superagent/3.3.1/superagent.min.js"></script>
<script src="app.js"></script>
<script src="https://cdn.rawgit.com/CodeBrauer/ebf5d310e4703b1186e7384ca1e1405d/raw/c5c1e53a82ae8370979007f8db345870e1782b78/githubcorner.js"></script>
<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create', 'UA-59784112-5', 'auto');ga('set', 'anonymizeIp', true);ga('send', 'pageview');</script>
</body>
</html>