index.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <title>wavesurfer.js | Playlist</title>
  6. <link href="data:image/gif;" rel="icon" type="image/x-icon" />
  7. <!-- Bootstrap -->
  8. <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
  9. <link rel="stylesheet" href="../css/style.css" />
  10. <link rel="stylesheet" href="../css/ribbon.css" />
  11. <link rel="screenshot" itemprop="screenshot" href="https://katspaugh.github.io/wavesurfer.js/example/screenshot.png" />
  12. <!-- wavesurfer.js -->
  13. <script src="../../dist/wavesurfer.min.js"></script>
  14. <!-- App -->
  15. <script src="app.js"></script>
  16. </head>
  17. <body>
  18. <div class="container">
  19. <div class="header">
  20. <ul class="nav nav-pills pull-right">
  21. <li><a href="/"><i class="glyphicon glyphicon-home"></i></a></li>
  22. </ul>
  23. <h1 itemprop="name">wavesurfer.js Playlist Demo</h1>
  24. </div>
  25. <div id="demo">
  26. <div class="row" style="margin: 30px 0">
  27. <div class="col-sm-10">
  28. <div id="waveform">
  29. <!-- Here be waveform -->
  30. </div>
  31. </div>
  32. <div class="col-sm-2">
  33. <button class="btn btn-success btn-block" id="playPause">
  34. <span id="play">
  35. <i class="glyphicon glyphicon-play"></i>
  36. Play
  37. </span>
  38. <span id="pause" style="display: none">
  39. <i class="glyphicon glyphicon-pause"></i>
  40. Pause
  41. </span>
  42. </button>
  43. </div>
  44. </div>
  45. <div class="list-group" id="playlist">
  46. <a href="../media/demo.wav" class="list-group-item">
  47. <i class="glyphicon glyphicon-play"></i>
  48. czskamaarù – Trou
  49. <span class="badge">0:21</span>
  50. </a>
  51. <a href="../panner/media.wav" class="list-group-item">
  52. <i class="glyphicon glyphicon-play"></i>
  53. 日本人の話し
  54. <span class="badge">1:04</span>
  55. </a>
  56. <a href="../elan/transcripts/001z.mp3" class="list-group-item">
  57. <i class="glyphicon glyphicon-play"></i>
  58. Рассказы о сновидениях
  59. <span class="badge badge-info">1:26</span>
  60. </a>
  61. </div>
  62. </div>
  63. <div class="footer row">
  64. <div class="col-sm-12">
  65. </div>
  66. <div class="col-sm-7">
  67. <span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" property="dct:title" rel="dct:type">wavesurfer.js</span> by <a href="https://github.com/katspaugh/wavesurfer.js">katspaugh</a> is licensed under a <a rel="license" href="https://opensource.org/licenses/BSD-3-Clause">BSD-3-Clause License</a>.
  68. </div>
  69. <div class="col-sm-5">
  70. <p>
  71. Audio sources:<br />
  72. <a rel="nofollow" href="http://www.jamendo.com/en/track/661578/trou"><b>Trou</b> <span class="muted">by</span>&nbsp;<b>czskamaarù</b></a>,
  73. <a rel="nofollow" href="http://spokencorpora.ru/">spokencorpora.ru</a>
  74. </p>
  75. </div>
  76. </div>
  77. </div>
  78. <div class="github-fork-ribbon-wrapper right">
  79. <div class="github-fork-ribbon">
  80. <a itemprop="isBasedOnUrl" href="https://github.com/katspaugh/wavesurfer.js">Fork me on GitHub</a>
  81. </div>
  82. </div>
  83. <script>
  84. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  85. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  86. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  87. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  88. ga('create', 'UA-50026819-1', 'wavesurfer.fm');
  89. ga('send', 'pageview');
  90. </script>
  91. </body>
  92. </html>