Skip to content

Commit

Permalink
Close comment header in ControlBar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy committed Jan 7, 2022
1 parent cd63ff0 commit 01b2785
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contrib/akamai/controlbar/ControlBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
*/

/**
* @module ControlBar
Expand Down Expand Up @@ -439,7 +439,7 @@ var ControlBar = function (dashjsMediaPlayer, displayUTCTimeCodes) {
element.webkitRequestFullScreen();
}
}

videoController.classList.add('video-controller-fullscreen');
window.addEventListener('mousemove', onFullScreenMouseMove);
onFullScreenMouseMove();
Expand All @@ -462,7 +462,7 @@ var ControlBar = function (dashjsMediaPlayer, displayUTCTimeCodes) {
clearFullscreenState();

if (document.fullscreenElement) {

if (document.exitFullscreen) {
document.exitFullscreen();
} else if (document.mozCancelFullScreen) {
Expand Down

0 comments on commit 01b2785

Please sign in to comment.