We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c66febe commit 6a2a8dcCopy full SHA for 6a2a8dc
projects/math/numerical-linalg/notebooks/svd.clj
@@ -32,8 +32,19 @@
32
(def video-path
33
"notebooks/movie/Video_003.mp4")
34
35
-(kind/video
36
- {:src video-path})
+;; A conveneince function for displaying a video
+;; in Quarto (till we handle this better in
37
+;; an upcoming Clay release):
38
+(defn video [path]
39
+ (kind/md
40
+ (str "{{"
41
+ \<
42
+ " video "
43
+ path
44
+ \>
45
+ "}}")))
46
+
47
+(video video-path)
48
49
;; Let us explore it with clj-media:
50
@@ -299,17 +310,4 @@ first-image
299
310
(clj-media/make-media frame-format generated-frames)
300
311
target-path)
301
312
302
303
- {:src target-path})
304
-
305
306
307
308
309
313
314
315
+(video target-path)
0 commit comments