Use arrow keys with Ext Playlist

Issues about the existed plugins

Use arrow keys with Ext Playlist

Postby CraigGray on Fri Dec 31, 2010 8:30 pm

I would like to use the arrow keys on my keyboard to scroll down the list of videos in my external playlist.
I have found some javascript code that triggers this, but I'm not sure where to include it to make it work.

the code is:

window.onload = function() {
document.onkeydown=function(e){

if (!e) e=window.event;

switch(e.keyCode) {

case 37:
alert("Left arrow");
break;

case 38:
alert("Up arrow");
break;

case 39:
alert("Right arrow");
break;

case 40:
alert("Down arrow");
break;

case 13:
alert("Enter/select");
break;
}
}
}

I'm creating a website that is optimized for GoogleTV and one of their requirements is full keyboard accessibility.
CraigGray
 
Posts: 1
Joined: Fri Dec 31, 2010 8:22 pm

Re: Use arrow keys with Ext Playlist

Postby leakeymore on Fri Jan 07, 2011 12:30 pm

Hello,

We need to feedback to the R&D to research.
And actually it's accomplish via web page but not the Web Player program.

Regards,
leakeymore
 
Posts: 247
Joined: Tue Jul 14, 2009 2:12 am


Return to Plugins

Who is online

Users browsing this forum: No registered users and 1 guest

cron