@clickview/player 1.2.1-dev.3 → 1.2.1-dev.4
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/.eslintrc.json +2 -2
- package/dist/en.json +1 -1
- package/dist/interactive-player.css +5 -5
- package/dist/interactive-player.js +1 -1
- package/dist/player.css +2 -2
- package/dist/player.js +1 -1
- package/jest.config.js +12 -12
- package/package.json +71 -72
- package/test/players/test-player.ts +31 -31
- package/test/setupTests.ts +7 -7
- package/test/utils/test-helpers.ts +21 -21
- package/typings/libs/cloneDeep.d.ts +5 -0
- package/typings/libs/draft-convert.d.ts +3 -3
- package/typings/libs/videojs-contrib-quality-levels.d.ts +28 -28
- package/typings/utils/globals.d.ts +1 -1
- package/typings/utils/imports.d.ts +12 -12
package/dist/player.css
CHANGED
|
@@ -35,6 +35,6 @@
|
|
|
35
35
|
.video-js .vjs-poster{color:#fff;font-size:.875rem;background-size:cover;background-position:center}.video-js .vjs-poster .cv-player-mask{position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.3)}.video-js .vjs-poster .cv-splash-metadata{position:absolute;top:1.25em;left:1.25em;z-index:1}.video-js .vjs-poster .cv-splash-metadata.cv-embed-splash-metadata{top:2.5em;left:2.5em}.video-js .vjs-poster .cv-splash-metadata .cv-series-text{display:flex;align-items:center;font-weight:500}.video-js .vjs-poster .cv-splash-metadata .cv-splash-warning-container{display:flex;align-items:center}.video-js .vjs-poster .cv-splash-metadata .cv-splash-warning-container .cv-splash-rating{line-height:1.2;padding:.4em .8em;display:flex;justify-content:center;margin-right:.625rem}.video-js .vjs-poster .cv-splash-metadata .cv-splash-warning-container .cv-splash-warning{font-size:1rem;margin-bottom:0;font-weight:500}.video-js .vjs-poster .cv-embed-logo{position:absolute;bottom:2.5em;left:2.5em;z-index:1;width:11em}
|
|
36
36
|
.video-js .cv-create-clip-button{width:4em;padding:0}.video-js .cv-create-clip-button .vjs-icon-placeholder::before{font-family:CVPlayer;content:"\f10e"}
|
|
37
37
|
.video-js .cv-pip-play-toggle{position:absolute;height:auto;top:50%;left:50%;opacity:0;transition:opacity 1s;z-index:2;cursor:pointer;transform:translate(-50%, -50%)}.video-js .cv-pip-play-toggle .vjs-icon-placeholder::before{font-size:5em}.video-js .cv-pip-play-toggle:hover .vjs-icon-placeholder::before{opacity:1}.video-js.vjs-has-started .cv-pip-play-toggle{opacity:1}.video-js.vjs-seeking .cv-pip-play-toggle,.video-js.vjs-scrubbing .cv-pip-play-toggle{opacity:0}.video-js.cv-picture-in-picture{padding-top:56.25%}.video-js.cv-picture-in-picture .vjs-control-bar{padding-bottom:0}.video-js.cv-picture-in-picture .cv-collapsorator{display:none}.video-js.cv-picture-in-picture .vjs-progress-control{margin-bottom:2em;padding-left:1em;padding-right:1em}.video-js.cv-picture-in-picture .vjs-time-control{padding-left:1em;padding-right:1em}.video-js.cv-picture-in-picture .cv-favourite-button{top:1em;right:1em}.video-js.cv-picture-in-picture .cv-activity-status-button{top:1em;right:5em}.video-js.cv-picture-in-picture .cv-up-next-container{display:none}.video-js.vjs-has-started.vjs-user-inactive.vjs-playing .cv-pip-play-toggle{opacity:0}.video-js .vjs-picture-in-picture-control.vjs-disabled{display:none}
|
|
38
|
-
.video-js .cv-favourite-button{opacity:0;transition:opacity 1s;
|
|
38
|
+
.video-js .cv-favourite-button{opacity:0;position:absolute;transition:opacity 1s;top:1.25rem;right:1.25rem;padding:0;width:4em;height:4em;border-radius:50%;background-color:rgba(241,241,241,.5);box-shadow:0 .5rem 1rem rgba(51,51,51,.15);z-index:2;color:#313543}.video-js .cv-favourite-button.cv-favourited{color:#d9584f;background-color:rgba(241,241,241,.8)}.video-js.vjs-has-started .cv-favourite-button{opacity:1}.video-js.vjs-has-started.vjs-user-inactive.vjs-playing .cv-favourite-button{opacity:0}.video-js .cv-favourite-button-svg{width:3.2em;height:3.2em;display:inline-block}
|
|
39
39
|
.video-js .cv-point-of-interest-indicator{position:absolute;width:1em;height:1em;top:50%;transform:translateY(-50%);margin-left:-0.5em;background-color:#b5b5b5;border-radius:50%;z-index:4}.video-js .cv-point-of-interest-indicator::after{content:" ";position:absolute;width:.6em;height:.6em;border-radius:50%;top:50%;left:50%;transform:translate(-50%, -50%);background-color:rgba(78,154,206,.8)}.video-js .cv-point-of-interest-indicator.cv-point-of-interest-indicator-buffered{background-color:#fff}.video-js .cv-point-of-interest-indicator.cv-point-of-interest-indicator-played{background-color:#f8981d}.video-js .cv-point-of-interest-indicator.cv-point-of-interest-indicator-buffered::after,.video-js .cv-point-of-interest-indicator.cv-point-of-interest-indicator-played::after{background-color:#4e9ace}.video-js .cv-point-of-interest-indicator.cv-point-of-interest-indicator-hidden{display:none}.video-js .cv-point-of-interest-indicator-highlight{font-size:1.6666666em}.video-js.vjs-scrubbing .vjs-progress-control .vjs-progress-holder .cv-point-of-interest-indicator,.video-js .vjs-progress-control:hover .vjs-progress-holder .cv-point-of-interest-indicator{width:.600000024em;height:.600000024em;margin-left:-.300000012em}.video-js.vjs-scrubbing .vjs-progress-control .vjs-progress-holder .cv-point-of-interest-indicator::after,.video-js .vjs-progress-control:hover .vjs-progress-holder .cv-point-of-interest-indicator::after{width:.3600000144em;height:.3600000144em}.video-js.vjs-scrubbing .vjs-progress-control .vjs-progress-holder .cv-point-of-interest-indicator:hover,.video-js .vjs-progress-control:hover .vjs-progress-holder .cv-point-of-interest-indicator:hover{width:1em;height:1em;margin-left:-0.5em}.video-js.vjs-scrubbing .vjs-progress-control .vjs-progress-holder .cv-point-of-interest-indicator:hover::after,.video-js .vjs-progress-control:hover .vjs-progress-holder .cv-point-of-interest-indicator:hover::after{width:.6em;height:.6em}
|
|
40
|
-
.video-js .cv-activity-status-button{opacity:0;transition:opacity 1s;position:absolute;top:1.25rem;padding:0;width:
|
|
40
|
+
.video-js .cv-activity-status-button{opacity:0;transition:opacity 1s;position:absolute;top:1.25rem;padding:0;width:4em;height:4em;border-radius:50%;background-color:rgba(241,241,241,.5);box-shadow:0 .5rem 1rem rgba(51,51,51,.15);z-index:2;right:4.375rem}.video-js .cv-activity-status-button .vjs-icon-placeholder::before{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-size:3.6em !important;font-family:CVPlayer;content:"\f11d";color:#333;display:block}.video-js .cv-activity-status-button:hover{background-color:#60b789}.video-js .cv-activity-status-button:hover .vjs-icon-placeholder::before{content:"\f11d";color:#fff;opacity:.75}.video-js .cv-activity-status-button.cv-activity-completed{background-color:#60b789}.video-js .cv-activity-status-button.cv-activity-completed .vjs-icon-placeholder::before{content:"\f11d";color:#fff}.video-js .cv-activity-status-button.cv-activity-completed:hover .vjs-icon-placeholder::before{opacity:1}.video-js.vjs-has-started .cv-activity-status-button{opacity:1}.video-js.vjs-has-started.vjs-user-inactive.vjs-playing .cv-activity-status-button{opacity:0}
|