support for Play Pause button - Samsung/HbbPlayer GitHub Wiki

Minimization and limitation remote controller buttons is very popular in newest models from many TV manufacturers, so remote controllers are equipped with Play/Pause button - pressing toggles action play and pause.

Samsung 2016 smart remote controller

Unfortunately many HbbTV application developers are implementing only support for PLAY and PAUSE buttons with use of VK_PLAY and VK_PAUSE events. In keyset class there is also available VK_PLAY_PAUSE event (in VCR events group) which is responsible for Play/Pause toggling. In HbbPlayer this action was already implemented and used with UI Play/Pause while pressing "Enter" key when Pause UI element or Play UI element has focus.

player UI

Commit joins this action with remote controller keyPress event.

While writing your own application remember to add support for Play/Pause button, not only for separated buttons Play and Pause.