p.html 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. {{$head := `<link href="/static/p.css" rel="stylesheet">`}}
  2. {{template "header.html" $head}}
  3. <header>
  4. <img src="/static/audioaxis-white.png" alt="Audio Axis" class="aa">
  5. <form onsubmit="return search(this.song.value)">
  6. <label for="user">Username:</label>
  7. <input type="text" id="user" value="anonymous" size="16" onkeypress="return userKeyPress(event)">
  8. <br>
  9. <label for="song">Add a song:</label>
  10. <input type="text" id="song" autocomplete="off">
  11. <input type="submit" value="Search">
  12. </form>
  13. <div id="results" onblur="$(this).slideUp()"><ul>
  14. </ul></div>
  15. </header>
  16. <article>
  17. </article>
  18. {{$first := "82KEVKGRAhI"}}
  19. <script>
  20. var pid = '{{.Id}}';
  21. </script>
  22. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
  23. <script src="/static/script.js"></script>
  24. <object data="http://www.youtube.com/v/{{$first}}?version=3&amp;enablejsapi=1" id="player" width="1" height="1" type="application/x-shockwave-flash">
  25. <param name="movie" value="http://www.youtube.com/v/{{$first}}?version=3&amp;enablejsapi=1">
  26. <param name="allowScriptAccess" value="always">
  27. <embed src="http://www.youtube.com/v/{{$first}}?version=3&amp;enablejsapi=1" allowScriptAccess="always">
  28. </object>
  29. {{template "footer.html"}}