version | 3.0.1 |
license | BSD3 |
native-modules | False |
elm-version | 0.18.0 <= v < 0.19.0 |
Tag | 3.0.2 |
Committed At | 2018-08-01 15:24:12 UTC |
A New, port-based wrapper on the HTML Media API
This project requires a port (and some other javascript). You can set it up by importing the "Port/mediaPort.js" file into your html file, and doing something like the following:
<script src= "Port/mediaPorts.js></script>
<script>
var elmApp = Elm.Main.fullscreen();
MediaApp.Ports.setupElmToJSPort(elmApp.ports.outbound);
MediaApp.Modify.timeRanges();
MediaApp.Modify.tracks();
</script>