Browse Source

fix: youtube embed url

Tienson Qin 2 weeks ago
parent
commit
e34b7d8aea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/extensions/video/youtube.cljs

+ 1 - 1
src/main/frontend/extensions/video/youtube.cljs

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