Web based player for "An Audio Guide to Occupation" by Ma'ayan Tsadka
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index.html 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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 &mdash; part 1 A-D</title>
  7. <meta name="description" content="by Ma'ayan Tsadka">
  8. <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
  9. <link rel="icon" href="agto.png">
  10. <meta property="og:title" content="An Audio Guide to Occupation">
  11. <meta property="og:description" content="by Ma'ayan Tsadka">
  12. <meta property="og:type" content="website">
  13. <meta property="og:url" content="https://nandn.org.il/agto">
  14. <meta property="og:image" content="https://nandn.org.il/agto/agto.png">
  15. </head>
  16. <body onclick="fullScreen()">
  17. <main>
  18. <div class="container-fluid">
  19. <div class="row my-3">
  20. <div class="col-12">
  21. <button onclick="playSound('maayan-tsadka-an-audio-guide-to-ocupation-intro.mp3')" class="btn btn-secondary text-center w-100 h-100">
  22. <h2>
  23. <strong>An Audio Guide to Occupation &mdash; part 1 A-D</strong>
  24. </h2>
  25. <h4>by Ma'ayan Tsadka</h4>
  26. <h5>
  27. (Originally appeared at <em>“From the Red Sea to the Dead Sea: a Soundscape of an Occupation 2018"</em> @ kunstradio.at)
  28. </h5>
  29. </button>
  30. </div>
  31. </div>
  32. <div class="row mb-3" style="height: 35vh">
  33. <div class="col-6">
  34. <button onclick="playSound('maayan-tsadka-an-audio-guide-to-ocupation-part-1-a.mp3')" class="btn btn-secondary text-center w-100 h-100" style="padding-top:0; vertical-align:top">
  35. <h3>
  36. <strong>A.</strong> Means of Intimidation
  37. </h3>
  38. <h5>Israeli military night raid</h5>
  39. </button>
  40. </div>
  41. <div class="col-6">
  42. <button onclick="playSound('maayan-tsadka-an-audio-guide-to-ocupation-part-1-b.mp3')" class="btn btn-secondary text-center w-100 h-100" style="padding-top:0; vertical-align:top">
  43. <h3>
  44. <strong>B.</strong> Means of Crowd Control <br/>
  45. </h3>
  46. <h5>
  47. Tear Gas &bull;
  48. The Skunk: Water Cannon
  49. </h5>
  50. </button>
  51. </div>
  52. </div>
  53. <div class="row mb-3" style="height: 35vh">
  54. <div class="col-6">
  55. <button onclick="playSound('maayan-tsadka-an-audio-guide-to-ocupation-part-1-c.mp3')" class="btn btn-secondary text-center w-100 h-100" style="padding-top:0; vertical-align:top">
  56. <h3>
  57. <strong>C.</strong> Means of Killing<br/>
  58. </h3>
  59. <h5>
  60. Rubber-Coated Steel Bullets &bull;
  61. Live Ammunition &bull;
  62. Snipers &bull;
  63. Air Strike on Gaza
  64. </h5>
  65. </button>
  66. </div>
  67. <div class="col-6">
  68. <button onclick="playSound('maayan-tsadka-an-audio-guide-to-ocupation-part-1-d.mp3')" class="btn btn-secondary text-center w-100 h-100" style="padding-top:0; vertical-align:top">
  69. <h3>
  70. <strong>D.</strong> Means of Resistance
  71. <h5>&nbsp;</h5>
  72. </h3>
  73. </button>
  74. </div>
  75. </div>
  76. <div class="row mb-3">
  77. <div class="col-12">
  78. <button onclick="stopSound()" class="btn btn-secondary text-center w-100 h-100">
  79. <h2>
  80. <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">
  81. <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>
  82. </svg>
  83. </h2>
  84. </button>
  85. </div>
  86. </div>
  87. </div>
  88. </main>
  89. <script src="bootstrap/js/bootstrap.bundle.min.js"></script>
  90. <script>
  91. window.sound = null;
  92. function fullScreen() {
  93. document.body.requestFullscreen();
  94. }
  95. function stopSound() {
  96. if (window.sound) {
  97. window.sound.pause();
  98. }
  99. }
  100. function playSound(filename) {
  101. stopSound();
  102. window.sound = new Audio('audio/'+filename);
  103. window.sound.play();
  104. }
  105. </script>
  106. </body>
  107. </html>