0

how do I respond to play/pause/stop/ff/rew in a SidebarView

I would like to be able to respond to play/pause/stop/ff/rew button presses on the remote while I am in a sidebar view.

CODE
        var boogie = function(event) {
log ("wazzup?");
var msg = KONtx.Class.helpers.dump(event, 3, true);
//log(msg);

ctn.setEventDump(msg);
};

this.element.addEventListener('keydown', boogie, false);


allows me to detect play, pause, and stop if use a full-screen view.

When I use that code in a sidebar view I can not detect them.

I can not detect ff/rew in sidebar or full-screen.

Which page of the manual documents how to enable capture of these button presses?

by
5 Replies
  • Hello,

    You aren't allowed to playback video when in sidebar mode, so those keys aren't passed through to you.

    -Jeremy
    0
  • QUOTE (Jeremy Johnstone @ Jan 26 2010, 08:41 AM) <{POST_SNAPBACK}>
    You aren't allowed to playback video when in sidebar mode, so those keys aren't passed through to you.


    I guess we'll have to stick to controlling things with widget buttons. It will make the prototype look stupid, but we need TV manufacturers to catch up on several other fronts already.
    0
  • QUOTE (mutantbob @ Jan 27 2010, 12:12 PM) <{POST_SNAPBACK}>
    I guess we'll have to stick to controlling things with widget buttons.


    Bob, did you miss the part where I said playing video when in sidebar mode wasn't supported on production TVs? Just wanted to make sure before you progressed down that road and found it didn't work on the TV.

    -Jeremy
    0
  • QUOTE (Jeremy Johnstone @ Jan 27 2010, 05:14 PM) <{POST_SNAPBACK}>
    Bob, did you miss the part where I said playing video when in sidebar mode wasn't supported on production TVs? Just wanted to make sure before you progressed down that road and found it didn't work on the TV.


    Yeah, I saw that part. The versions of the yahoo toolkit on our TV don't do a good enough job of rendering video so we used something else. TVs may eventually catch up to the functionality we need, but we'd rather demo this next month than next year.
    0
  • QUOTE (mutantbob @ Jan 28 2010, 07:54 AM) <{POST_SNAPBACK}>
    The versions of the yahoo toolkit on our TV don't do a good enough job of rendering video so we used something else.


    Which platform are you using? The HD H.264 content in the Amazon widget looks beautiful and renders great (just one example of a handful which are on the platform).
    0

Recent Posts

in Design / Interaction - Yahoo! TV Widgets