ezuikit-js 8.1.9 → 8.1.10

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.
@@ -14,6 +14,16 @@
14
14
  user-select: none;
15
15
  }
16
16
 
17
+
18
+ .speed-select > li {
19
+ text-overflow: ellipsis;
20
+ overflow: hidden;
21
+ word-break: break-all;
22
+ white-space: nowrap;
23
+ padding: 0 10px;
24
+ box-sizing: border-box;
25
+ }
26
+
17
27
  .speed-select li:hover {
18
28
  background: #1890ff1a;
19
29
  }
@@ -103,7 +103,7 @@ var spinner = null;
103
103
  Janus.log("Plugin attached! (" + tts.getPlugin() + ", id=" + tts.getId() + ")");
104
104
  // Negotiate WebRTC
105
105
  //var url = "tts://61.130.6.23:8664/talk://D13781761:0:1:cas.ys7.com:6500?97fbd2a75fa94b7682c994d3d1fac8ca:ut.5porslgu79e9r7ca48z32k8abgl3rp58-77bhb6i7xr-1kmumtg-jkhy7pvfr:0:3"
106
-
106
+
107
107
 
108
108
  //var url = "tts://10.86.15.209:8664/talk://D13781761:0:1:cas.ys7.com:6500?32db2578ba7c4a84be22ecc0bcd0f8db:ut.5lqpkhim5m7cdk2y5w60g7hm9vd7i3v0-3d2pwhxe2t-11wx2ge-sh4yazbll:0:3"
109
109
  //var url = "tts://10.86.15.209:8664/talk://D13781761:0:1:cas.ys7.com:6500"
@@ -136,8 +136,8 @@ var spinner = null;
136
136
  error: function(error) {
137
137
  Janus.error("WebRTC error:", error);
138
138
  // bootbox.alert("WebRTC error... " + JSON.stringify(error));
139
- if(typeof window.EZUIKit.handleTalkError !== 'undefined'){
140
- window.EZUIKit.handleTalkError(error);
139
+ if(typeof window.EZUIKit['handleTalkError']?.[window.__CURRENT_PLAYER_TALK_ID] !== 'undefined'){
140
+ window.EZUIKit['handleTalkError']?.[window.__CURRENT_PLAYER_TALK_ID](error);
141
141
  }
142
142
  }
143
143
  });
@@ -150,8 +150,8 @@ var spinner = null;
150
150
  error: function(error) {
151
151
  console.error(" -- Error attaching plugin...", error);
152
152
  bootbox.alert("Error attaching plugin... " + error);
153
- if(window.EZUIKit.handleTalkError !== 'undefined'){
154
- window.EZUIKit.handleTalkError(error);
153
+ if(window.EZUIKit['handleTalkError']?.[window.__CURRENT_PLAYER_TALK_ID] !== 'undefined'){
154
+ window.EZUIKit['handleTalkError']?.[window.__CURRENT_PLAYER_TALK_ID](error);
155
155
  }
156
156
  },
157
157
  consentDialog: function(on) {
@@ -311,8 +311,8 @@ var spinner = null;
311
311
  },
312
312
  error: function(error) {
313
313
  Janus.error(error);
314
- if(window.EZUIKit.handleTalkError !== 'undefined'){
315
- window.EZUIKit.handleTalkError(error);
314
+ if(window.EZUIKit['handleTalkError']?.[window.__CURRENT_PLAYER_TALK_ID] !== 'undefined'){
315
+ window.EZUIKit['handleTalkError']?.[window.__CURRENT_PLAYER_TALK_ID](error);
316
316
  }
317
317
  },
318
318
  destroyed: function() {