
Security News
Critical Security Vulnerability in React Server Components
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.
@theoplayer/extended
Advanced tools
THEOplayer is the universal video player solution, enabling you to quickly deliver cross-platform content playback.
THEOplayer is the universal video player solution created by THEO Technologies. It enables you to quickly deliver cross-platform content playback.
The THEOplayer SDK consists of modular features. This package includes the following features: hls, ll-hls, dash, ui, texttrackstyle-ui, webaudio, chromecast, airplay, ads, cache
If you need a different set of features, you can:
Install a different variant of this package:
(You should only install one of the above mentioned variants at a time.)
Make your own custom build via our THEOportal.
Install using your favorite package manager for Node (such as npm or yarn):
npm install @theoplayer/extended
You can also install a specific version instead:
npm install @theoplayer/extended@2.82.0
Note that versions earlier than 2.82.0 (release 2021.1.2) are not available on the public npm registry. Earlier versions are available through our THEOportal.
Add the THEOplayer library to your JavaScript web app:
const THEOplayer = require('@theoplayer/extended');
Depending on your choice of module loader, transpiler or bundler, you may need to use an import instead:
import * as THEOplayer from '@theoplayer/extended';
Add the CSS stylesheet for the THEOplayer UI to your HTML page:
<link rel="stylesheet" href="/url/to/node_modules/@theoplayer/extended/ui.css" />
Next, create an HTML element that will contain the player:
<div id="theoplayer-container" class="video-js theoplayer-skin"></div>
Finally, create a player instance using the THEOplayer.Player constructor. Pass it the created HTML element and a configuration object.
The configuration object must contain a valid license obtained from THEOportal. See our how-to guides for more information.
// The HTML element
let element = document.querySelector('#theoplayer-container');
// The player configuration
let configuration = {
// Your license as given by THEOportal.
license: 'your_theoplayer_license',
// The URL where other JavaScript files from this package will be hosted on your web server.
// THEOplayer may need to load these files as Web Workers in order to play certain streams.
libraryLocation: '/url/to/node_modules/@theoplayer/extended/'
};
// Create the player instance
let player = new THEOplayer.Player(element, configuration);
That's it! You should now have a working player on your web page.
You can control this player through its UI, or through the player variable's JavaScript API.
The documentation for THEOplayer is located on our documentation website. For an example on how to setup THEOplayer, take a look at our Getting started guide.
If you are having issues installing or using the package, first look for existing answers on our documentation website, and in particular our FAQ.
You can also contact our technical support team by following the instructions on our support page. Note that your level of support depends on your selected support plan.
The contents of this package are subject to the THEOplayer license.
FAQs
THEOplayer is the universal video player solution, enabling you to quickly deliver cross-platform content playback.
The npm package @theoplayer/extended receives a total of 294 weekly downloads. As such, @theoplayer/extended popularity was classified as not popular.
We found that @theoplayer/extended demonstrated a healthy version release cadence and project activity because the last version was released less than 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
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.

Security News
TypeScript 6.0 will be the last JavaScript-based major release, as the project shifts to the TypeScript 7 native toolchain with major build speedups.