The webOS plugin adds platform-specific behavior and functionality, including remote control functionality, for webOS. WebOS powers LG Smart TVs. Wowza provides Smart TV help to create webOS apps.
Include the webos plugin next to the core player:
<script src="//cdn.flowplayer.com/releases/native/3/stable/flowplayer.min.js"></script>
<script src="//cdn.flowplayer.com/releases/native/3/stable/plugins/webos.min.js"></script>If you are creating an application for webOS, keep the following in mind (see below).
In your appinfo.json, disable the back button on the remote control to use the history API:
{
"...": "...",
"disableBackHistoryAPI": true
}The player will handle the back buttons internally. If you click the back button from your remote when the player is in a "neutral" state, the player will emit the flowplayer.webos.events.EXIT_FULLSCREEN event that you can handle in your app:
player.on(flowplayer.webos.events.EXIT_FULLSCREEN, () => { // Exit from videoplayer requested
window.webOS.platformBack() // shut down app
})