Browse Source

fix: youtube embed on desktop

Tienson Qin 2 months ago
parent
commit
e95c93629f
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

@@ -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?