Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8540889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:42:05+00:00 2026-06-11T11:42:05+00:00

i ran into issues with the Sample App provided by Bightcove (https://github.com/BrightcoveOS/Samsung-Smart-TV-Sample-App) for Samsung

  • 0

i ran into issues with the Sample App provided by Bightcove (https://github.com/BrightcoveOS/Samsung-Smart-TV-Sample-App) for Samsung Smart TV. The remote control does not work on the latest (2012) models. It seems to be a known bug (https://github.com/BrightcoveOS/Samsung-Smart-TV-Sample-App/issues/3) and was reportet on github AND in the supports forum on brightcove. Unfortunately they stopped maintaining the sourcecode and no one replies to this issues.

On 2010/2011 models everything works fine.

I think the problem is located somewhere in the enginelite.keyhandler.js:

/**
 * 
 *  Simple TV App Engine KeyHandler
 *  
 *  author: A Different Engine LLC.
 *  http://adifferentengine.com
 *  contact@adifferentengine.com
 *
 */
// This is pretty straightforward.
TVEngine.KeyHandler = {

    keyActions:  {
        KEY_UP:             'onUp',
        KEY_DOWN:           'onDown',
        KEY_LEFT:           'onLeft',
        KEY_RIGHT:          'onRight',
        KEY_ENTER:          'onSelect',
        KEY_RETURN:         'onReturn',
        KEY_STOP:           'onStop',
        KEY_FF:             'onFF',
        KEY_RW:             'onRew',
        KEY_PLAY:           'onPlay',
        KEY_PAUSE:          'onPause',
        KEY_YELLOW:         'onYellow',
        KEY_RED:            'onRed',
        KEY_BLUE:           'onBlue',
        KEY_GREEN:          'onGreen',
        KEY_EXIT:           'onExit',
        KEY_MENU:           'onMenu',
        KEY_BACK:           'onReturn',
        KEY_SKIPFFORWARD:   'onSkipForward',
        KEY_SKIPBACK:       'onSkipBack',
    },
    enabled: true,
    keyMap: {},

    init: function() {
        // Maps system key list to ours
        $KEYS = TVEngine.getPlatform().keys();
        // Transforming Samsung keymap into something we like slightly better.
        for(key in $KEYS) {
            this.keyMap[$KEYS[key]] = key;
        }
        this._initializeKeyHandler();
    },
    _cleared: true,
    _initializeKeyHandler: function() {
        var _this = this; var clear;
        $(document).bind("keydown", function(event) {
            var action = _this.keyActions[_this.keyMap[event.keyCode]];
            // $log("<<< GOT KEY ACTION: "+action+">>>");
            if ( action && _this.enabled ) _this.trigger("keyhandler:"+action);
            return false;
        });
        $(document).bind("keyup", function(event) {
            var action = _this.keyActions[_this.keyMap[event.keyCode]]+"Release";
            // $log("<<< GOT KEY ACTION: "+action+" >>>");
            if ( action ) _this.trigger("keyhandler:"+action);
            return false;
        })
    },

    enable: function(){
        this.enabled = true;
    },
    disable: function() {
        this.enabled = false;
    }
};
// Now we can subscribe to the keyhandler from anywhere. 
_.extend(TVEngine.KeyHandler, Backbone.Events);

Was someone able to solve this problem?

Cheers

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T11:42:06+00:00Added an answer on June 11, 2026 at 11:42 am

    You need to rewrite the _keys object in enginelite.platforms.js file:

    this._keys = {
        KEY_RETURN:     88,     //36, //8
        KEY_UP:         29460,  //38,
        KEY_DOWN:       29461,  //40,
        KEY_LEFT:       4,      //37,
        KEY_RIGHT:      5,      //39,
        KEY_ENTER:      29443,  //13,
        KEY_RED:        108,    //65,
        KEY_GREEN:      20,     //66,
        KEY_YELLOW:     21,     //67,
        KEY_BLUE:       22,     //68,
        KEY_BACK:       8,      //I don't know what button on remote it is :)
        KEY_PLAY:       71,     //80,
    }
    

    And it will work on all Samsung’s platforms.

    As my answer gives you direct solution the @brimil01 solution gives you the way to debug the issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a Captcha in JavaScript but I ran into issues. I
I ran into this issue while testing a rails app deployed to two different
I'm new to Facebook app development and I ran into a stupid issue: I
I'm running into a problem with the WPF TreeView control. I think I ran
I ran into an issue by introducing floating point columns in the MySQL database
I just ran into this issue while making a GET request to a node.js
I recently ran into an issue where a query was causing a full table
I am working on project and ran into an issue. Now I want to
I am fairly new to C++, but i have ran into an issue which
I ran into a strange issue with tinyMCE that i was not able to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.