@besovideo/webrtc-player 0.8.69 → 0.8.71
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/dist/main.es.css +150 -12
- package/dist/main.es.js +3067 -1828
- package/dist/types/api/dialog.d.ts +31 -4
- package/dist/types/api/marker.d.ts +23 -0
- package/dist/types/api/record.d.ts +16 -0
- package/dist/types/api/var.d.ts +7 -3
- package/dist/types/components/playBack.d.ts +41 -0
- package/dist/types/components/puPlayer.d.ts +2 -2
- package/dist/types/core/customElement.d.ts +8 -8
- package/dist/types/core/error.d.ts +3 -0
- package/dist/types/core/style.d.ts +1 -1
- package/dist/types/core/types.d.ts +4 -4
- package/dist/types/instances/bvWebrtc.d.ts +1 -1
- package/dist/types/main.d.ts +2 -1
- package/dist/types/plugins/markerHandle.d.ts +45 -0
- package/dist/types/plugins/mixins/visible.d.ts +1 -1
- package/dist/types/plugins/palybackBar.d.ts +54 -0
- package/dist/types/plugins/player/reducers/bvrtc.d.ts +3 -0
- package/dist/types/plugins/player/reducers/webrtc.d.ts +1 -1
- package/dist/types/templates/icons.d.ts +2 -2
- package/dist/types/utils/date.d.ts +1 -1
- package/dist/types/utils/http.d.ts +1 -0
- package/dist/types/utils/media.d.ts +3 -3
- package/dist/types/utils/storage.d.ts +1 -1
- package/dist/types/z_test/playback.d.ts +4 -0
- package/dist/types/z_test/wsBvrtc.d.ts +1 -2
- package/package.json +2 -2
- package/dist/main.browser.css +0 -897
- package/dist/main.browser.js +0 -16141
package/dist/main.es.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* sass-plugin-
|
|
1
|
+
/* sass-plugin-0:G:\develop\bvweb-player\node_modules\.pnpm\tippy.js@6.3.7\node_modules\tippy.js\dist\tippy.css */
|
|
2
2
|
.tippy-box[data-animation=fade][data-state=hidden] {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
}
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
z-index: 1;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
/* sass-plugin-
|
|
84
|
+
/* sass-plugin-0:G:\develop\bvweb-player\node_modules\.pnpm\tippy.js@6.3.7\node_modules\tippy.js\animations\shift-away.css */
|
|
85
85
|
.tippy-box[data-animation=shift-away][data-state=hidden] {
|
|
86
86
|
opacity: 0;
|
|
87
87
|
}
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
transform: translateX(-10px);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
/* sass-plugin-
|
|
101
|
+
/* sass-plugin-0:G:\develop\bvweb-player\src\styles\contextmenu.css */
|
|
102
102
|
.cm_container {
|
|
103
103
|
position: absolute;
|
|
104
104
|
opacity: 0;
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
background-color: inherit;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
/* sass-plugin-
|
|
195
|
+
/* sass-plugin-0:G:\develop\bvweb-player\src\styles\main.scss */
|
|
196
196
|
.bvplayer-common-flex-space {
|
|
197
197
|
display: inline-block;
|
|
198
198
|
flex: 1;
|
|
@@ -235,7 +235,6 @@
|
|
|
235
235
|
.bvplayer-button {
|
|
236
236
|
cursor: pointer;
|
|
237
237
|
-webkit-appearance: none;
|
|
238
|
-
-moz-appearance: none;
|
|
239
238
|
appearance: none;
|
|
240
239
|
outline: none;
|
|
241
240
|
border: 0;
|
|
@@ -476,8 +475,6 @@
|
|
|
476
475
|
height: 98px;
|
|
477
476
|
color: #fff;
|
|
478
477
|
-webkit-user-select: none;
|
|
479
|
-
-moz-user-select: none;
|
|
480
|
-
-ms-user-select: none;
|
|
481
478
|
user-select: none;
|
|
482
479
|
pointer-events: none;
|
|
483
480
|
visibility: hidden;
|
|
@@ -530,7 +527,6 @@
|
|
|
530
527
|
cursor: pointer;
|
|
531
528
|
display: inline-block;
|
|
532
529
|
-webkit-appearance: none;
|
|
533
|
-
-moz-appearance: none;
|
|
534
530
|
appearance: none;
|
|
535
531
|
width: 36px;
|
|
536
532
|
height: 100%;
|
|
@@ -597,7 +593,6 @@
|
|
|
597
593
|
.bvplayer-ptz-control-button {
|
|
598
594
|
cursor: pointer;
|
|
599
595
|
-webkit-appearance: none;
|
|
600
|
-
-moz-appearance: none;
|
|
601
596
|
appearance: none;
|
|
602
597
|
outline: none;
|
|
603
598
|
border: 0;
|
|
@@ -618,8 +613,6 @@
|
|
|
618
613
|
height: 100%;
|
|
619
614
|
display: inline-block;
|
|
620
615
|
-webkit-user-select: none;
|
|
621
|
-
-moz-user-select: none;
|
|
622
|
-
-ms-user-select: none;
|
|
623
616
|
user-select: none;
|
|
624
617
|
}
|
|
625
618
|
.bvplayer-ptz-speed-slider_header,
|
|
@@ -765,7 +758,6 @@
|
|
|
765
758
|
overflow: hidden;
|
|
766
759
|
text-overflow: ellipsis;
|
|
767
760
|
vertical-align: top;
|
|
768
|
-
-moz-text-align-last: justify;
|
|
769
761
|
text-align-last: justify;
|
|
770
762
|
}
|
|
771
763
|
.bvplayer-ptz_control_camera-option_item_value {
|
|
@@ -870,6 +862,8 @@
|
|
|
870
862
|
display: flex;
|
|
871
863
|
flex-direction: column;
|
|
872
864
|
align-items: end;
|
|
865
|
+
margin-left: 70px;
|
|
866
|
+
width: calc(100% - 70px);
|
|
873
867
|
}
|
|
874
868
|
.bvplayer-player_info-modal_list {
|
|
875
869
|
min-width: 210px;
|
|
@@ -895,3 +889,147 @@
|
|
|
895
889
|
white-space: normal;
|
|
896
890
|
word-break: break-all;
|
|
897
891
|
}
|
|
892
|
+
.bvplayer-blaybackbar {
|
|
893
|
+
position: absolute;
|
|
894
|
+
top: 0;
|
|
895
|
+
left: 0;
|
|
896
|
+
height: 100%;
|
|
897
|
+
width: 100%;
|
|
898
|
+
}
|
|
899
|
+
.bvplayer-blaybackbar .right-options {
|
|
900
|
+
position: absolute;
|
|
901
|
+
right: 16px;
|
|
902
|
+
top: 14px;
|
|
903
|
+
}
|
|
904
|
+
.bvplayer-blaybackbar .svg-sound {
|
|
905
|
+
color: white;
|
|
906
|
+
cursor: pointer;
|
|
907
|
+
display: inline-block;
|
|
908
|
+
width: -moz-fit-content;
|
|
909
|
+
width: fit-content;
|
|
910
|
+
vertical-align: super;
|
|
911
|
+
padding: 5px;
|
|
912
|
+
padding: 5px 8px;
|
|
913
|
+
border-radius: 15px;
|
|
914
|
+
}
|
|
915
|
+
.bvplayer-blaybackbar .svg-sound .range-input {
|
|
916
|
+
width: 0px;
|
|
917
|
+
vertical-align: middle;
|
|
918
|
+
margin-right: 2px;
|
|
919
|
+
transition: width 0.5s;
|
|
920
|
+
display: none;
|
|
921
|
+
}
|
|
922
|
+
.bvplayer-blaybackbar .svg-sound .range-input::-webkit-slider-thumb {
|
|
923
|
+
background: #ffffff;
|
|
924
|
+
}
|
|
925
|
+
.bvplayer-blaybackbar .svg-sound svg {
|
|
926
|
+
vertical-align: middle;
|
|
927
|
+
}
|
|
928
|
+
.bvplayer-blaybackbar .svg-sound:hover {
|
|
929
|
+
background-color: rgba(44, 44, 44, 0.61);
|
|
930
|
+
}
|
|
931
|
+
.bvplayer-blaybackbar .svg-sound:hover .range-input {
|
|
932
|
+
display: inline-block;
|
|
933
|
+
width: 60px;
|
|
934
|
+
margin-right: 10px;
|
|
935
|
+
}
|
|
936
|
+
.bvplayer-markerhandle {
|
|
937
|
+
height: 100%;
|
|
938
|
+
}
|
|
939
|
+
.bvplayer-markerhandle .mark-timeline-title > span {
|
|
940
|
+
width: 25%;
|
|
941
|
+
display: inline-block;
|
|
942
|
+
text-align: center;
|
|
943
|
+
font-weight: bolder;
|
|
944
|
+
color: #989898;
|
|
945
|
+
font-size: small;
|
|
946
|
+
line-height: 32px;
|
|
947
|
+
}
|
|
948
|
+
.bvplayer-markerhandle .mark-timeline-line {
|
|
949
|
+
border-bottom: 1px solid #e0e0e0;
|
|
950
|
+
}
|
|
951
|
+
.bvplayer-markerhandle .mark-timeline-line-content {
|
|
952
|
+
line-height: 40px;
|
|
953
|
+
}
|
|
954
|
+
.bvplayer-markerhandle .mark-timeline-line-content > span {
|
|
955
|
+
color: #858585;
|
|
956
|
+
}
|
|
957
|
+
.bvplayer-markerhandle .mark-timeline-line-content:hover {
|
|
958
|
+
background-color: #ecf5ff;
|
|
959
|
+
transition: background 0.3s;
|
|
960
|
+
}
|
|
961
|
+
.bvplayer-markerhandle .input-handle-marker {
|
|
962
|
+
padding-top: 5px;
|
|
963
|
+
}
|
|
964
|
+
.bvplayer-markerhandle .input-handle-marker .custom_input {
|
|
965
|
+
display: flex;
|
|
966
|
+
align-items: center;
|
|
967
|
+
position: relative;
|
|
968
|
+
max-width: 100%;
|
|
969
|
+
}
|
|
970
|
+
.bvplayer-markerhandle .input-handle-marker .input {
|
|
971
|
+
font-size: 12px;
|
|
972
|
+
padding: 0px 10px;
|
|
973
|
+
margin-right: 5px;
|
|
974
|
+
width: calc(100% - 240px);
|
|
975
|
+
line-height: 30px;
|
|
976
|
+
outline: none;
|
|
977
|
+
background: #ffffff;
|
|
978
|
+
color: #000000;
|
|
979
|
+
border: 1px solid #c4d1eb;
|
|
980
|
+
border-radius: 5px;
|
|
981
|
+
transition: 0.3s ease;
|
|
982
|
+
}
|
|
983
|
+
.bvplayer-markerhandle .input-handle-marker .input:focus {
|
|
984
|
+
background: #f2f2f2;
|
|
985
|
+
border: 1px solid #6e98ec;
|
|
986
|
+
border-radius: 5px;
|
|
987
|
+
}
|
|
988
|
+
.bvplayer-markerhandle .input-handle-marker .input::placeholder {
|
|
989
|
+
color: #dddddd;
|
|
990
|
+
}
|
|
991
|
+
.bvplayer-markerhandle .input-handle-marker .show-wrapper {
|
|
992
|
+
vertical-align: middle;
|
|
993
|
+
margin-right: 5px;
|
|
994
|
+
margin-left: 1px;
|
|
995
|
+
cursor: pointer;
|
|
996
|
+
}
|
|
997
|
+
.bvplayer-markerhandle .testbutton {
|
|
998
|
+
cursor: pointer;
|
|
999
|
+
font-family: "times new roman";
|
|
1000
|
+
color: #02050a !important;
|
|
1001
|
+
font-size: 12px;
|
|
1002
|
+
text-shadow: 0px 0px 0px #7cacde;
|
|
1003
|
+
box-shadow: 0px 0px 0px #f5f5f5;
|
|
1004
|
+
padding: 7px 15px;
|
|
1005
|
+
border-radius: 3px;
|
|
1006
|
+
line-height: 16px;
|
|
1007
|
+
border: 1px solid #c4c4c4;
|
|
1008
|
+
background: #ffffff;
|
|
1009
|
+
}
|
|
1010
|
+
.bvplayer-markerhandle .testbutton:hover {
|
|
1011
|
+
color: #409eff !important;
|
|
1012
|
+
background: #ecf5ff;
|
|
1013
|
+
}
|
|
1014
|
+
.bvplayer-markerhandle .opt-controls {
|
|
1015
|
+
z-index: 1;
|
|
1016
|
+
padding: 5px 0px;
|
|
1017
|
+
border: 1px solid lightgray;
|
|
1018
|
+
border-radius: 4px;
|
|
1019
|
+
top: 36px;
|
|
1020
|
+
left: 5px;
|
|
1021
|
+
width: 80px;
|
|
1022
|
+
color: #bebebe;
|
|
1023
|
+
}
|
|
1024
|
+
.bvplayer-markerhandle .testbutton-noborder {
|
|
1025
|
+
border: 0px;
|
|
1026
|
+
}
|
|
1027
|
+
.bvplayer-markerhandle .marker-display-panel {
|
|
1028
|
+
position: absolute;
|
|
1029
|
+
top: 0px;
|
|
1030
|
+
left: 0px;
|
|
1031
|
+
height: 80%;
|
|
1032
|
+
width: 100%;
|
|
1033
|
+
pointer-events: none;
|
|
1034
|
+
overflow: hidden;
|
|
1035
|
+
}
|