We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b987662 commit 712738dCopy full SHA for 712738d
lib/text/ui_text_displayer.js
@@ -8,7 +8,6 @@
8
goog.provide('shaka.text.UITextDisplayer');
9
10
goog.require('goog.asserts');
11
-goog.require('shaka.log');
12
goog.require('shaka.text.Cue');
13
goog.require('shaka.text.CueRegion');
14
goog.require('shaka.text.Utils');
@@ -34,12 +33,6 @@ shaka.text.UITextDisplayer = class {
34
33
constructor(video, videoContainer) {
35
goog.asserts.assert(videoContainer, 'videoContainer should be valid.');
36
37
- if (!document.fullscreenEnabled) {
38
- shaka.log.alwaysWarn('Using UITextDisplayer in a browser without ' +
39
- 'Fullscreen API support causes subtitles to not be rendered in ' +
40
- 'fullscreen');
41
- }
42
-
43
/** @private {boolean} */
44
this.isTextVisible_ = false;
45
0 commit comments