瀏覽代碼

Add media

master
The Dod 8 月之前
父節點
當前提交
0f475fbd32
共有 5 個文件被更改,包括 38 次插入8 次删除
  1. 1
    1
      app.py
  2. 1
    0
      static/media/bg-video.json
  3. 二進制
      static/media/bg-video/campfire.mp4
  4. 二進制
      static/media/img/cat-and-dog-snuggling.jpg
  5. 36
    7
      static/media/video-embed.json

+ 1
- 1
app.py 查看文件

@@ -224,7 +224,7 @@ def example():
224 224
 @application.get("/embeds")
225 225
 def embeds():
226 226
     embeds = get_all_embeds()
227
-    return render_template("embeds.html", embeds=embeds)
227
+    return render_template("embeds.html", embeds=reversed(embeds))
228 228
 
229 229
 @application.post("/update")
230 230
 def update():

+ 1
- 0
static/media/bg-video.json 查看文件

@@ -8,6 +8,7 @@
8 8
     "ocean-waves.mp4": "ocean waves from above. mid-sea. no shore or horizon",
9 9
     "stairway.mp4": "a stairway to heaven",
10 10
     "candles.mp4": "3 burning candles",
11
+    "campfire.mp4": "Bonefire in a forest on a river bank. Folding chair facing it with a view of the river",
11 12
     "fireplace.mp4": "lit fireplace with 2 candlesticks on each side",
12 13
     "colorful-smoke.mp4": "colorful smoke swirling on a dark background",
13 14
     "forest-leaves.mp4": "forest. hazy daylight in the distance. leaves flying in a circle",

二進制
static/media/bg-video/campfire.mp4 查看文件


二進制
static/media/img/cat-and-dog-snuggling.jpg 查看文件


+ 36
- 7
static/media/video-embed.json 查看文件

@@ -1,7 +1,7 @@
1 1
 [
2 2
     {
3 3
         "id": "the_great_bell_chant",
4
-        "url": "https://vimeo.com/6518109",
4
+        "url": "https://www.youtube.com/watch?v=F1ZwaEzMtJw",
5 5
         "proportions": "16x9",
6 6
         "description": "The Great Bell Chant (The End of Suffering). Read by Thich Nath Hanh, chanted by brother Phap Niem. Buddhist. good as guided meditation. heal the soul. "
7 7
     },
@@ -62,12 +62,6 @@
62 62
         "description": "Tibetan bowl resonance for inner peace: Healing sounds. Meditative. East asian tradition. Self reflection. Let the soothing vibrations of these ancient Tibetan bowls wash over you, creating a harmonious space within."
63 63
     },
64 64
     {
65
-        "id": "hello_stranger",
66
-        "url": "https://vimeo.com/190063150",
67
-        "proportions": "16x9",
68
-        "description": "Hello stranger: Intimate, deals with being shy, loneliness, shame, not being connected to self, reaching out, seeking close relations, humorous, teasing, humble, touching"
69
-    },
70
-    {
71 65
         "id": "uncertainty_fear_and_polarization",
72 66
         "url": "https://www.youtube.com/watch?v=y9Qws_J99hQ",
73 67
         "url_extras": "&start=9",
@@ -94,5 +88,40 @@
94 88
         "url_extras": "",
95 89
         "proportions": "16x9",
96 90
         "description": "Fractal Geometry Journey - Hyperbolic Flower of Life: \u201cA physicist is just an atom's way of looking at itself.\u201d ~ Niels Bohr. This fractal animation was forged in the mathemagical abyss of chaos; the fertile soil of complexity from which all structure is born. Like a labyrinth of mirrors, fractals are a way of seeing infinity; they are a glimpse into the eternally intricate fabric of reality. piano music"
91
+    },
92
+    {
93
+        "id": "A_Nordic_Lullaby",
94
+        "url": "https://www.youtube.com/watch?v=UpmeswMK7cY",
95
+        "url_extras": "",
96
+        "proportions": "16x9",
97
+        "description": "The Spirit Song - A Nordic Lullaby: If the spirit of the mist could sing us a lullaby, how would it"
98
+    },
99
+    {
100
+        "id": "The_Glass_of_Water",
101
+        "url": "https://www.youtube.com/watch?v=gfur5f4ODB4",
102
+        "url_extras": "",
103
+        "proportions": "16x9",
104
+        "description": "The Glass of Water -  An Inspirational Short Story: put down your worries, don't carry them all the time, relax, free your mind"
105
+    },
106
+    {
107
+        "id": "Gentle_Awakening",
108
+        "url": "https://www.youtube.com/watch?v=q070zry2c-Q",
109
+        "url_extras": "",
110
+        "proportions": "16x9",
111
+        "description": "Gentle Awakening (electronic music set): Tribal Rhythm - A Trip Into Deep Music || Powerful Trance Drums || This music has some energy. It might make you visualise Village Tribal Dance, Fire, Circle Sitting, Story Telling, Healing, Inner Journey, Connecting to some network of energy & much more. Or some Deep Trip into something Abstract."
112
+    },
113
+    {
114
+        "id": "The_Power_of_Silence",
115
+        "url": "https://www.youtube.com/watch?v=3XxiKcD-pMU",
116
+        "url_extras": "",
117
+        "proportions": "16x9",
118
+        "description": "The Power of Silence - a short motivational story on unleashing the extraordinary Power of Silence to transform Lives, Empower Minds, and Illuminate the World"
119
+    },
120
+    {
121
+        "id": "Prayer_for_Peace_of_Mind_and_Guidance",
122
+        "url": "https://www.youtube.com/watch?v=GEOZQ51XI7Q",
123
+        "url_extras": "",
124
+        "proportions": "16x9",
125
+        "description": "Christian Prayer for Peace of Mind and Guidance: Woman's voice with captions over Christian visuals. She invites us to pray with her, or just listen. In the video description she writes \"It can be easy to let things build up. You can ignore problems, even little problems until there are so many or they become so big that you start to panic about how you\u2019ll ever get things under control. This prayer asks the Lord for help and guidance in these times\""
97 126
     }
98 127
 ]

Loading…
取消
儲存