Merge pull request #12674 from ramonlsouza/rm-unused-code
refactor: remove unused variables
This commit is contained in:
commit
4bcf7c467d
@ -68,7 +68,7 @@ export class PeerTubePlayer extends Component {
|
||||
}
|
||||
|
||||
getEmbedUrl = () => {
|
||||
const { config, url } = this.props;
|
||||
const { url } = this.props;
|
||||
const m = MATCH_URL.exec(url);
|
||||
|
||||
return `${m[1]}://${m[2]}/videos/embed/${m[3]}?api=1&controls=${true}`;
|
||||
|
@ -639,7 +639,6 @@ class VideoService {
|
||||
}
|
||||
|
||||
disableReason() {
|
||||
const { viewParticipantsWebcams } = Settings.dataSaving;
|
||||
const locks = {
|
||||
videoLocked: this.isUserLocked(),
|
||||
videoConnecting: this.isConnecting,
|
||||
|
Loading…
Reference in New Issue
Block a user