gasilboxes.blogg.se

Unpkg content delivery network
Unpkg content delivery network







lang/ contains all the generated translation files. font/ includes all the generated icon font files from the Videojs Font project. These have novtt in the name and can be found in the alt/ directory. If you don't need VTT.js functionality for whatever reason, you can use one of the Video.js copies that don't include VTT.js. By default, we bundle Video.js with Mozilla's excellent VTT.js. This package includes everything you'll need to use Video.js on a production site. Note: v7 will not send any data, and v6.8 and up respect the browser's do not track flag. If you'd like to disable analytics, you can simply include the following global before including Video.js via the free CDN: This allows us to see (roughly) what browsers are in use in the wild, along with other useful metrics such as OS and device. We include a stripped down Google Analytics pixel that tracks a random percentage (currently 1%) of players loaded from the CDN. No matter where the core Video.js library is placed, this file needs to be located in the of the document. To make things easier, we created a single file you can include for IE8 support. The core codebase uses a few modern features of Javascript (ES5), so if you'd like to support IE8 you'll need to include an ES5 shim. Microsoft dropped support for these versions over two years ago, they are widely considered out of compliance with modern security standards, and they comprise less than 0.1% of Video.js browser usage.įor versions of Video.js prior to v7, there are a few common things you should keep in mind regardless of how you end up including Video.js in your project.

unpkg content delivery network

#Unpkg content delivery network install#

$ npm install -save-dev video.js Internet Explorer Supportīeginning with v7, we will no longer support Microsoft Internet Explorer versions prior to IE 11, including IE 8, 9, and 10.







Unpkg content delivery network