index.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <html ng-app="mdWavesurferApp">
  2. <head>
  3. <title>wavesurfer.js | Angular Material</title>
  4. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <link href='http://fonts.googleapis.com/css?family=Roboto:400,500' rel='stylesheet' type='text/css'>
  7. <link href='https://cdnjs.cloudflare.com/ajax/libs/material-design-iconic-font/2.2.0/css/material-design-iconic-font.min.css'
  8. rel='stylesheet' type='text/css'>
  9. <link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/github.min.css" rel="stylesheet">
  10. <link href="https://cdnjs.cloudflare.com/ajax/libs/angular-material/1.0.0-rc3/angular-material.min.css"
  11. rel="stylesheet" type="text/css"/>
  12. <link rel="stylesheet" href="main.css"/>
  13. <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.min.js"></script>
  14. <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular-animate.min.js"></script>
  15. <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular-aria.min.js"></script>
  16. <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-material/1.0.0-rc3/angular-material.min.js"></script>
  17. <script type="text/javascript" src="../../dist/wavesurfer.js"></script>
  18. <script type="text/javascript" src="wavesurfer.directive.js"></script>
  19. <script type="text/javascript" src="main.js"></script>
  20. </head>
  21. <body ng-controller="MainController">
  22. <md-wavesurfer-audio player-wave-color="gray" player-progress-color="black"
  23. player-backend="MediaElement">
  24. <!-- This is analogous to HTML <source> element -->
  25. <md-wavesurfer-source src="../media/demo.wav" title="czskamaarù – Trou"></md-wavesurfer-source>
  26. <md-wavesurfer-source src="../panner/media.wav" title="日本人の話し"></md-wavesurfer-source>
  27. <md-wavesurfer-source src="../elan/transcripts/001z.mp3"
  28. title="Рассказы о сновидениях"></md-wavesurfer-source>
  29. <!-- <md-wavesurfer-source -->
  30. <!-- src="http://download.wavetlan.com/SVV/Media/HTTP/MP3/Nero_SmartTrax/NeroSmartTrax_test1_MPEG2_Stereo_CBR_48kbps_22050Hz.mp3" -->
  31. <!-- title="Remote: Nero SmartTrax- Test 1"></md-wavesurfer-source> -->
  32. <!-- <md-wavesurfer-source -->
  33. <!-- src="http://download.wavetlan.com/SVV/Media/HTTP/MP3/Nero_SmartTrax/NeroSmartTrax_test2_MPEG1_Mono_CBR_64kbps_44100Hz.mp3" -->
  34. <!-- title="Remote: Nero SmartTrax- Test 2"></md-wavesurfer-source> -->
  35. <!-- Long list, using previously loaded files, need to test container.-->
  36. <md-wavesurfer-source ng-repeat="item in longList" src="{{item.url}}"
  37. title="{{item.title}}"></md-wavesurfer-source>
  38. </md-wavesurfer-audio>
  39. </body>
  40. </html>