diff --git a/frontend/app/components/Assist/components/VideoContainer/VideoContainer.tsx b/frontend/app/components/Assist/components/VideoContainer/VideoContainer.tsx index cba770b29..10bd09c66 100644 --- a/frontend/app/components/Assist/components/VideoContainer/VideoContainer.tsx +++ b/frontend/app/components/Assist/components/VideoContainer/VideoContainer.tsx @@ -1,5 +1,5 @@ import React, { useState, useEffect, useRef } from 'react' -import { Button, Icon, IconButton } from 'UI' +import { Button, Icon } from 'UI' import cn from 'classnames' import stl from './VideoContainer.css' @@ -16,13 +16,6 @@ function VideoContainer({ stream, muted = false }: Props) { useEffect(() => { if (ref.current) { ref.current.srcObject = stream; - - stream?.getAudioTracks().forEach(track => { - console.log(track) - track.addEventListener('unmute', function(e) { - console.log(e) - }) - }); } }, [ ref.current, stream ]) @@ -40,8 +33,6 @@ function VideoContainer({ stream, muted = false }: Props) { setVideoEnabled(vEn) } - // console.log(stream && stream.getAudioTracks()) - return (
diff --git a/frontend/app/components/Session_/Player/Controls/Controls.js b/frontend/app/components/Session_/Player/Controls/Controls.js index d89729a5e..d23ac402b 100644 --- a/frontend/app/components/Session_/Player/Controls/Controls.js +++ b/frontend/app/components/Session_/Player/Controls/Controls.js @@ -253,7 +253,7 @@ export default class Controls extends React.Component { const inspectorMode = bottomBlock === INSPECTOR; return ( -
+
{ !fullscreen &&
@@ -276,13 +276,7 @@ export default class Controls extends React.Component {
:
- - {/* */} - {'Elapsed'} - +
}
diff --git a/frontend/app/components/shared/SessionItem/Counter.tsx b/frontend/app/components/shared/SessionItem/Counter.tsx index db7758a21..5d9a82f9b 100644 --- a/frontend/app/components/shared/SessionItem/Counter.tsx +++ b/frontend/app/components/shared/SessionItem/Counter.tsx @@ -9,7 +9,7 @@ interface Props { function Counter({ startTime }: Props) { return (
- {startTime && Duration.fromMillis(startTime).toFormat('h:m:ss')} + {startTime && Duration.fromMillis(startTime).toFormat('m:ss')}
) }