File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " gleap" ,
3- "version" : " 7.0.4 " ,
3+ "version" : " 7.0.5 " ,
44 "main" : " build/index.js" ,
55 "scripts" : {
66 "start" : " webpack serve" ,
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ export default class GleapMarkerManager {
183183 ${ loadIcon ( "mic" ) }
184184 <span class="bb-tooltip bb-tooltip-audio-recording"></span>
185185 </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>
187187 <div class="bb-capture-toolbar-item-spacer"></div>
188188 <div class="bb-capture-toolbar-item bb-capture-toolbar-drawingitem bb-capture-toolbar-item-tool" data-type="pointer">
189189 ${ loadIcon ( "pointer" ) }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export class GleapScreenRecorder {
99 available = true ;
1010 isRecording = false ;
1111 file = null ;
12- maxRecordTime = 60 ;
12+ maxRecordTime = 120 ;
1313 recordTime = 0 ;
1414 recordingTimer = null ;
1515 permissionErrorText = "" ;
@@ -43,7 +43,7 @@ export class GleapScreenRecorder {
4343 }
4444
4545 navigator . mediaDevices
46- . getDisplayMedia ( { video : true , audio : true } )
46+ . getDisplayMedia ( { video : { width : 1280 } , audio : true } )
4747 . then ( function ( displayStream ) {
4848 self . stream = displayStream ;
4949
@@ -173,7 +173,7 @@ export class GleapScreenRecorder {
173173 if ( remainingTime > 0 ) {
174174 timerLabel . innerHTML = self . formatTime ( remainingTime ) ;
175175 } else {
176- timerLabel . innerHTML = "1 :00" ;
176+ timerLabel . innerHTML = "2 :00" ;
177177 self . stopScreenRecording ( ) ;
178178 }
179179 } , 1000 ) ;
@@ -205,8 +205,6 @@ export class GleapScreenRecorder {
205205 type : "video/mp4" ,
206206 } ) ;
207207
208- console . log ( this . file . size ) ;
209-
210208 const previewVideoElement = document . querySelector (
211209 ".bb-capture-preview video"
212210 ) ;
You can’t perform that action at this time.
0 commit comments