The Smart TV Emulator enables any developers to test and debug their HTML5 apps for the Smart TV App Store.

Latest Version

Version
1.3.14
Update
April 1, 2020
Size
392KiB
Developer
Category
Users
4,000+
Rating
1.88889 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Tabs
WebRequest
WebRequestBlocking
BrowsingData

See more

Smart TV Emulator Extension

The Smart TV Simulator enables any developers to test and debug their HTML5 apps for the TV App Store. It emulates Smart Core version 4.0 and later which powers millions of Smart TVs, Blu-ray players and set-top boxes across the world.

Installation instructions:
- Install and enable the extension using Browser for computers
- Type in the URL you want to test and debug in the address bar
- Press the small extension icon to start the emulation so it turns red
- Start testing and debugging

Features:
- Functional key mappings - VK_KEY button emulation, including directional, enter, back and colour buttons (r,g,b,y).
- User agent - Add or update multiple custom user agent strings.
- Overscan support - Overscan is a common problem on TVs, where some parts of the app UI is not displayed on the TV screen. This option shows the safe area on the TV screen where the app UI will always be shown.
- Draggable popup with information appears when window.close function is called. This is useful for testing window.close behaviour in your app.
- localStorage disabled - In the Vewd App Store environment, localStorage support is disabled due to little memory available on the devices. If localStorage is used, a popup message appears warning the developer.

To use navigation, color keys, playback control keys (VK_PLAY etc.) with the keyboard please consider the following mapping:

Left - left arrow
Right - right arrow
Up - up arrow
Down - down arrow
Back - backspace key
Enter - Enter

Tips and tricks:
- After the installation is finished you can check \"Allow access to file URLs\" to emulate local files - e.g file://foo/bar/index.html
- By default, the extension will only work with the URLs you enabled it for, and not for all tabs. The extension is automatically starting for the URL you enabled it for
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "background": { "page": "src/bg/background.html" }, "browser_action": { "default_icon": "icons/url_icon_passive.png", "default_title": "Smart TV Emulator" }, "content_scripts": [ { "all_frames": true, "js": [ "src/inject/injectToAllFrames.js" ], "matches": [ "\\u003Call_urls>" ], "run_at": "document_start" }, { "js": [ "src/inject/inject.js" ], "matches": [ "\\u003Call_urls>" ], "run_at": "document_start" } ], "description": "The Smart TV Emulator enables any developers to test and debug their HTML5 apps for the Smart TV App Store.", "icons": { "128": "icons/icon128.png", "16": "icons/icon16.png", "48": "icons/icon48.png" }, "manifest_version": 2, "name": "Smart TV Emulator", "permissions": [ "tabs", "webRequest", "webRequestBlocking", "browsingData", "\\u003Call_urls>" ], "version": "1.3.14", "web_accessible_resources": [ "src/toolbar/toolbar.html", "src/toolbar/templates.html", "src/toolbar/tvStoreEnvironment.js", "src/toolbar/focusIframe.js", "src/toolbar/inputKeyEvents.js", "src/toolbar/main.css", "src/toolbar/sdk_colors_style.css", "images/*", "icons/*" ]}
Read more