Web based player for "An Audio Guide to Occupation" by Ma'ayan Tsadka
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

index.html 4.3KB

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