Button to play/pause media.
Instance of OpenPlayer.
Create HTML and insert it into OpenPlayer's DOM.
This method must include its events setup.
Remove HTML associated to specific OpenPlayer's element.
This method must include the removal of its previously set events.
Events that will be triggered in Play element:
controlschanged
event is being triggered)Generated using TypeDoc
Play/pause element.
This class controls the state of the media, by playing or pausing it, and when it ends, updates the state to replay the current media.
https://developer.mozilla.org/en-US/Apps/Fundamentals/Audio_and_video_delivery/cross_browser_video_player#PlayPause
Play
PlayerComponent