Advertisement
solaire

playlist page (1/2)

Jan 14th, 2018
4,947
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.13 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <!--
  3.  
  4. playlist page (1/2) by nouvae
  5.  
  6. all instructions in the code! :)
  7.  
  8. -->
  9.  
  10. <head>
  11. <link href="https://fonts.googleapis.com/css?family=Muli" rel="stylesheet">
  12. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  13. <script src="https://static.tumblr.com/qbey5ak/lAUpa0oft/nouplaybasic.js"></script>
  14. <script>
  15.  
  16. /* -------------------- OPTIONS - START -------------------- */
  17.  
  18. /*
  19.  
  20. Your Tumblr username
  21.  
  22. i.e. var username = "";
  23.  
  24. */
  25. var username = "";
  26.  
  27. /*
  28.  
  29. Amount of songs desired in playlist.
  30. Max is 33.
  31.  
  32. i.e. var amount = 12;
  33.  
  34. */
  35. var amount = 12;
  36.  
  37. /*
  38.  
  39. The tag where the audio is under
  40. If your tag has a space, replace the spaces with a + sign.
  41.  
  42. i.e. var tag = "music";
  43. i.e. var tag = "my+playlist";
  44.  
  45. defaults to all audio posts
  46.  
  47. */
  48. var tag = "";
  49.  
  50. /*
  51.  
  52. Color of the play button.
  53.  
  54. Search up "color picker" or "hex color codes" to find a color you like.
  55.  
  56. To have no background button color, write "transparent"
  57.  
  58. i.e. var buttonColor = "transparent";
  59.  
  60. i.e. var buttonColor = "#f5f5f5";
  61.  
  62. */
  63. var buttonColor = "#f5f5f5";
  64.  
  65. /*
  66.  
  67. If true, turns all the play button into a white button.
  68.  
  69. */
  70. var whiteButton = false;
  71.  
  72. /*
  73.  
  74. If true, turns all the black buttons into white buttons.
  75.  
  76. */
  77. var allWhiteButtons = false;
  78.  
  79. /*
  80.  
  81. Color of text.
  82.  
  83. i.e. var textColor = "#000000";
  84.  
  85. */
  86. var textColor = "";
  87.  
  88. /*
  89.  
  90. Color of progress bar.
  91.  
  92. */
  93. var progressColor = "#cccccc";
  94.  
  95. /*
  96.  
  97. URL or image location of your cover.
  98. Defaults to the cover color.
  99.  
  100. i.e. var coverBackgroundURL = "https://78.media.tumblr.com/6f5b16ec99c143b707f487884100dab5/tumblr_owl6u85REe1v6bbyzo1_1280.jpg";
  101.  
  102. */
  103. var coverBackgroundURL = "";
  104.  
  105.  
  106. /*
  107.  
  108. Color of your cover.
  109.  
  110. i.e. var coverBackground = "#cccccc";
  111.  
  112. */
  113. var coverBackground = "";
  114.  
  115. /*
  116.  
  117. Background of the playlist.
  118. Defaults to transparent background. (Suggested to leave empty if you are using the playlist page)
  119.  
  120. */
  121. var backgroundColor = "";
  122.  
  123. /* -------------------- OPTIONS - END -------------------- */
  124.  
  125. </script>
  126.  
  127. <script src="https://static.tumblr.com/qbey5ak/qsmpa105g/nouplaybasic2.js"></script>
  128. <link rel="stylesheet" href="https://static.tumblr.com/qbey5ak/gPFpa1028/nouplaybasic.css" />
  129. </head>
  130.  
  131. <body>
  132. <div id="playlist">
  133. <div id="player"></div>
  134. <div id="aside">
  135. <div id="cover">
  136. <!--
  137. A description will appear if you write in the space between
  138. <div id="desc"> and </div>
  139. -->
  140. <div id="desc">
  141.  
  142. </div>
  143. </div>
  144. <div id="title">
  145. <!-- your title -->
  146. untitled
  147. </div>
  148.  
  149. <div id="bars">
  150. <div id="progressbg" value="0.5" max="1"></div>
  151. <div id="progress"></div>
  152. <div id="loading"></div>
  153. </div>
  154.  
  155. <div id="buttons">
  156. <div id="prev">
  157. <svg height="19px" id="Layer_1" style="enable-background:new 0 0 512 512;" version="1.1" viewBox="0 0 512 512" width="19px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M256,128L32,256l224,128V260.8L480,384V128L256,251.2V128L256,128z"/></svg>
  158. </div>
  159.  
  160. <div id="active">
  161. <div id="play">
  162. <svg height="20px" id="Layer_1" style="enable-background:new 0 0 512 512;" version="1.1" viewBox="0 0 512 512" width="20px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><path d="M128,96v320l256-160L128,96L128,96z"/></g></svg></div>
  163. <div id="pause">
  164. <svg height="20px" id="Layer_1" style="enable-background:new 0 0 512 512;" version="1.1" viewBox="0 0 512 512" width="20px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><rect height="320" width="79" x="128" y="96"/><rect height="320" width="79" x="305" y="96"/></g></svg>
  165. </div>
  166. </div>
  167.  
  168. <div id="next">
  169. <svg height="19px" id="Layer_1" style="enable-background:new 0 0 512 512;" version="1.1" viewBox="0 0 512 512" width="19px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M256,128v123.2L32,128v256l224-123.2V384l224-128L256,128L256,128z"/></svg>
  170. </div>
  171.  
  172. </div>
  173.  
  174. </div>
  175.  
  176. <div id="tracks"></div>
  177. </div>
  178.  
  179.  
  180. <div id="creds"><a title="nouvae">♪</a></div>
  181.  
  182. </body>
  183. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement