瀏覽代碼

CSS fixes, new vid names (files not in repo)

master
The Dod 3 週之前
父節點
當前提交
e86a08ca32
共有 2 個檔案被更改,包括 4 行新增3 行删除
  1. 1
    1
      static/js/config.js.example
  2. 3
    2
      templates/index.html

+ 1
- 1
static/js/config.js.example 查看文件

25
     },
25
     },
26
 */
26
 */
27
     {
27
     {
28
-        "vid": "nasser-hospital.mp4",
28
+        "vid": "mariam-abu-daqqa.mp4",
29
         "ticker": "• ייתכן שהמסר של הפגיעה ב\"עיתונאים\", במרכאות, זו ההבנה בישראל כמה נזק עשו אותם אלה ש ... המשיכו את מורשתו של יחיא סינוואר בעיתונות כביכול • השפיץ של הזרוע הצבאית של חמאס, אלו אותם עיתונאי נוחבות, לכן טוב עשתה ישראל שחיסלה אותם, לטעמי מאוחר מדי • צבי יחזקאלי, 25/8/24, i24"
29
         "ticker": "• ייתכן שהמסר של הפגיעה ב\"עיתונאים\", במרכאות, זו ההבנה בישראל כמה נזק עשו אותם אלה ש ... המשיכו את מורשתו של יחיא סינוואר בעיתונות כביכול • השפיץ של הזרוע הצבאית של חמאס, אלו אותם עיתונאי נוחבות, לכן טוב עשתה ישראל שחיסלה אותם, לטעמי מאוחר מדי • צבי יחזקאלי, 25/8/24, i24"
30
     } /*,
30
     } /*,
31
     {
31
     {

+ 3
- 2
templates/index.html 查看文件

18
     </div>
18
     </div>
19
     <div class="row">
19
     <div class="row">
20
       <div class="col12">
20
       <div class="col12">
21
-        <div id="ticker-wrapper" class="alert alert-danger opacity-75 w-100" role="alert" style="background-color:#ff0000; position:fixed; left:0; bottom:2rem; z-index:23">
22
-            <img style="height:10rem; position:fixed; left:-2px; bottom:-1.15rem; z-index:46" src="/static/gfx/zio-kahana-mic.png" />
21
+        <div id="ticker-wrapper" class="alert alert-danger opacity-75 w-100" role="alert" style="background-color:#ff0000; position:absolute; left:0; bottom:2rem; z-index:23">
22
+            <img style="height:10rem; position:absolute; left:-2px; bottom:-1.15rem; z-index:46" src="/static/gfx/zio-kahana-mic.png" />
23
             <div id="the-ticker" class="w-100 text-nowrap">
23
             <div id="the-ticker" class="w-100 text-nowrap">
24
               <h1 id="ticker-text" class="fw-bolder text-white" style="direction:rtl; font-size:4rem;">
24
               <h1 id="ticker-text" class="fw-bolder text-white" style="direction:rtl; font-size:4rem;">
25
               </h1>
25
               </h1>
50
   window.item_index = 0;
50
   window.item_index = 0;
51
   function nextItem() {
51
   function nextItem() {
52
     document.getElementById("vid-src").setAttribute('src', '/static/video/'+ITEMS[item_index].vid);
52
     document.getElementById("vid-src").setAttribute('src', '/static/video/'+ITEMS[item_index].vid);
53
+    // console.log(document.getElementById("vid-src").getAttribute('src'));
53
     document.getElementById("the-video").load();
54
     document.getElementById("the-video").load();
54
     document.getElementById("the-video").play();
55
     document.getElementById("the-video").play();
55
     setTicker(ITEMS[item_index].ticker);
56
     setTicker(ITEMS[item_index].ticker);

Loading…
取消
儲存