... Oh, no worries!!
I solved my own problem.
The trick is to change the `src` property on the `video` tag, *not* the in 
the `source` element.
(I found the answer in one of the comments here: 
http://stackoverflow.com/a/3732711/1282216)

So, something like this works:

    videoElement = 
      case currentAnswerType model of
        QuestionNotClear ->
          video [ width 400, height 300, autoplay True, loop True, *src 
(defaults.videoLocation ++ "general.mp4"*) ]  [  source [ src 
(defaults.videoLocation ++ "general.mp4") ] [ ] ]

        None ->
          video [ width 400, height 300, autoplay True, loop True,* src 
(defaults.videoLocation ++ "waiting.mp4"*) ]  [  source [ src 
(defaults.videoLocation ++ "waiting.mp4") ] [ ] ]

Hopefully this will help someone in the future with the same problem :)

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to