Song

style: homepage UI 수정

1 <% include ./includes/header.ejs %> 1 <% include ./includes/header.ejs %>
2 - <div id="masonry_container"> 2 + <div style="background-color:lavenderblush">
3 <% var count = 0; %> 3 <% var count = 0; %>
4 + <center>
4 <% for (var i in video) { %> 5 <% for (var i in video) { %>
5 - <div> 6 + <div style ="color:gray; font-weight:bold; font-size:2.0em;">
6 <%=video[i].category.title%> 7 <%=video[i].category.title%>
7 </div> 8 </div>
8 <% for (var j in video[i].videos) { %> 9 <% for (var j in video[i].videos) { %>
9 - <div id="<%=count%>" vid="<%=video[i].videos[j].video_id%>"> 10 + <div id="<%=count%>" vid="<%=video[i].videos[j].video_id%>">
10 - </div> 11 + </div>
11 <%count++;};};%> 12 <%count++;};};%>
13 + </center>
12 </div> 14 </div>
13 15
14 <style type="text/css"> 16 <style type="text/css">
...@@ -48,19 +50,8 @@ ...@@ -48,19 +50,8 @@
48 height: '360', 50 height: '360',
49 width: '640', 51 width: '640',
50 videoId: videoIds[i], 52 videoId: videoIds[i],
51 - events: {
52 - // 'onReady': onPlayerReady,
53 - // 'onStateChange': onPlayerStateChange
54 - }
55 }); 53 });
56 } 54 }
57 } 55 }
58 -
59 - // function onPlayerReady(event) {
60 - // }
61 - // function onPlayerStateChange(event) {
62 - // }
63 - // function stopVideo() {
64 - // }
65 </script> 56 </script>
66 <% include ./includes/footer.ejs %> 57 <% include ./includes/footer.ejs %>
...\ No newline at end of file ...\ No newline at end of file
......