2017-07-10 22:29:44 +00:00
|
|
|
import React, { Component } from 'react';
|
2017-06-19 16:01:44 +00:00
|
|
|
import BaseIndicator from './BaseIndicator';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* React {@code Component} for showing a video muted icon with a tooltip.
|
|
|
|
*
|
2017-07-10 22:29:44 +00:00
|
|
|
* @extends Component
|
2017-06-19 16:01:44 +00:00
|
|
|
*/
|
2017-07-10 22:29:44 +00:00
|
|
|
class VideoMutedIndicator extends Component {
|
2017-06-19 16:01:44 +00:00
|
|
|
/**
|
2017-07-10 22:29:44 +00:00
|
|
|
* Implements React's {@link Component#render()}.
|
2017-06-19 16:01:44 +00:00
|
|
|
*
|
2017-07-10 22:29:44 +00:00
|
|
|
* @inheritdoc
|
2017-06-19 16:01:44 +00:00
|
|
|
*/
|
2017-07-10 22:29:44 +00:00
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<BaseIndicator
|
|
|
|
className = 'videoMuted toolbar-icon'
|
|
|
|
iconClassName = 'icon-camera-disabled'
|
|
|
|
tooltipKey = 'videothumbnail.videomute' />
|
|
|
|
);
|
2017-06-19 16:01:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default VideoMutedIndicator;
|