There was an error while loading. Please reload this page.
1 parent 1c7efdb commit 62dbc38Copy full SHA for 62dbc38
src/practaid/db.cljs
@@ -102,6 +102,7 @@
102
:re-pressed.core/keyup
103
,]))
104
105
+;; TODO
106
(s/def ::db any? #_(s/and
107
::db-keys
108
(fn [m]
src/practaid/events.cljs
@@ -438,6 +438,9 @@
438
:getOAuthToken (fn [callback]
439
(rf/dispatch [::player-requests-access-token callback]))
440
:volume 0.5}))
441
+ _ (.addListener player "autoplay_failed"
442
+ ;; TODO move me
443
+ (fn [] (js/console.error "Autoplay is not allowed by the browser autoplay rules.")))
444
445
_ (.addListener player "ready"
446
(fn [player]
0 commit comments