mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
fix: youtube embed on desktop
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
origin (.. js/window -location -origin)
|
||||
origin-valid? (and (string? origin)
|
||||
(re-matches #"^https?://.+" origin))
|
||||
base-url (str "https://www.youtube-nocookie.com/embed/"
|
||||
base-url (str "https://www.youtube.com/embed/"
|
||||
(js/encodeURIComponent id)
|
||||
"?enablejsapi=1"
|
||||
(when origin-valid?
|
||||
|
||||
Reference in New Issue
Block a user