I've been experimenting with some of the media player button handling code across different devices and run into a few issues. Below is a table which summarizes my findings.
For context, Runcasts currently implements fast-forward/rewind using some pretty crazy hacks which re-map the skip-previous / skip-next buttons into changing the ActiveContent playhead. Needless to say, I'd love to strip that code out and use the normal approach. Unfortunately, the various options below all suffer some drawback on one of the devices we're trying to support.
Feature | Vivoactive3 | Button-Based | Button-Based Hotkey |
SystemButton | BUG [1] | OK | OK |
CustomButton | OK | OK | BUG [2] |
PLAYBACK_CONTROL_SKIP_BACKWARD/FORWARD | BUG [3] | OK [4] | OK |
- Image doesn't show, button doesn't work
- Image shows, button event doesn't fire when clicked
- Crashes, no CIQ.YML generated
- Not a bug per-se, but a record-scratch occurs during skip, hacks to implement fast-forward/rewind avoid the record-scratch sound (at the expense of being slightly delayed when starting)