File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -980,7 +980,7 @@ shaka.ui.Controls = class extends shaka.util.FakeEventTarget {
980
980
} ) ;
981
981
982
982
this . eventManager_ . listen ( this . controlsContainer_ , 'click' , ( ) => {
983
- this . onContainerClick_ ( ) ;
983
+ this . onContainerClick ( ) ;
984
984
} ) ;
985
985
986
986
this . eventManager_ . listen ( this . controlsContainer_ , 'dblclick' , ( ) => {
@@ -1203,7 +1203,7 @@ shaka.ui.Controls = class extends shaka.util.FakeEventTarget {
1203
1203
this . clientAdContainer_ . classList . add ( 'shaka-client-side-ad-container' ) ;
1204
1204
shaka . ui . Utils . setDisplay ( this . clientAdContainer_ , false ) ;
1205
1205
this . eventManager_ . listen ( this . clientAdContainer_ , 'click' , ( ) => {
1206
- this . onContainerClick_ ( ) ;
1206
+ this . onContainerClick ( ) ;
1207
1207
} ) ;
1208
1208
this . videoContainer_ . appendChild ( this . clientAdContainer_ ) ;
1209
1209
}
@@ -1677,8 +1677,10 @@ shaka.ui.Controls = class extends shaka.util.FakeEventTarget {
1677
1677
}
1678
1678
}
1679
1679
1680
- /** @private */
1681
- onContainerClick_ ( ) {
1680
+ /**
1681
+ * Manage the container click.
1682
+ */
1683
+ onContainerClick ( ) {
1682
1684
if ( ! this . enabled_ || this . isPlayingVR ( ) ) {
1683
1685
return ;
1684
1686
}
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ shaka.ui.HiddenSeekButton = class extends shaka.ui.Element {
55
55
this . hideSeekButtonContainerTimer_ = new shaka . util . Timer ( ( ) => {
56
56
const seekSeconds = parseInt ( this . seekValue_ . textContent , 10 ) ;
57
57
if ( seekSeconds === 0 ) {
58
- this . controls . playPausePresentation ( ) ;
58
+ this . controls . onContainerClick ( ) ;
59
59
}
60
60
this . hideSeekButtonContainer_ ( ) ;
61
61
} ) ;
You can’t perform that action at this time.
0 commit comments