@1sept/videojs-nuevo (14.4.0)
Installation
@1sept:registry=https://git.1sept.ru/api/packages/1sept/npm/npm install @1sept/videojs-nuevo@14.4.0"@1sept/videojs-nuevo": "14.4.0"About this package
Плагин nuevo для плеера video.js
Nuevo plugin is a set of advanced player original features and options merged into one javascript plugin file of relatively small file size.
Presented player Skins for Videojs are unique, completely custom design, optimized for mobile devices based on modern css stylesheet and javascript code. Skins work properly only with Nuevo plugin, since they require specific buttons and conttrol-bar elements order, managed through javascript code. All Nuevo plugin options, player setup code examples are listed on dedicated online documentation website page. Nuevo plugin versions history you can reach here and on indifidual demo pages.
Оригинальный плагин Nuevo
Nuevo plugin — version 14.2.0, March 18, 2026 © Nuevodevel, Inc.
Set of plugins for Video.js framework by Nuevodevel.com.
The video.js player file used in the examples directory is video.js (or the minimized version video.min.js),
located in the videojs directory. This is video.js version 8.23.8, released 2026-02-11.
The full version of the video.js JavaScript file is located in the same directory.
You may also use any CDN hosted video.js version above 7.2.0.
Setup
- Upload the
videojsdirectory to your server. - Enter the license key for your domain in the file
license.js. - Navigate to
videojs/examples/index.htmlfor multiple HTML examples of video.js and the Nuevo plugin, covering the most popular video.js and Nuevo plugin usage.
IMPORTANT
If you used one of the examples before updating the license key, you will need to clear the browser's cache. Clearing the cache for your website page is possible by using some simple hotkeys:
| Browser | Hotkey |
|---|---|
| Windows and Linux browsers | CTRL + F5 |
| Apple Safari | SHIFT + Reload toolbar button |
| Chrome and Firefox for Mac | CMD + SHIFT + R |
Лицензии
- *.1sept.ru – 5514544310494346
- *.1sept.dev – 551454431049555612
- *.1sept.wip – 551454431049465a14
Установка
Авторизация (если еще не авторизован)
npm config set @1sept:registry=https://git.1sept.ru/api/packages/1sept/npm/
npm config set -- '//git.1sept.ru/api/packages/1sept/npm/:_authToken' "{token}"
npm publish
Добавить в .yarnrc.yml
npmScopes:
1sept:
npmAlwaysAuth: true
npmRegistryServer: https://git.1sept.ru/api/packages/1sept/npm/
yarn add @1sept/videojs-nuevoyarn add hls.jsyarn add video.js
Пример сборки в webpack
import videojs from 'video.js';
import '@1sept/videojs-nuevo/skins/party/videojs.css';
import '@1sept/videojs-nuevo/nuevo.min.js';
import '@1sept/videojs-nuevo/plugins/videojs.offline';
import ru from '@1sept/videojs-nuevo/lang/ru.json';
videojs.addLanguage('ru', ru);
if(location.hostname.match('1sept.ru')) {
var key = '5514544310494346'; // 1sept.ru
} else if(location.hostname.match('1sept.dev')) {
var key = '551454431049555612'; // 1sept.dev
} else {
var key = '551454431049465a14'; // 1sept.wip
}
document.addEventListener("DOMContentLoaded", function(event) {
/**
* Запись
*/
if (document.getElementById('video-js-rec')) {
var player = videojs('video-js-rec', { playbackRates: [0.5,1,1.5,2,3] });
player.nuevo({ shareMenu: false, zoomMenu: false, ccButton: false, license: "key" });
}
/**
* Трансляция
*/
if (document.getElementById('video-js-live')) {
var player = videojs('video-js-live', {liveui:true});
player.nuevo({settingsButton: false, zoomMenu: false, license: "key"});
let poster = document.getElementById('video-js-live').getAttribute('poster');
player.offline({
offlineImage: poster,
offlineTimeout: 30,
offlineCountdown: true,
label: "Повторная попытка…"
});
}
});