From ab510e4ec28b5e8d298224db6453166a3684482b Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Mon, 21 Jun 2021 15:16:58 +0200 Subject: [PATCH] Update elm-video --- elm-video | 2 +- index.html | 2 +- src/Core.elm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/elm-video b/elm-video index d1bd418..b41c62e 160000 --- a/elm-video +++ b/elm-video @@ -1 +1 @@ -Subproject commit d1bd418e890c337b010a9cd906679bd729a00fd0 +Subproject commit b41c62e9384edcb59ceb0616c045ac247decaae0 diff --git a/index.html b/index.html index ce8ac47..c247736 100644 --- a/index.html +++ b/index.html @@ -38,7 +38,7 @@ } }); - setupApp(app); + PolymnyVideo.setup(app); if (app.ports !== undefined) { if (app.ports.setDarkMode !== undefined) { diff --git a/src/Core.elm b/src/Core.elm index 10f9a53..4759974 100644 --- a/src/Core.elm +++ b/src/Core.elm @@ -247,7 +247,7 @@ update msg model = ( Just p, Just v ) -> let ( el, videoCommand ) = - Video.fromUrl ("/videos/" ++ p.url ++ v.url ++ "/manifest.m3u8") "video" + Video.fromConfig { url = "/videos/" ++ p.url ++ v.url ++ "/manifest.m3u8", id = "video", autoplay = True } in ( Video p v el Nothing, Cmd.map VideoMsg videoCommand )