Update elm-video
This commit is contained in:
+1
-1
Submodule elm-video updated: d1bd418e89...b41c62e938
+1
-1
@@ -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) {
|
||||||
|
|||||||
+1
-1
@@ -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 )
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user