Skip to content

Commit 153e1e6

Browse files
committed
Improvement
1 parent 3b56ef6 commit 153e1e6

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

demo/main.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ Gleap.preFillForm({
55
"userId": "1233"
66
});
77

8-
//Gleap.setApiUrl("http://localhost:9000");
8+
Gleap.setApiUrl("http://localhost:9000");
99
// Gleap.setLanguage("en");
10-
Gleap.setFrameUrl("http://localhost:3000");
1110
Gleap.initialize("ogWhNhuiZcGWrva5nlDS8l7a78OfaLlV");
1211

1312
Gleap.identify("user_19283", {

src/GleapScreenRecorder.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ export class GleapScreenRecorder {
3030
if (MediaRecorder.isTypeSupported("video/mp4")) {
3131
return "video/mp4";
3232
}
33+
if (MediaRecorder.isTypeSupported("video/webm;codecs=h264")) {
34+
return "video/webm;codecs=h264";
35+
}
3336
return "video/webm";
3437
}
3538

src/UI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export const injectStyledCSS = (
118118
}
119119
120120
.gleap-frame-container--animate {
121-
transition: max-height 0.3s ease-in;
121+
transition: max-height 0.2s ease-in;
122122
pointer-events: auto !important;
123123
}
124124

0 commit comments

Comments
 (0)