Update elm-video

This commit is contained in:
2021-06-21 15:16:58 +02:00
parent 31cc8a1bb9
commit ab510e4ec2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
}
});
setupApp(app);
PolymnyVideo.setup(app);
if (app.ports !== undefined) {
if (app.ports.setDarkMode !== undefined) {
+1 -1
View File
@@ -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 )