File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " gleap" ,
3
- "version" : " 7.0.4 " ,
3
+ "version" : " 7.0.5 " ,
4
4
"main" : " build/index.js" ,
5
5
"scripts" : {
6
6
"start" : " webpack serve" ,
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ export default class GleapMarkerManager {
183
183
${ loadIcon ( "mic" ) }
184
184
<span class="bb-tooltip bb-tooltip-audio-recording"></span>
185
185
</div>
186
- <div class="bb-capture-toolbar-item-timer bb-capture-item-rec">3 :00</div>
186
+ <div class="bb-capture-toolbar-item-timer bb-capture-item-rec">2 :00</div>
187
187
<div class="bb-capture-toolbar-item-spacer"></div>
188
188
<div class="bb-capture-toolbar-item bb-capture-toolbar-drawingitem bb-capture-toolbar-item-tool" data-type="pointer">
189
189
${ loadIcon ( "pointer" ) }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export class GleapScreenRecorder {
9
9
available = true ;
10
10
isRecording = false ;
11
11
file = null ;
12
- maxRecordTime = 60 ;
12
+ maxRecordTime = 120 ;
13
13
recordTime = 0 ;
14
14
recordingTimer = null ;
15
15
permissionErrorText = "" ;
@@ -43,7 +43,7 @@ export class GleapScreenRecorder {
43
43
}
44
44
45
45
navigator . mediaDevices
46
- . getDisplayMedia ( { video : true , audio : true } )
46
+ . getDisplayMedia ( { video : { width : 1280 } , audio : true } )
47
47
. then ( function ( displayStream ) {
48
48
self . stream = displayStream ;
49
49
@@ -173,7 +173,7 @@ export class GleapScreenRecorder {
173
173
if ( remainingTime > 0 ) {
174
174
timerLabel . innerHTML = self . formatTime ( remainingTime ) ;
175
175
} else {
176
- timerLabel . innerHTML = "1 :00" ;
176
+ timerLabel . innerHTML = "2 :00" ;
177
177
self . stopScreenRecording ( ) ;
178
178
}
179
179
} , 1000 ) ;
@@ -205,8 +205,6 @@ export class GleapScreenRecorder {
205
205
type : "video/mp4" ,
206
206
} ) ;
207
207
208
- console . log ( this . file . size ) ;
209
-
210
208
const previewVideoElement = document . querySelector (
211
209
".bb-capture-preview video"
212
210
) ;
You can’t perform that action at this time.
0 commit comments