fix: use youtube proxy html

This commit is contained in:
Tienson Qin
2025-12-01 11:13:35 +08:00
parent 92eb5acf4c
commit 8615aa38a9

View File

@@ -55,7 +55,7 @@
(let [width (or width (min (- (util/get-width) 96)
560))
height (or height (int (* width (/ 315 560))))
url (str "https://www.youtube.com/embed/" id "?enablejsapi=1")
url (str "https://logseq.com/youtube.html?v=" id "?enablejsapi=1")
url (if start
(str url "&start=" start)
url)]