1
0
mirror of https://github.com/videojs/video.js.git synced 2025-07-15 01:34:23 +02:00

feat(player): Make 'searchForTrackSelect_' private & use 'el' as parameter in function 'getIsFocusable' (#8697)

This commit is contained in:
Carlos Javier Villaseñor Castillo
2024-04-18 12:57:27 -06:00
committed by GitHub
parent 21b4a5225b
commit ec69d5e620
3 changed files with 10 additions and 6 deletions

View File

@ -476,7 +476,7 @@ QUnit.test('should call `searchForTrackSelect()` if spatial navigation is enable
Object.defineProperty(clickEvent, 'relatedTarget', {writable: false, value: element});
Object.defineProperty(clickEvent, 'currentTarget', {writable: false, value: element});
const trackSelectSpy = sinon.spy(this.spatialNav, 'searchForTrackSelect');
const trackSelectSpy = sinon.spy(this.spatialNav, 'searchForTrackSelect_');
const textTrackSelectComponent = new TextTrackSelect(this.player, {
SelectOptions: ['Option 1', 'Option 2', 'Option 3'],