VikR0001
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2018
12:27 PM
Pause/Rewind/Fast-Forward Not Working? [Solved]
For some reason, presses on the pause/rewind/fast-forward keys are not doing anything in my app.
Here's my onKeyEvent() function:
The back key works, but pause/rewind/fast-forward do not.
What am I missing?
Here's my onKeyEvent() function:
Function OnkeyEvent(key, press) as Boolean
print ">>> Details >> OnkeyEvent"
print key;" (";press;")"
result = false
if press
if m.videoPlayer <> invalid AND m.videoPlayer.visible
if key = "back"
print "DetailsScreen::back"
closePlayer()
result = true
end if
end if
end if
return result
End Function
The back key works, but pause/rewind/fast-forward do not.
What am I missing?
2 REPLIES 2
acreskey
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2018
01:46 PM
Re: Pause/Rewind/Fast-Forward Not Working?
Those keys are being consumed by the Video node which currently has focus?
VikR0001
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2018
07:31 PM
Re: Pause/Rewind/Fast-Forward Not Working?
Solved-- there was a function that was passing focus to the app buttons for some reason. With focus moved back to the Video node, the pause/rewind/fast-forward buttons are now working again.