Web based player for "An Audio Guide to Occupation" by Ma'ayan Tsadka
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

index.html 3.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <!doctype html>
  2. <html lang="en" data-bs-theme="dark">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>An Audio Guide to Occupation</title>
  7. <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
  8. </head>
  9. <body onclick="fullScreen()">
  10. <main>
  11. <div class="container-fluid">
  12. <div class="row my-3">
  13. <div class="col-12">
  14. <button onclick="playSound('maayan-tsadka-an-audio-guide-to-ocupation-intro.mp3')" class="btn btn-secondary text-center w-100 h-100">
  15. <h1>
  16. An Audio Guide to Occupation &mdash; part 1 A-D<br/>
  17. <small>by Ma'ayan Tsadka</small>
  18. </h1>
  19. </button>
  20. </div>
  21. </div>
  22. <div class="row mb-3" style="height: 35vh">
  23. <div class="col-6">
  24. <button onclick="playSound('maayan-tsadka-an-audio-guide-to-ocupation-part-1-a.mp3')" class="btn btn-secondary text-center w-100 h-100">
  25. <h3>
  26. A. Means of Intimidation
  27. </h3>
  28. <h5>Israeli military night raid</h5>
  29. </button>
  30. </div>
  31. <div class="col-6">
  32. <button onclick="playSound('maayan-tsadka-an-audio-guide-to-ocupation-part-1-b.mp3')" class="btn btn-secondary text-center w-100 h-100">
  33. <h3>
  34. B. Means of Crowd Control <br/>
  35. </h3>
  36. <h5>
  37. Tear Gas &bull;
  38. The Skunk: Water Cannon
  39. </h5>
  40. </button>
  41. </div>
  42. </div>
  43. <div class="row mb-3" style="height: 35vh">
  44. <div class="col-6">
  45. <button onclick="playSound('maayan-tsadka-an-audio-guide-to-ocupation-part-1-c.mp3')" class="btn btn-secondary text-center w-100 h-100">
  46. <h3>
  47. C. Means of Killing<br/>
  48. </h3>
  49. <h5>
  50. Rubber-Coated Steel Bullets &bull;
  51. Live Ammunition &bull;
  52. Snipers &bull;
  53. Air Strike on Gaza
  54. </h5>
  55. </button>
  56. </div>
  57. <div class="col-6">
  58. <button onclick="playSound('maayan-tsadka-an-audio-guide-to-ocupation-part-1-d.mp3')" class="btn btn-secondary text-center w-100 h-100">
  59. <h3>
  60. D. Means of Resistance
  61. </h3>
  62. </button>
  63. </div>
  64. </div>
  65. <div class="row mb-3">
  66. <div class="col-12">
  67. <button onclick="stopSound()" class="btn btn-secondary text-center w-100 h-100">
  68. <h1>
  69. <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-stop-fill" viewBox="0 0 16 16">
  70. <path d="M5 3.5h6A1.5 1.5 0 0 1 12.5 5v6a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 11V5A1.5 1.5 0 0 1 5 3.5"></path>
  71. </svg>
  72. </h1>
  73. </button>
  74. </div>
  75. </div>
  76. </div>
  77. </main>
  78. <script src="bootstrap/js/bootstrap.bundle.min.js"></script>
  79. <script>
  80. window.sound = null;
  81. function fullScreen() {
  82. document.body.requestFullscreen();
  83. }
  84. function stopSound() {
  85. if (window.sound) {
  86. window.sound.pause();
  87. }
  88. }
  89. function playSound(filename) {
  90. stopSound();
  91. window.sound = new Audio('audio/'+filename);
  92. window.sound.play();
  93. }
  94. </script>
  95. </body>
  96. </html>