ucservice 1.7.0 → 1.7.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ucservice",
3
3
  "private": false,
4
- "version": "1.7.0",
4
+ "version": "1.7.1",
5
5
  "description": "统一通信服务",
6
6
  "main": "dist/ucservice.common.js",
7
7
  "style": "ucservice.css",
@@ -86,6 +86,11 @@
86
86
  width: 100%;
87
87
  height: 100%;
88
88
  }
89
+ .video-main .video-box.scale-scene{
90
+ width: 100%!important;
91
+ height: 100%!important;
92
+ object-fit: fill!important;
93
+ }
89
94
  .video-main.mode-4 .close-btn {
90
95
  width: 1.1rem;
91
96
  height: 1.1rem;
@@ -152,6 +157,25 @@
152
157
  width: 1.3rem;
153
158
  height: 1.3rem;
154
159
  }
160
+
161
+ .video-main.mode-4 .scale-btn {
162
+ bottom: 3px;
163
+ right: 6.8rem;
164
+ width: 1.5rem;
165
+ height: 1.5rem;
166
+ }
167
+ .video-main.mode-9 .scale-btn {
168
+ bottom: 3px;
169
+ right: 6.2rem;
170
+ width: 1.42rem;
171
+ height: 1.42rem;
172
+ }
173
+ .video-main.mode-16 .scale-btn {
174
+ bottom: 3px;
175
+ right: 5.7rem;
176
+ width: 1.3rem;
177
+ height: 1.3rem;
178
+ }
155
179
  .video-main.mode-9 .stream-loading {
156
180
  width: 11.4rem;
157
181
  height: 2.1rem;
@@ -245,6 +269,21 @@
245
269
  background-size: 100% 100%;
246
270
  background-color: rgba(0,0,0,0);
247
271
  }
272
+ .rotate-btn .bggray, .scale-btn .bggray{
273
+ filter: grayscale(100%);
274
+ }
275
+ .scale-btn {
276
+ position: absolute;
277
+ bottom: 1px;
278
+ right: 8.6rem;
279
+ border: 0;
280
+ width: 1.75rem;
281
+ height: 1.75rem;
282
+ float: left;
283
+ /* background-image: url("~@/img/yy_gb.png"); */
284
+ background-size: 100% 100%;
285
+ background-color: rgba(0,0,0,0);
286
+ }
248
287
  .recv-audio-btn {
249
288
  position: absolute;
250
289
  bottom: -8px;
@@ -2803,7 +2803,7 @@
2803
2803
  '<div class="operate-btn">';
2804
2804
  //videoHtml +='<button type="button" class="unlock-video-btn hide" name="lockVideo"></button>';
2805
2805
  // checkUserMediaAvailable() &&
2806
- videoHtml += '<button type="button" class="rotate-btn hide" name="rotateVideo" rotate-index="0" title="视频旋转"></button><button type="button" class="unsend-audio-btn hide" name="sendAudio"></button>';
2806
+ videoHtml += '<button type="button" class="scale-btn bggray hide" name="scaleVideo" title="视频画面铺满"></button><button type="button" class="rotate-btn hide" name="rotateVideo" rotate-index="0" title="视频旋转"></button><button type="button" class="unsend-audio-btn hide" name="sendAudio"></button>';
2807
2807
  videoHtml += '<button type="button" class="unrecv-audio-btn hide" name="recvAudio"></button>' +
2808
2808
  '<button type="button" class="close-btn hide" name="closeVideo"></button>' +
2809
2809
  '</div>' +