Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
browser-sync-tal
Advanced tools
Plugin that provides client-side scripts for BrowserSync, supporting the broadcast of keypresses to any number of TAL applications.
BrowserSync (with this TAL plugin) allows us to launch a TAL application on an unlimited number of real devices, and then control all those devices in synchronisation with a single remote control. Each device will receive your keypress event - allowing mass testing across devices.
TAL was developed internally within the BBC as a way of vastly simplifying TV application development whilst increasing the reach of BBC TV applications such as iPlayer. Today all of the BBC's HTML-based TV applications are built using TAL.
npm install -g browser-sync
npm install -g browser-sync-tal
# browser-sync-iplayer.conf
module.exports = {
"proxy": "www.bbc.co.uk/iplayer",
"plugins": [
"browser-sync-tal"
]
};
browser-sync start --config browser-sync-iplayer.conf
You could do this via your TVX page.
BrowserSync establishes a 2-way communication channel between each device and your computer.
This plugin listens for keypress events and derives a TAL keyname using the keyboard mapping config for your device (e.g. VK_UP or VK_DOWN).
With this device-agnostic keyname we broadcast it over the network to all other devices using SocketIO.
Upon receiving a network-keypress, we emit a TAL keypress event. From this point onwards your application will behave just as if it had received a normal IR remote control command.
FAQs
Plugin for BrowserSync to enable TAL app remote-control
The npm package browser-sync-tal receives a total of 4 weekly downloads. As such, browser-sync-tal popularity was classified as not popular.
We found that browser-sync-tal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.