File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed
projects/math/numerical-linalg/notebooks Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change 3232(def video-path
3333 " notebooks/movie/Video_003.mp4" )
3434
35- ; ; A conveneince function for displaying a video
36- ; ; 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)
35+ (kind/video
36+ {:src video-path})
4837
4938; ; Let us explore it with clj-media:
5039
@@ -118,7 +107,7 @@ first-image
118107 image->small-tensor
119108 bufimg/tensor->image)
120109
121- ; ; Now let us collect the small tensors:
110+ ; ; Now let us collect the small tensors.
122111
123112(def small-tensors
124113 (into []
@@ -310,4 +299,5 @@ first-image
310299 (clj-media/make-media frame-format generated-frames)
311300 target-path)
312301
313- (video target-path)
302+ (kind/video
303+ :src target-path)
You can’t perform that action at this time.
0 commit comments