Update video

This commit is contained in:
2020-11-05 17:18:16 +01:00
parent 57bc1e0a9f
commit a61d2fabcd
4 changed files with 501 additions and 442 deletions
+3 -3
View File
@@ -185,11 +185,11 @@ update msg model =
( [], Dict.empty )
time =
case Maybe.map String.toInt (Dict.get "t" args) of
Just (Just 0) ->
case Dict.get "t" args of
Just "0" ->
Nothing
Just (Just t) ->
Just t ->
Just t
_ ->
+1 -1
View File
@@ -1,7 +1,7 @@
port module Ports exposing (eraseVideo, registerVideo)
port registerVideo : ( String, String, Maybe Int ) -> Cmd msg
port registerVideo : ( String, String, Maybe String ) -> Cmd msg
port eraseVideo : () -> Cmd msg