<!DOCTYPE html><htmllang="en"><head><metacharset="UTF-8"><title>YouTube Video</title><styletype="text/css">*{box-sizing:border-box;}body{background:#f4f4f4;}#container{max-width:960px;margin:0auto;font-family:arial;}ul{display:flex;flex-flow:rowwrap;padding:0;align-content:space-between;}li{width:31%;margin-right:2%;list-style:none;margin-bottom:30px;background:white;border-radius:3px;padding:10px;}p{font-size:15px;min-height:40px;}a{color:#2793da;text-decoration:none;}a:hover{color:#333;text-decoration:underline;}.thumbnail{border:1pxsolid#fcfcfc;padding:2px;width:100%;height:auto;}</style></head><body><divid="container"><h1>Videos</h1><gallery></gallery><templateid="videos-template"><ul><liv-for="video in videos"><p><ahref="http://www.youtube.com/watch?v={{video.snippet.resourceId.videoId}}">{{video.snippet.title}}</a></p><ahref="http://www.youtube.com/watch?v={{video.snippet.resourceId.videoId}}"><imgsrc="{{video.snippet.thumbnails.medium.url}}"alt="{{video.snippet.title}}"title="{{video.snippet.title}}"class="thumbnail"/></a></li></ul></template></div><!-- #container --><scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.16/vue.js"></script><scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/vue-resource/0.7.0/vue-resource.js"></script><script>Vue.component('gallery',{template:'#videos-template',data:function(){return{videos:[]};},created:function(){this.fetchVideoList();},methods:{fetchVideoList:function(){this.$http.get('https://www.googleapis.com/youtube/v3/playlistItems?playlistId=PLAYLISTID&key=APITKEY&fields=items&part=snippet&maxResults=15',function(videosList){this.videos=videosList.items;console.log(videosList.items);});}}});newVue({el:'body'});</script></body></html>
Comments (1)
Ellen Hennry
A modified version of the official YouTube app was released in and is known as Manager of YouTube Vanced. Installing such files on Android phones and understanding the APK format were difficult tasks, particularly for non-techies. Therefore, the same developers' Vanced Manager steps in to save the day.
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.
A modified version of the official YouTube app was released in and is known as Manager of YouTube Vanced. Installing such files on Android phones and understanding the APK format were difficult tasks, particularly for non-techies. Therefore, the same developers' Vanced Manager steps in to save the day.