@viewlift/player-backup 2.0.114-backup → 2.0.116-backup

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.
Files changed (143) hide show
  1. package/cjs/{autoNextVideo-a860d3e8.js → autoNextVideo-d2ba145d.js} +1 -1
  2. package/cjs/bundle.css +79 -29
  3. package/cjs/{features-2bb2dd4e.js → features-b9518c47.js} +1 -1
  4. package/cjs/generic-377c0573.js +1 -0
  5. package/cjs/{index-c5039d58.js → index-62222a39.js} +1 -1
  6. package/cjs/index-88dc9e09.js +1 -0
  7. package/cjs/index-94a30fd0.js +1 -0
  8. package/cjs/index.js +1 -1
  9. package/cjs/{multicamv2-4afd8915.js → multicamv2-833efcf1.js} +1 -1
  10. package/cjs/{multicamv2-aaaa65d6.js → multicamv2-8d52871f.js} +1 -1
  11. package/cjs/{nextEpisodeButton-d160dcfd.js → nextEpisodeButton-b98fc202.js} +1 -1
  12. package/cjs/{playlist-72ba84d5.js → playlist-ce7f9db5.js} +1 -1
  13. package/cjs/{series-6049ffcc.js → series-1ba5aa80.js} +1 -1
  14. package/cjs/{series-v2-8a4359ea.js → series-v2-66cc35c6.js} +1 -1
  15. package/cjs/{series-v2-ea10318d.js → series-v2-b1911450.js} +1 -1
  16. package/cjs/{settings-icon-27b60de6.js → settings-icon-7384b65d.js} +1 -1
  17. package/cjs/{skin-7a98d3fd.js → skin-207038f1.js} +1 -1
  18. package/cjs/skin-710efb6a.js +1 -0
  19. package/cjs/{skin-84eed465.js → skin-8fd50d98.js} +1 -1
  20. package/cjs/skin-ac9b0b26.js +1 -0
  21. package/cjs/{skin-021caaea.js → skin-b1e9a1d6.js} +1 -1
  22. package/cjs/{skin-43e130dc.js → skin-cd625772.js} +1 -1
  23. package/cjs/start-begin-btn-95c6cc92.js +1 -0
  24. package/cjs/{videoSelector-187f3529.js → videoSelector-481263de.js} +1 -1
  25. package/cjs/{videoSelector-9c3339e2.js → videoSelector-4cd10521.js} +1 -1
  26. package/cjs/{watch-live-btn-04bf383d.js → watch-live-btn-8a160941.js} +1 -1
  27. package/esm/{autoNextVideo-51072eff.js → autoNextVideo-0cba47e8.js} +1 -1
  28. package/esm/bundle.css +79 -29
  29. package/esm/{features-2d66d073.js → features-b17a311f.js} +1 -1
  30. package/esm/generic-e4833832.js +1 -0
  31. package/esm/{index-5863b4b8.js → index-20d3b872.js} +1 -1
  32. package/esm/index-7dec4239.js +1 -0
  33. package/esm/index-e1f939b0.js +1 -0
  34. package/esm/index.js +1 -1
  35. package/esm/{multicamv2-beef2152.js → multicamv2-716b15d0.js} +1 -1
  36. package/esm/{multicamv2-20406485.js → multicamv2-ea35068b.js} +1 -1
  37. package/esm/{nextEpisodeButton-ce9c073f.js → nextEpisodeButton-a918f043.js} +1 -1
  38. package/esm/{playlist-3fc8d123.js → playlist-ad9491f0.js} +1 -1
  39. package/esm/{series-59e62fbe.js → series-efca8869.js} +1 -1
  40. package/esm/{series-v2-ecbcd52a.js → series-v2-0f338773.js} +1 -1
  41. package/esm/{series-v2-0de0cb77.js → series-v2-38415907.js} +1 -1
  42. package/esm/{skin-59cd094a.js → skin-1d3bf1bb.js} +1 -1
  43. package/esm/{skin-757c1e70.js → skin-3fa3b400.js} +1 -1
  44. package/esm/{skin-93e0aec2.js → skin-6520acf0.js} +1 -1
  45. package/esm/{skin-7b1fe120.js → skin-c51a3958.js} +1 -1
  46. package/esm/skin-e55951c5.js +1 -0
  47. package/esm/skin-f2cb9f9e.js +1 -0
  48. package/esm/start-begin-btn-8120ecdd.js +1 -0
  49. package/esm/{videoSelector-6d99a9f5.js → videoSelector-64c721c9.js} +1 -1
  50. package/esm/{videoSelector-69c96a51.js → videoSelector-7c82db41.js} +1 -1
  51. package/esm/{watch-live-btn-2d5cd4d3.js → watch-live-btn-d4d27011.js} +1 -1
  52. package/package.json +1 -1
  53. package/cjs/generic-26d3fd75.js +0 -1
  54. package/cjs/index-1a9cf743.js +0 -1
  55. package/cjs/skin-32396be4.js +0 -1
  56. package/cjs/skin-a86f763d.js +0 -1
  57. package/cjs/start-begin-btn-35c37795.js +0 -1
  58. package/esm/apis/index.d.ts +0 -11
  59. package/esm/assets/icons.d.ts +0 -24
  60. package/esm/components/advertisement/advertisement.d.ts +0 -1
  61. package/esm/components/auto-next-video/autoNextVideo.d.ts +0 -2
  62. package/esm/components/broadcaster_image/index.d.ts +0 -1
  63. package/esm/components/caption-settings/caption-settings.d.ts +0 -14
  64. package/esm/components/dvr-overlay/index.d.ts +0 -1
  65. package/esm/components/dvr-overlay/start-begin-btn.d.ts +0 -6
  66. package/esm/components/dvr-overlay/watch-live-btn.d.ts +0 -6
  67. package/esm/components/dvr-seekbar/index.d.ts +0 -14
  68. package/esm/components/multicam/multicam.d.ts +0 -18
  69. package/esm/components/multicam-v2/multicamv2.d.ts +0 -13
  70. package/esm/components/multicam-v2_TEMP/multicamv2.d.ts +0 -13
  71. package/esm/components/next-ep-preview/next-ep-preview.d.ts +0 -1
  72. package/esm/components/next-episode/nextEpisodeButton.d.ts +0 -13
  73. package/esm/components/playlist-tray/playlist.d.ts +0 -15
  74. package/esm/components/quality-selector/index.d.ts +0 -1
  75. package/esm/components/resolution/resolution-v2.d.ts +0 -18
  76. package/esm/components/resolution/resolution.d.ts +0 -20
  77. package/esm/components/series/series.d.ts +0 -10
  78. package/esm/components/series-v2/helper.d.ts +0 -3
  79. package/esm/components/series-v2/series-v2.d.ts +0 -25
  80. package/esm/components/series-v2_TEMP/helper.d.ts +0 -1
  81. package/esm/components/series-v2_TEMP/series-v2.d.ts +0 -21
  82. package/esm/components/settings-icon/settings-icon.d.ts +0 -17
  83. package/esm/components/trickplay/helper.d.ts +0 -13
  84. package/esm/components/trickplay/index.d.ts +0 -1
  85. package/esm/components/trickplay/videojs.thumbnails.d.ts +0 -1
  86. package/esm/components/video-selector/videoSelector.d.ts +0 -18
  87. package/esm/components/video-selector_TEMP/videoSelector.d.ts +0 -16
  88. package/esm/components/watch-history/handleWatchHistory.d.ts +0 -2
  89. package/esm/contentHandler/content_types/epg.d.ts +0 -4
  90. package/esm/contentHandler/content_types/external.d.ts +0 -4
  91. package/esm/contentHandler/content_types/index.d.ts +0 -5
  92. package/esm/contentHandler/content_types/series.d.ts +0 -4
  93. package/esm/contentHandler/content_types/vod.d.ts +0 -4
  94. package/esm/contentHandler/firePlayer.d.ts +0 -4
  95. package/esm/core/captions.d.ts +0 -10
  96. package/esm/core/generic.d.ts +0 -48
  97. package/esm/core/player_instance.d.ts +0 -6
  98. package/esm/core/renditions.d.ts +0 -6
  99. package/esm/core/util.d.ts +0 -16
  100. package/esm/core/volume.d.ts +0 -2
  101. package/esm/dash/dashHandler.d.ts +0 -1
  102. package/esm/dash/sgai.d.ts +0 -9
  103. package/esm/features.d.ts +0 -32
  104. package/esm/generic-7fb8e9c5.js +0 -1
  105. package/esm/globalPlayerEvents.d.ts +0 -8
  106. package/esm/helpers/browser.d.ts +0 -2
  107. package/esm/helpers/currentVideoInfo.d.ts +0 -14
  108. package/esm/helpers/errorHandling.d.ts +0 -2
  109. package/esm/helpers/loader.d.ts +0 -2
  110. package/esm/helpers/localisation.d.ts +0 -2
  111. package/esm/helpers/scriptLoader.d.ts +0 -2
  112. package/esm/helpers/secondary-switching.d.ts +0 -1
  113. package/esm/helpers/skin.d.ts +0 -14
  114. package/esm/helpers/sourceRetriever.d.ts +0 -11
  115. package/esm/helpers/ssaiEventHandler.d.ts +0 -27
  116. package/esm/helpers/token.d.ts +0 -9
  117. package/esm/index-3b50e289.js +0 -1
  118. package/esm/index.d.ts +0 -42
  119. package/esm/plugins/chromecast.d.ts +0 -18
  120. package/esm/plugins/index.d.ts +0 -2
  121. package/esm/plugins/library.d.ts +0 -7
  122. package/esm/plugins/videojs-dash5.es.d.ts +0 -51
  123. package/esm/plugins/videojs_contrib_dash.d.ts +0 -51
  124. package/esm/skin/carousel/skin.d.ts +0 -1
  125. package/esm/skin/default/events.d.ts +0 -1
  126. package/esm/skin/default/skin.d.ts +0 -1
  127. package/esm/skin/defaultV2/events.d.ts +0 -1
  128. package/esm/skin/defaultV2/skin.d.ts +0 -1
  129. package/esm/skin/index.d.ts +0 -1
  130. package/esm/skin/minimalist/skin.d.ts +0 -1
  131. package/esm/skin/multiplayer/events.d.ts +0 -1
  132. package/esm/skin/multiplayer/skin.d.ts +0 -1
  133. package/esm/skin/vl_one/events.d.ts +0 -1
  134. package/esm/skin/vl_one/skin.d.ts +0 -1
  135. package/esm/skin-0c5f06e9.js +0 -1
  136. package/esm/skin-6185e3d0.js +0 -1
  137. package/esm/start-begin-btn-63a71f73.js +0 -1
  138. package/esm/utilities/analytics.d.ts +0 -3
  139. package/esm/utilities/beacon.d.ts +0 -3
  140. package/esm/utilities/controlsColor.d.ts +0 -1
  141. package/esm/utilities/conviva.d.ts +0 -5
  142. package/esm/utilities/keyboardShortcuts.d.ts +0 -5
  143. package/esm/utilities/replaceMacros.d.ts +0 -1
@@ -1,51 +0,0 @@
1
- export { Html5DashJS as default };
2
- /**
3
- * videojs-contrib-dash
4
- *
5
- * Use Dash.js to playback DASH content inside of Video.js via a SourceHandler
6
- */
7
- declare class Html5DashJS {
8
- static buildDashJSProtData(keySystemOptions: any): {};
9
- /**
10
- * Get a list of hooks for a specific lifecycle
11
- *
12
- * @param {string} type the lifecycle to get hooks from
13
- * @param {Function|Function[]} [hook] Optionally add a hook tothe lifecycle
14
- * @return {Array} an array of hooks or epty if none
15
- * @method hooks
16
- */
17
- static hooks(type: string, hook?: Function | Function[]): any[];
18
- /**
19
- * Add a function hook to a specific dash lifecycle
20
- *
21
- * @param {string} type the lifecycle to hook the function to
22
- * @param {Function|Function[]} hook the function or array of functions to attach
23
- * @method hook
24
- */
25
- static hook(type: string, hook: Function | Function[]): void;
26
- /**
27
- * Remove a hook from a specific dash lifecycle.
28
- *
29
- * @param {string} type the lifecycle that the function hooked to
30
- * @param {Function} hook The hooked function to remove
31
- * @return {boolean} True if the function was removed, false if not found
32
- * @method removeHook
33
- */
34
- static removeHook(type: string, hook: Function): boolean;
35
- constructor(source: any, tech: any, options: any);
36
- player: import("video.js/dist/types/player").default;
37
- tech_: any;
38
- el_: any;
39
- elParent_: any;
40
- hasFiniteDuration_: boolean;
41
- keySystemOptions_: {};
42
- mediaPlayer_: any;
43
- retriggerError_: (event: any) => void;
44
- getDuration_: (event: any) => void;
45
- ttmlContainer_: import("video.js/dist/types/component").default;
46
- dispose(): void;
47
- duration(): any;
48
- }
49
- declare namespace Html5DashJS {
50
- const hooks_: {};
51
- }
@@ -1,51 +0,0 @@
1
- export { Html5DashJS as default };
2
- /**
3
- * videojs-contrib-dash
4
- *
5
- * Use Dash.js to playback DASH content inside of Video.js via a SourceHandler
6
- */
7
- declare class Html5DashJS {
8
- static buildDashJSProtData(keySystemOptions: any): {};
9
- /**
10
- * Get a list of hooks for a specific lifecycle
11
- *
12
- * @param {string} type the lifecycle to get hooks from
13
- * @param {Function|Function[]} [hook] Optionally add a hook tothe lifecycle
14
- * @return {Array} an array of hooks or epty if none
15
- * @method hooks
16
- */
17
- static hooks(type: string, hook?: Function | Function[]): any[];
18
- /**
19
- * Add a function hook to a specific dash lifecycle
20
- *
21
- * @param {string} type the lifecycle to hook the function to
22
- * @param {Function|Function[]} hook the function or array of functions to attach
23
- * @method hook
24
- */
25
- static hook(type: string, hook: Function | Function[]): void;
26
- /**
27
- * Remove a hook from a specific dash lifecycle.
28
- *
29
- * @param {string} type the lifecycle that the function hooked to
30
- * @param {Function} hook The hooked function to remove
31
- * @return {boolean} True if the function was removed, false if not found
32
- * @method removeHook
33
- */
34
- static removeHook(type: string, hook: Function): boolean;
35
- constructor(source: any, tech: any, options: any);
36
- player: import("video.js/dist/types/player").default;
37
- tech_: any;
38
- el_: any;
39
- elParent_: any;
40
- hasFiniteDuration_: boolean;
41
- keySystemOptions_: {};
42
- mediaPlayer_: any;
43
- retriggerError_: (event: any) => void;
44
- getDuration_: (event: any) => void;
45
- ttmlContainer_: import("video.js/dist/types/component").default;
46
- dispose(): void;
47
- duration(): any;
48
- }
49
- declare namespace Html5DashJS {
50
- const hooks_: {};
51
- }
@@ -1 +0,0 @@
1
- export function initaliseSkin(playerId: any): void;
@@ -1 +0,0 @@
1
- export function playerEvents(playerId: any, options: any): void;
@@ -1 +0,0 @@
1
- export function initialiseSkin(playerId: any, options: any): void;
@@ -1 +0,0 @@
1
- export function playerEvents(playerId: any, options: any): void;
@@ -1 +0,0 @@
1
- export function initialiseSkin(playerId: any, options: any): void;
@@ -1 +0,0 @@
1
- export function skinHandling(playerId: any, options: any): void;
@@ -1 +0,0 @@
1
- export function initaliseSkin(playerId: any): void;
@@ -1 +0,0 @@
1
- export function playerEvents(playerId: any, options: any): void;
@@ -1 +0,0 @@
1
- export function initialiseSkin(playerId: any, options: any): void;
@@ -1 +0,0 @@
1
- export function playerEvents(playerId: any, options: any): void;
@@ -1 +0,0 @@
1
- export function initialiseSkin(playerId: any, options: any): void;
@@ -1 +0,0 @@
1
- import{a as l,h as o,d as i,e,o as n,p as a,q as r,r as t,s}from"./features-2d66d073.js";import{g as d}from"./player_instance-34118a5b.js";import{a as u,i as v,b as p}from"./index-5863b4b8.js";import{R as m,f as c,e as b,k as y}from"./generic-7fb8e9c5.js";import"videojs-contrib-quality-menu";import{S as f,c as g,d as h}from"./icons-c139587c.js";import j from"video.js";import{i as C,s as w}from"./index-3b50e289.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@babel/runtime/helpers/inherits";import"@babel/runtime/helpers/possibleConstructorReturn";import"@babel/runtime/helpers/getPrototypeOf";import"./resolution-62be852a.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/assertThisInitialized";import"./skin-16f83185.js";import"./localisation-0bf399a1.js";import"./autoNextVideo-51072eff.js";import"./util-9649ae40.js";import"@babel/runtime/helpers/typeof";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"@babel/runtime/helpers/slicedToArray";import"axios";import"js-cookie";import"ua-parser-js";import"./captions-b619441b.js";import"video.js/dist/video-js.min.css";function k(i,e){var n,a=d(i),r=(null==e||null===(n=e.res)||void 0===n?void 0:n.siteId)||"";a&&(a.on("loadeddata",function(){var o,n,t,s,p;a.qualityLevels()&&a.qualityLevels().length?function(l){var o=d(l);o&&(null==o||o.qualityMenu,o.qualityMenu({useResolutionLabels:!0}))}(i):l(i,"vl_one",f()),!(null!=e&&null!==(o=e.series)&&void 0!==o&&o.enable||null!==(n=window)&&void 0!==n&&null!==(t=n.app_data)&&void 0!==t&&null!==(s=t.appcmsMain)&&void 0!==s&&null!==(p=s.features)&&void 0!==p&&p.auto_play)||null!=e&&e.liveVideo||u(i,e),null!=e&&e.liveVideo||m()||"b13633d9-f778-40c6-a5ea-c330617cdf55"===r||v(i)}),a.one("play",function(){var l,e,n,a;null!==(l=window)&&void 0!==l&&null!==(e=l.customData)&&void 0!==e&&e.iframeOverlayUrl&&o(i,null===(n=window)||void 0===n||null===(a=n.customData)||void 0===a?void 0:a.iframeOverlayUrl)}))}function B(l,o){d(l).addClass("skin_vlone"),k(l,o),function(l,o){var d,u,v,m,f,j,k,B,_,V,M,T,q,A,R,L=(null==o||null===(d=o.res)||void 0===d||null===(u=d.video)||void 0===u?void 0:u.isSSAIEnabled)||!1,O=c(null==o?void 0:o.res,l)||{};O.src;var x=(null==o?void 0:o.skin_settings)||{};null!=x&&x.skipBtn&&0==(null==o?void 0:o.liveVideo)&&0==(null==o?void 0:o.liveui)&&i(l,"VL_ONE",g());(null!=x&&x.rewindBtn&&0==(null==o?void 0:o.liveVideo)&&0==(null==o?void 0:o.liveui)||1==(null==o?void 0:o.liveui))&&e(l,"VL_ONE",h());(null==o||null===(v=o.relatedVideos)||void 0===v||null===(m=v.content)||void 0===m?void 0:m.length)>0&&n(l,null==o?void 0:o.relatedVideos);null!=o&&null!==(f=o.series)&&void 0!==f&&f.enable&&a(l,o);(null==o||null===(j=o.streams)||void 0===j?void 0:j.length)>1&&r(l,null==o?void 0:o.streams);if(p(l,o),C(l,o),"MEDIA_TAILOR"==(null===(k=window)||void 0===k||null===(B=k.app_data)||void 0===B||null===(_=B.appcmsMain)||void 0===_||null===(V=_.adsConfig)||void 0===V?void 0:V.vodAdSticherProvider)&&null!==(M=window)&&void 0!==M&&null!==(T=M.app_data)&&void 0!==T&&null!==(q=T.appcmsMain)&&void 0!==q&&null!==(A=q.adsConfig)&&void 0!==A&&A.vodAdClientSideTracking&&L){var D,E=null;if(null!=o&&null!==(D=o.series)&&void 0!==D&&D.enable){var I,P,S,N=null===(I=b())||void 0===I||null===(P=I.video)||void 0===P||null===(S=P.gist)||void 0===S?void 0:S.id,U=y(),$=(null==U?void 0:U.get(N))||{t:0,p:0},z=$.t;$.p<95&&(E=z)}else{var G=o.watchHistoryResumeTime;o.watchedPercentage<95&&(E=G)}w(l,E)}null!=o&&null!==(R=o.dvrConfig)&&void 0!==R&&R.enable&&null!=o&&o.isDvrEnabled&&(t(l,o),s(l,o))}(l,o),_(l,o)}var _=function(l,o){var i,e,n,a,r,t,s,u,v,p,m,c,b=d(l),y=(null==o?void 0:o.theme)||{},f=j.dom.$(".vjs-play-progress"),g=j.dom.$(".video-js .vjs-big-play-button .vjs-icon-placeholder");g&&(g.style.color="".concat(null===(i=window)||void 0===i||null===(e=i.app_data)||void 0===e||null===(n=e.appcmsMain)||void 0===n||null===(a=n.brand)||void 0===a||null===(r=a.cta)||void 0===r||null===(t=r.primary)||void 0===t?void 0:t.backgroundColor)),f&&(f.style.background="".concat(null===(s=window)||void 0===s||null===(u=s.app_data)||void 0===u||null===(v=u.appcmsMain)||void 0===v||null===(p=v.brand)||void 0===p||null===(m=p.cta)||void 0===m||null===(c=m.primary)||void 0===c?void 0:c.backgroundColor));var h=b.getChild("BigPlayButton")||null;(null==y?void 0:y.progressBarColor)&&f&&(f.style.background=y.progressBarColor),(null==y?void 0:y.playButtonBackgroundColor)&&h&&(h.el().style.background=y.playButtonBackgroundColor),(null==y?void 0:y.playButtonColor)&&g&&(g.style.color=y.playButtonColor),(null==y?void 0:y.playButtonType)&&("square"==(null==y?void 0:y.playButtonType)?h.el().style.borderRadius=".3em":h.el().style.borderRadius="1.3em")};export{B as initialiseSkin};
@@ -1 +0,0 @@
1
- import{a as e,b as t,c as s,d as i,e as o}from"./features-2d66d073.js";import{i as r}from"./index-3b50e289.js";import{S as n,M as l,a,N as m,b as d,R as p}from"./icons-c139587c.js";import{g as u}from"./player_instance-34118a5b.js";import{b as c}from"./skin-16f83185.js";import{e as b}from"./generic-7fb8e9c5.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@babel/runtime/helpers/inherits";import"@babel/runtime/helpers/possibleConstructorReturn";import"@babel/runtime/helpers/getPrototypeOf";import"video.js";import"./resolution-62be852a.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/assertThisInitialized";import"./localisation-0bf399a1.js";import"video.js/dist/video-js.min.css";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"./util-9649ae40.js";import"./captions-b619441b.js";import"@babel/runtime/helpers/typeof";import"@babel/runtime/helpers/slicedToArray";import"axios";import"js-cookie";import"ua-parser-js";function v(v,f){u(v).addClass("skin_default"),r(v,f),import("./skin-71be210e.js").then(function(e){var t=document.createElement("style");t.id="def_skin",t.append("".concat(e.default)),document.head.appendChild(t)}),function(e,t){0==t.liveVideo&&0==t.liveui&&i(e,"default",d());(0==t.liveVideo&&0==t.liveui||1==t.liveui)&&o(e,"default",p())}(v,f),function(i,o){var r=u(i),l=(null==o?void 0:o.sres)||null;r.on("loadeddata",function(){e(i,"default",n()),l&&import("./nextEpisodeButton-ce9c073f.js").then(function(e){e.initaliseFunctionality(o.sres.seasons,b())})}),r.one("loadedmetadata",function(){var e;l&&(t(i,null==o||null===(e=o.sres)||void 0===e?void 0:e.seasons,o),s(o.sres,o.res,i))})}(v,f),function(e,t){var s,i,o,r,n=u(e),d=document.getElementsByClassName("vjs-current-time")[0],p=document.getElementsByClassName("vjs-duration")[0],b=document.getElementsByClassName("vjs-time-divider")[0];t.liveVideo&&(d&&(d.style.display="none"),p&&(p.style.display="none"),b&&(b.style.display="none"));null===(s=n.controlBar.getChild("FullscreenToggle"))||void 0===s||null===(i=s.el())||void 0===i||i.appendChild(c(l(window.controlsColor))),null===(o=n.controlBar.getChild("FullscreenToggle"))||void 0===o||null===(r=o.el())||void 0===r||r.appendChild(c(a(window.controlsColor)));var v=n.controlBar.getChild("SubsCapsButton").el();document.getElementById(e).getElementsByClassName("vjs-subs-caps-button")[1].appendChild(c(m()));var f=document.createElement("div");f.classList.add("caption-header"),v.querySelector(".vjs-menu-content").insertBefore(f,v.querySelector(".vjs-menu-item"))}(v,f)}export{v as initialiseSkin};
@@ -1 +0,0 @@
1
- import t from"@babel/runtime/helpers/classCallCheck";import e from"@babel/runtime/helpers/createClass";import r from"@babel/runtime/helpers/inherits";import n from"@babel/runtime/helpers/possibleConstructorReturn";import o from"@babel/runtime/helpers/getPrototypeOf";import i from"video.js";import{s as l}from"./icons-c139587c.js";function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a=function(){return!!t})()}var s=i.getComponent("Component"),c=function(){r(p,s);var c,u,m=(c=p,u=a(),function(){var t,e=o(c);if(u){var r=o(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return n(this,t)});function p(e,r){var n;return t(this,p),(n=m.call(this,e,r)).el().innerHTML=l(),r.userId,r.siteOwner,n.on("click",function(){e&&e.seekable()&&(e.currentTime(e.seekable().start(0)),e.play())}),n}return e(p,[{key:"createEl",value:function(){return i.dom.createEl("button",{className:"vjs-control vjs-button watch-begin-btn",role:"button",tabIndex:0,title:"Start From Beginning"})}}]),p}();export{c as default};
@@ -1,3 +0,0 @@
1
- export function gtag(...args: any[]): void;
2
- export function runGtag(trackingId: any): void;
3
- export function fireGAEvent(ename: any, data: any): void;
@@ -1,3 +0,0 @@
1
- export function getUserId(): string;
2
- export function generateId(): string;
3
- export function inititateBeacon(playerId: any, analyticsCb: any): void;
@@ -1 +0,0 @@
1
- export function addColorToControls(color: any, player: any): void;
@@ -1,5 +0,0 @@
1
- export function inititateConviva(playerId: any, config: any): Promise<void>;
2
- export namespace convivaDataManager {
3
- function setData(newData: any): void;
4
- function getData(): {};
5
- }
@@ -1,5 +0,0 @@
1
- export function initialiseKeyboardEvents(playerId: any, options: any): void;
2
- export namespace keyboardManager {
3
- function enable(): void;
4
- function disable(): void;
5
- }
@@ -1 +0,0 @@
1
- export function replaceMacros(assetUrl: string, playerId: any, props: any): string;