Update elm-video
This commit is contained in:
parent
31cc8a1bb9
commit
ab510e4ec2
|
@ -1 +1 @@
|
||||||
Subproject commit d1bd418e890c337b010a9cd906679bd729a00fd0
|
Subproject commit b41c62e9384edcb59ceb0616c045ac247decaae0
|
|
@ -38,7 +38,7 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
setupApp(app);
|
PolymnyVideo.setup(app);
|
||||||
|
|
||||||
if (app.ports !== undefined) {
|
if (app.ports !== undefined) {
|
||||||
if (app.ports.setDarkMode !== undefined) {
|
if (app.ports.setDarkMode !== undefined) {
|
||||||
|
|
|
@ -247,7 +247,7 @@ update msg model =
|
||||||
( Just p, Just v ) ->
|
( Just p, Just v ) ->
|
||||||
let
|
let
|
||||||
( el, videoCommand ) =
|
( 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
|
in
|
||||||
( Video p v el Nothing, Cmd.map VideoMsg videoCommand )
|
( Video p v el Nothing, Cmd.map VideoMsg videoCommand )
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue