Hi Everyone!

I'm hoping you can all help me figure out the best strategy to handle this 
problem:
It's probably not complicated, but I would love to hear your ideas on the 
best solution.

I have a video tag in my `view` that looks like this:

```
video [ width 400, height 300, autoplay True, loop True ]  [  source [ src 
"video/general.mp4" ] [ ] ]
```

When it's finished, I want another video to start playing automatically.
I know that in JavaScript you can listen for an `ended` event 
(http://stackoverflow.com/questions/2741493/detect-when-an-html5-video-finishes)
But how do you handle this in Elm?
Would I need to listen for this using ports, or is there some way to 
trigger trigger the `update` function directly in Elm?




-- 
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