
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
@kinescope/player-iframe-api-loader
Advanced tools
Kinescope Player Iframe API loader and TypeScript type definitions
A simple loader of JavaScript files (Iframe API) and TypeScript types who uses Kinescope Player Iframe API.
npm install --save @kinescope/player-iframe-api-loader
# or
yarn add @kinescope/player-iframe-api-loader
The loader replaces standard way of loading and usage Iframe API such as onKinescopeIframeAPIReady
callback.
Also the library contains TypeScript type definitions. It is possible to use only TypeScript types without loader.
Example:
import * as iframeApiLoader from '@kinescope/player-iframe-api-loader';
// Load the latest stable version.
const factory = await iframeApiLoader.load();
// Create the player. Look at the docs, the link below.
const player = await factory.create(...);
Using only types:
import '@kinescope/player-iframe-api-loader/types';
let player: Kinescope.IframePlayer.Player | undefined;
const factory = window.Kinescope?.IframePlayer;
if (factory) {
player = await factory.create(...);
}
FAQs
Kinescope Player Iframe API loader and TypeScript type definitions
The npm package @kinescope/player-iframe-api-loader receives a total of 114 weekly downloads. As such, @kinescope/player-iframe-api-loader popularity was classified as not popular.
We found that @kinescope/player-iframe-api-loader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.