theoplayer 5.11.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -15
- package/THEOplayer.chromeless.d.ts +1 -1
- package/THEOplayer.chromeless.esm.js +40 -0
- package/THEOplayer.chromeless.js +3 -3
- package/THEOplayer.common.d.ts +1 -16
- package/THEOplayer.common.esm.js +40 -0
- package/THEOplayer.d.ts +1 -1
- package/THEOplayer.esm.js +40 -0
- package/THEOplayer.js +3 -3
- package/THEOplayer.transmux.asmjs.js +3 -3
- package/THEOplayer.transmux.js +3 -3
- package/package.json +41 -1
- package/theoplayer.d.js +3 -3
- package/theoplayer.e.js +0 -36
- package/theoplayer.p.js +0 -31
package/README.md
CHANGED
|
@@ -8,22 +8,18 @@ THEOplayer is the universal video player solution created by THEO Technologies.
|
|
|
8
8
|
|
|
9
9
|
## Included features
|
|
10
10
|
|
|
11
|
-
The THEOplayer SDK consists of modular features. This package includes the following features: `ui`, `dash`, `hls`, `
|
|
11
|
+
The THEOplayer SDK consists of modular features. This package includes the following features: `ui`, `dash`, `hls`, `chromecast`, `vr`, `vr-webxr`, `yospace`, `airplay`, `spotx`, `relatedcontent`, `social`, `upnext`, `conviva`, `cache`, `visibility`, `contextmenu`, `youbora`, `mediamelon`, `ads`, `moat`, `texttrackstyle-ui`, `google-dai`, `freewheel`, `activequalitylabel`, `upcomingadnotification`, `agama`, `webaudio`, `verizonmedia`, `streamone`, `lcevc`, `mediatailor`
|
|
12
12
|
|
|
13
|
-
If you need a different set of features, you can:
|
|
13
|
+
If you need a different set of features, you can install a different variant of this package:
|
|
14
14
|
|
|
15
|
-
-
|
|
15
|
+
- [theoplayer](https://www.npmjs.com/package/theoplayer)
|
|
16
|
+
- [@theoplayer/basic-hesp](https://www.npmjs.com/package/@theoplayer/basic-hesp)
|
|
17
|
+
- [@theoplayer/basic-hls](https://www.npmjs.com/package/@theoplayer/basic-hls)
|
|
18
|
+
- [@theoplayer/basic-dash](https://www.npmjs.com/package/@theoplayer/basic-dash)
|
|
19
|
+
- [@theoplayer/basic-hls-dash](https://www.npmjs.com/package/@theoplayer/basic-hls-dash)
|
|
20
|
+
- [@theoplayer/extended](https://www.npmjs.com/package/@theoplayer/extended)
|
|
16
21
|
|
|
17
|
-
|
|
18
|
-
- [@theoplayer/basic-hesp](https://www.npmjs.com/package/@theoplayer/basic-hesp)
|
|
19
|
-
- [@theoplayer/basic-hls](https://www.npmjs.com/package/@theoplayer/basic-hls)
|
|
20
|
-
- [@theoplayer/basic-dash](https://www.npmjs.com/package/@theoplayer/basic-dash)
|
|
21
|
-
- [@theoplayer/basic-hls-dash](https://www.npmjs.com/package/@theoplayer/basic-hls-dash)
|
|
22
|
-
- [@theoplayer/extended](https://www.npmjs.com/package/@theoplayer/extended)
|
|
23
|
-
|
|
24
|
-
(You should only install _one_ of the above mentioned variants at a time.)
|
|
25
|
-
|
|
26
|
-
- Make your own custom build via our [THEOportal](https://portal.theoplayer.com).
|
|
22
|
+
(You should only install _one_ of the above-mentioned variants at a time.)
|
|
27
23
|
|
|
28
24
|
## Installation
|
|
29
25
|
|
|
@@ -36,10 +32,10 @@ npm install theoplayer
|
|
|
36
32
|
You can also install a specific version instead:
|
|
37
33
|
|
|
38
34
|
```bash
|
|
39
|
-
npm install theoplayer@
|
|
35
|
+
npm install theoplayer@6.0.0
|
|
40
36
|
```
|
|
41
37
|
|
|
42
|
-
Note that versions earlier than 2.82.0
|
|
38
|
+
Note that versions earlier than 2.82.0 are not available on the public npm registry.
|
|
43
39
|
Earlier versions are available through our [THEOportal](https://portal.theoplayer.com).
|
|
44
40
|
|
|
45
41
|
## Usage
|
|
@@ -54,6 +50,9 @@ Depending on your choice of module loader, transpiler or bundler, you may need t
|
|
|
54
50
|
|
|
55
51
|
```javascript
|
|
56
52
|
import * as THEOplayer from 'theoplayer';
|
|
53
|
+
|
|
54
|
+
// or if you only need the chromeless version (without UI):
|
|
55
|
+
import * as THEOplayer from 'theoplayer/chromeless';
|
|
57
56
|
```
|
|
58
57
|
|
|
59
58
|
Add the CSS stylesheet for the THEOplayer UI to your HTML page:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* THEOplayer
|
|
3
3
|
* https://www.theoplayer.com
|
|
4
4
|
*
|
|
5
|
-
* Version:
|
|
5
|
+
* Version: 6.0.0
|
|
6
6
|
*/
|
|
7
7
|
export { ABRConfiguration, ABRMetadata, ABRStrategy, ABRStrategyConfiguration, ABRStrategyType, AES128KeySystemConfiguration, AccessibilityRole, Ad, AdBreak, AdBreakEvent, AdBufferingEvent, AdDescription, AdEvent, AdIntegrationKind, AdMetadataEvent, AdPreloadType, AdReadyState, AdSkipEvent, AdSource, AdSourceType, AddCachingTaskEvent, AddTrackEvent, AddViewEvent, Ads, AdsConfiguration, AdsEventMap, AgamaAnalyticsIntegrationID, AgamaConfiguration, AgamaLogLevelType, AgamaPlayerConfiguration, AgamaServiceName, AgamaSourceConfiguration, AgamaStreamType, AirPlay, Analytics, AnalyticsDescription, AnalyticsIntegrationID, AudioQuality, AxinomDRMConfiguration, AxinomIntegrationID, AzureDRMConfiguration, AzureIntegrationID, Base64Util, BaseSource, Boundary, BoundaryC3, BoundaryC7, BoundaryHalftime, BoundaryInfo, BufferSource, BufferedSegments, Cache, CacheEventMap, CacheStatus, CacheTaskStatus, CachingTask, CachingTaskEventMap, CachingTaskLicense, CachingTaskList, CachingTaskListEventMap, CachingTaskParameters, CanPlayEvent, CanPlayThroughEvent, Canvas, Cast, CastConfiguration, CastEventMap, CastState, CastStateChangeEvent, CertificateRequest, CertificateResponse, Chromecast, ChromecastConfiguration, ChromecastConnectionCallback, ChromecastError, ChromecastErrorCode, ChromecastErrorEvent, ChromecastEventMap, ChromecastMetadataDescription, ChromecastMetadataImage, ChromecastMetadataType, ChromelessPlayer, ClearkeyDecryptionKey, ClearkeyKeySystemConfiguration, Clip, ClipEventMap, ComcastDRMConfiguration, ComcastIntegrationID, CommonUtils, CompanionAd, ConaxDRMConfiguration, ConaxIntegrationID, ContentProtectionError, ContentProtectionErrorCode, ContentProtectionErrorEvent, ContentProtectionIntegration, ContentProtectionIntegrationFactory, ContentProtectionRequest, ContentProtectionRequestSubType, ContentProtectionResponse, Conviva, ConvivaAnalyticsIntegrationID, ConvivaConfiguration, ConvivaContentMetadata, CrossOriginSetting, CurrentSourceChangeEvent, DAIAvailabilityType, DRMConfiguration, DRMTodayDRMConfiguration, DRMTodayIntegrationID, DashPlaybackConfiguration, DateRangeCue, DeliveryType, DeviceBasedTitaniumDRMConfiguration, DimensionChangeEvent, DirectionChangeEvent, DurationChangeEvent, EdgeStyle, EmptiedEvent, EmsgCue, EncryptedEvent, EndedEvent, ErrorCategory, ErrorCode, ErrorEvent, Event, EventDispatcher, EventListener, EventMap, EventStreamCue, EventedList, ExpressPlayDRMConfiguration, ExpressPlayIntegrationID, EzdrmDRMConfiguration, EzdrmIntegrationID, FairPlayKeySystemConfiguration, FreeWheelAdDescription, FreeWheelAdUnitType, FreeWheelCue, FullscreenOptions, Geo, GlobalCast, GlobalChromecast, GoogleDAI, GoogleDAIConfiguration, GoogleDAILiveConfiguration, GoogleDAISSAIIntegrationID, GoogleDAITypedSource, GoogleDAIVodConfiguration, GoogleImaAd, GoogleImaConfiguration, HTTPHeaders, HespApi, HespApiEventMap, HespLatencyConfiguration, HespMediaType, HespSourceConfiguration, HespTypedSource, HlsDiscontinuityAlignment, HlsPlaybackConfiguration, ID3AttachedPicture, ID3BaseFrame, ID3Comments, ID3CommercialFrame, ID3Cue, ID3Frame, ID3GenericEncapsulatedObject, ID3InvolvedPeopleList, ID3PositionSynchronisationFrame, ID3PrivateFrame, ID3SynchronizedLyricsText, ID3TermsOfUse, ID3Text, ID3UniqueFileIdentifier, ID3Unknown, ID3UnsynchronisedLyricsTextTranscription, ID3UrlLink, ID3UserDefinedText, ID3UserDefinedUrlLink, ID3Yospace, IMAAdDescription, Imagine, ImagineEventMap, ImagineSSAIIntegrationID, ImagineServerSideAdInsertionConfiguration, ImagineTrackingEvent, ImagineTypedSource, InterceptableRequest, InterceptableResponse, IrdetoDRMConfiguration, IrdetoIntegrationID, JoinStrategy, KeyOSDRMConfiguration, KeyOSFairplayKeySystemConfiguration, KeyOSIntegrationID, KeyOSKeySystemConfiguration, KeySystemConfiguration, KeySystemId, Latencies, LatencyConfiguration, LatencyManager, LayoutChangeEvent, LicenseRequest, LicenseResponse, LicenseType, LinearAd, List, LoadedDataEvent, LoadedMetadataEvent, MaybeAsync, MeasurableNetworkEstimator, MediaError, MediaErrorCode, MediaFile, MediaMelonConfiguration, MediaTailorSource, MediaTrack, MediaTrackEventMap, MediaTrackList, MediaType, MetadataDescription, Metrics, MoatAnalyticsIntegrationID, MoatConfiguration, MultiViewPlayer, MultiViewPlayerEventMap, MultiViewPlayerLayout, MutedAutoplayConfiguration, Network, NetworkEstimator, NetworkEstimatorController, NetworkEventMap, NetworkInterceptorController, NodeStyleVoidCallback, NonLinearAd, PauseEvent, PiPConfiguration, PiPPosition, PlayEvent, PlayReadyKeySystemConfiguration, ChromelessPlayer as Player, PlayerConfiguration, PlayerEventMap, PlayerList, PlayingEvent, PreloadType, Presentation, PresentationEventMap, PresentationMode, PresentationModeChangeEvent, ProgressEvent, Quality, QualityEvent, QualityEventMap, QualityList, RateChangeEvent, ReadyStateChangeEvent, RemoveCachingTaskEvent, RemoveTrackEvent, RemoveViewEvent, Representation, RepresentationChangeEvent, Request, RequestBody, RequestInit, RequestInterceptor, RequestLike, RequestMeasurer, RequestMethod, RequestSubType, RequestType, ResponseBody, ResponseInit, ResponseInterceptor, ResponseLike, ResponseType, RetryConfiguration, SSAIIntegrationId, SeamlessPeriodSwitchStrategy, SeekedEvent, SeekingEvent, ServerSideAdInsertionConfiguration, SkippedAdStrategy, SmartSightConfiguration, SmartSightIntegrationID, Source, SourceAbrConfiguration, SourceChangeEvent, SourceConfiguration, SourceDescription, SourceIntegrationId, Sources, SpotXAdDescription, SpotxData, SpotxQueryParameter, StateChangeEvent, StereoChangeEvent, StreamOneAnalyticsIntegrationID, StreamOneConfiguration, StringKeyOf, StylePropertyRecord, THEOplayerAdDescription, THEOplayerError, TTMLCue, TargetQualityChangedEvent, TextTrack, TextTrackAddCueEvent, TextTrackCue, TextTrackCueChangeEvent, TextTrackCueEnterEvent, TextTrackCueEventMap, TextTrackCueExitEvent, TextTrackCueList, TextTrackCueUpdateEvent, TextTrackDescription, TextTrackEnterCueEvent, TextTrackError, TextTrackErrorCode, TextTrackErrorEvent, TextTrackEventMap, TextTrackExitCueEvent, TextTrackReadyState, TextTrackReadyStateChangeEvent, TextTrackRemoveCueEvent, TextTrackStyle, TextTrackStyleEventMap, TextTrackType, TextTrackTypeChangeEvent, TextTracksList, ThumbnailResolution, TimeRanges, TimeUpdateEvent, TitaniumDRMConfiguration, TitaniumIntegrationID, TokenBasedTitaniumDRMConfiguration, Track, TrackChangeEvent, TrackEventMap, TrackList, TrackListEventMap, TrackUpdateEvent, TypedSource, UIConfiguration, UILanguage, UIPlayerConfiguration, UniversalAdId, UpdateQualityEvent, UplynkDRMConfiguration, UplynkIntegrationID, UserActions, VPAIDMode, VR, VRConfiguration, VRDirection, VREventMap, VRPanoramaMode, VRPlayerConfiguration, VRState, VRStereoMode, VTTAlignSetting, VTTDirectionSetting, VTTLine, VTTLineAlignSetting, VTTPosition, VTTPositionAlignSetting, VTTScrollSetting, VendorCast, VendorCastEventMap, VerimatrixDRMConfiguration, VerimatrixIntegrationID, VerizonMedia, VerizonMediaAd, VerizonMediaAdBeginEvent, VerizonMediaAdBreak, VerizonMediaAdBreakBeginEvent, VerizonMediaAdBreakEndEvent, VerizonMediaAdBreakEventMap, VerizonMediaAdBreakList, VerizonMediaAdBreakListEventMap, VerizonMediaAdBreakSkipEvent, VerizonMediaAdCompleteEvent, VerizonMediaAdEndEvent, VerizonMediaAdEventMap, VerizonMediaAdFirstQuartileEvent, VerizonMediaAdList, VerizonMediaAdListEventMap, VerizonMediaAdMidpointEvent, VerizonMediaAdThirdQuartileEvent, VerizonMediaAddAdBreakEvent, VerizonMediaAddAssetEvent, VerizonMediaAds, VerizonMediaAsset, VerizonMediaAssetEventMap, VerizonMediaAssetId, VerizonMediaAssetInfoResponse, VerizonMediaAssetInfoResponseEvent, VerizonMediaAssetList, VerizonMediaAssetMovieRating, VerizonMediaAssetTvRating, VerizonMediaAssetType, VerizonMediaConfiguration, VerizonMediaEventMap, VerizonMediaExternalId, VerizonMediaPingConfiguration, VerizonMediaPingErrorEvent, VerizonMediaPingResponse, VerizonMediaPingResponseEvent, VerizonMediaPreplayBaseResponse, VerizonMediaPreplayLiveResponse, VerizonMediaPreplayResponse, VerizonMediaPreplayResponseEvent, VerizonMediaPreplayResponseType, VerizonMediaPreplayVodResponse, VerizonMediaRemoveAdBreakEvent, VerizonMediaRemoveAdEvent, VerizonMediaRemoveAssetEvent, VerizonMediaResponseDrm, VerizonMediaResponseLiveAd, VerizonMediaResponseLiveAdBreak, VerizonMediaResponseLiveAds, VerizonMediaResponseVodAd, VerizonMediaResponseVodAdBreak, VerizonMediaResponseVodAdBreakOffset, VerizonMediaResponseVodAdPlaceholder, VerizonMediaResponseVodAds, VerizonMediaSource, VerizonMediaUiConfiguration, VerizonMediaUpdateAdBreakEvent, VideoQuality, View, ViewChangeEvent, ViewPositionChangeEvent, VimondDRMConfiguration, VimondIntegrationID, Visibility, VisibilityObserver, VisibilityObserverCallback, VoidPromiseCallback, VolumeChangeEvent, VudrmDRMConfiguration, VudrmIntegrationID, WaitUntilCallback, WaitingEvent, WebAudio, WebVTTCue, WebVTTRegion, WidevineKeySystemConfiguration, XstreamDRMConfiguration, XstreamIntegrationID, Yospace, YospaceCallbackObject, YospaceEventMap, YospaceId, YospaceSSAIIntegrationID, YospaceServerSideAdInsertionConfiguration, YospaceStreamType, YospaceTypedSource, YouboraAnalyticsIntegrationID, YouboraOptions, cache, cast, features, playerSuiteVersion, players, registerContentProtectionIntegration, utils, version } from './THEOplayer.common';
|
|
8
8
|
export as namespace THEOplayer;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
THEOplayer
|
|
3
|
+
|
|
4
|
+
Usage of this software is limited by the THEOplayer License.
|
|
5
|
+
|
|
6
|
+
It is prohibited to reverse engineer, decompile, translate,
|
|
7
|
+
disassemble, decipher, decrypt, or otherwise attempt to
|
|
8
|
+
discover the source code of this software.
|
|
9
|
+
|
|
10
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
11
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
12
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
13
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
14
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
15
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
16
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
17
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
18
|
+
|
|
19
|
+
For more information, visit https://www.theoplayer.com or contact
|
|
20
|
+
contact @ theoplayer . com
|
|
21
|
+
|
|
22
|
+
This product makes use of Open Source Software: video.js
|
|
23
|
+
(Apache 2.0 - Copyright Brightcove, Inc.), long.js (Apache 2.0),
|
|
24
|
+
nodejs-langs (MIT - Copyright Andrew Lawson), promise-polyfill
|
|
25
|
+
(MIT - Copyright (c) 2014 Taylor Hakes & Forbes Lindesay),
|
|
26
|
+
shaka-player (Apache 2.0 - Copyright 2016 Google LLC)
|
|
27
|
+
The code of these projects has been heavily modified during
|
|
28
|
+
integration.
|
|
29
|
+
More information on the licenses can be found here: Apache 2.0
|
|
30
|
+
(http://www.apache.org/licenses/LICENSE-2.0), MIT
|
|
31
|
+
(https://opensource.org/licenses/MIT)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
THEOplayer is based on patented technology developed by
|
|
35
|
+
THEO Technologies (https://www.theoplayer.com).
|
|
36
|
+
|
|
37
|
+
Version: 6.0.0
|
|
38
|
+
Created: 2023-09-13T14:06:06.351Z
|
|
39
|
+
*/
|
|
40
|
+
var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==s?s:"undefined"!=typeof global?global:this,s=a.window;a.document,a.location,a.navigator,a.setTimeout,a.clearTimeout,a.setInterval,a.clearInterval,a.Error,a.TypeError,a.SyntaxError,a.Object,a.Math,a.parseInt,a.parseFloat,a.isNaN,a.Uint8Array,a.Worker,a.WorkerGlobalScope,a.XMLHttpRequest;import{Da as e,Ea as o,F as r,Fa as t,G as l,Ga as i,Ha as n,Ia as f,Ja as y,Ma as d,Qa as p,a as g}from"./THEOplayer.common.esm.js";g(),g();export{e as ChromelessPlayer,l as ErrorCategory,r as ErrorCode,e as Player,p as cache,d as cast,t as features,n as playerSuiteVersion,f as players,y as registerContentProtectionIntegration,o as utils,i as version};
|