@npo/player 1.29.1 → 2.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -24
- package/dist/logErrorEvent-DbEp9rzx.js +25 -0
- package/dist/logErrorEvent-DbEp9rzx.js.map +1 -0
- package/dist/main-XvJyWo8j.js +53061 -0
- package/dist/main-XvJyWo8j.js.map +1 -0
- package/dist/main.d.ts +1163 -0
- package/dist/npoplayer-audio.es.js +19 -0
- package/dist/npoplayer-audio.es.js.map +1 -0
- package/dist/npoplayer-audio.umd.js +53088 -0
- package/dist/npoplayer-audio.umd.js.map +1 -0
- package/package.json +72 -86
- package/CHANGELOG.md +0 -3
- package/LICENSE +0 -15
- package/lib/js/markers/updateLiveMarkers.d.ts +0 -9
- package/lib/js/markers/updateLiveMarkers.js +0 -56
- package/lib/js/markers/updateLiveMarkers.test.d.ts +0 -1
- package/lib/js/markers/updateLiveMarkers.test.js +0 -63
- package/lib/js/playeractions/handlers/handleoffsets.d.ts +0 -4
- package/lib/js/playeractions/handlers/handleoffsets.js +0 -58
- package/lib/js/playeractions/handlers/handleoffsets.test.d.ts +0 -1
- package/lib/js/playeractions/handlers/handleoffsets.test.js +0 -93
- package/lib/js/playeractions/handlers/mediasessionactions.d.ts +0 -7
- package/lib/js/playeractions/handlers/mediasessionactions.js +0 -123
- package/lib/js/playeractions/handlers/processplayerconfig.d.ts +0 -3
- package/lib/js/playeractions/handlers/processplayerconfig.js +0 -56
- package/lib/js/playeractions/handlers/processplayerconfig.test.d.ts +0 -1
- package/lib/js/playeractions/handlers/processplayerconfig.test.js +0 -116
- package/lib/js/playeractions/handlers/processsourceconfig.d.ts +0 -15
- package/lib/js/playeractions/handlers/processsourceconfig.js +0 -234
- package/lib/js/playeractions/handlers/processsourceconfig.test.d.ts +0 -1
- package/lib/js/playeractions/handlers/processsourceconfig.test.js +0 -25
- package/lib/js/playeractions/handlers/removereplayclass.d.ts +0 -2
- package/lib/js/playeractions/handlers/removereplayclass.js +0 -12
- package/lib/js/playeractions/handlers/removereplayclass.test.d.ts +0 -1
- package/lib/js/playeractions/handlers/removereplayclass.test.js +0 -33
- package/lib/js/playeractions/playeractions.d.ts +0 -3
- package/lib/js/playeractions/playeractions.js +0 -3
- package/lib/js/settings/localization.d.ts +0 -82
- package/lib/js/settings/localization.js +0 -7
- package/lib/js/settings/settings.user-agent.d.ts +0 -1
- package/lib/js/settings/settings.user-agent.js +0 -1
- package/lib/js/utilities/utilities.element.d.ts +0 -16
- package/lib/js/utilities/utilities.element.js +0 -18
- package/lib/js/utilities/utilities.element.test.d.ts +0 -1
- package/lib/js/utilities/utilities.element.test.js +0 -38
- package/lib/js/utilities/utilities.jwt.d.ts +0 -5
- package/lib/js/utilities/utilities.jwt.js +0 -44
- package/lib/js/utilities/utilities.jwt.test.d.ts +0 -1
- package/lib/js/utilities/utilities.jwt.test.js +0 -32
- package/lib/js/utilities/utilities.locale.d.ts +0 -2
- package/lib/js/utilities/utilities.locale.js +0 -4
- package/lib/js/utilities/utilities.locale.test.d.ts +0 -1
- package/lib/js/utilities/utilities.locale.test.js +0 -10
- package/lib/js/utilities/utilities.module.d.ts +0 -1
- package/lib/js/utilities/utilities.module.js +0 -4
- package/lib/js/utilities/utilities.module.test.d.ts +0 -1
- package/lib/js/utilities/utilities.module.test.js +0 -19
- package/lib/js/utilities/utilities.prid.d.ts +0 -6
- package/lib/js/utilities/utilities.prid.js +0 -8
- package/lib/js/utilities/utilities.prid.test.d.ts +0 -1
- package/lib/js/utilities/utilities.prid.test.js +0 -46
- package/lib/js/utilities/utilities.stream.d.ts +0 -7
- package/lib/js/utilities/utilities.stream.js +0 -19
- package/lib/js/utilities/utilities.stream.test.d.ts +0 -1
- package/lib/js/utilities/utilities.stream.test.js +0 -32
- package/lib/js/utilities/utilities.text.d.ts +0 -1
- package/lib/js/utilities/utilities.text.js +0 -3
- package/lib/js/utilities/utilities.text.test.d.ts +0 -1
- package/lib/js/utilities/utilities.text.test.js +0 -18
- package/lib/js/utilities/utilities.time.d.ts +0 -1
- package/lib/js/utilities/utilities.time.js +0 -3
- package/lib/js/utilities/utilities.time.test.d.ts +0 -1
- package/lib/js/utilities/utilities.time.test.js +0 -8
- package/lib/js/utilities/utilities.url.d.ts +0 -3
- package/lib/js/utilities/utilities.url.js +0 -29
- package/lib/js/utilities/utilities.url.test.d.ts +0 -1
- package/lib/js/utilities/utilities.url.test.js +0 -46
- package/lib/js/utilities/utilities.user-agent.d.ts +0 -3
- package/lib/js/utilities/utilities.user-agent.js +0 -13
- package/lib/js/utilities/utilities.user-agent.test.d.ts +0 -1
- package/lib/js/utilities/utilities.user-agent.test.js +0 -60
- package/lib/js/utilities/utilities.version.d.ts +0 -1
- package/lib/js/utilities/utilities.version.js +0 -26
- package/lib/js/utilities/utilities.version.test.d.ts +0 -1
- package/lib/js/utilities/utilities.version.test.js +0 -26
- package/lib/lang/nl.json +0 -77
- package/lib/lang/subtitleLabels/nl.json +0 -14
- package/lib/npoplayer.d.ts +0 -64
- package/lib/npoplayer.js +0 -428
- package/lib/npoplayer.test.d.ts +0 -1
- package/lib/npoplayer.test.js +0 -22
- package/lib/package.json +0 -105
- package/lib/services/a11y/setup.d.ts +0 -2
- package/lib/services/a11y/setup.js +0 -15
- package/lib/services/a11y/setup.test.d.ts +0 -1
- package/lib/services/a11y/setup.test.js +0 -88
- package/lib/services/advertHandlers/discardAdBreak.d.ts +0 -2
- package/lib/services/advertHandlers/discardAdBreak.js +0 -9
- package/lib/services/advertHandlers/discardAdBreak.test.d.ts +0 -1
- package/lib/services/advertHandlers/discardAdBreak.test.js +0 -40
- package/lib/services/advertHandlers/handlePreRolls.d.ts +0 -2
- package/lib/services/advertHandlers/handlePreRolls.js +0 -136
- package/lib/services/advertHandlers/handlePrerolls.test.d.ts +0 -1
- package/lib/services/advertHandlers/handlePrerolls.test.js +0 -112
- package/lib/services/avTypeHandlers/getAVType.d.ts +0 -2
- package/lib/services/avTypeHandlers/getAVType.js +0 -9
- package/lib/services/avTypeHandlers/getAVType.test.d.ts +0 -1
- package/lib/services/avTypeHandlers/getAVType.test.js +0 -18
- package/lib/services/backButton/backButton.d.ts +0 -2
- package/lib/services/backButton/backButton.js +0 -24
- package/lib/services/cdnProviders/cdnProviders.d.ts +0 -4
- package/lib/services/cdnProviders/cdnProviders.js +0 -24
- package/lib/services/cdnProviders/cndProviders.test.d.ts +0 -1
- package/lib/services/cdnProviders/cndProviders.test.js +0 -22
- package/lib/services/chapterHandlers/chapterHandler.d.ts +0 -35
- package/lib/services/chapterHandlers/chapterHandler.js +0 -230
- package/lib/services/drmHandlers/constants.d.ts +0 -15
- package/lib/services/drmHandlers/constants.js +0 -13
- package/lib/services/drmHandlers/decideprofile.d.ts +0 -2
- package/lib/services/drmHandlers/decideprofile.js +0 -57
- package/lib/services/drmHandlers/decideprofile.test.d.ts +0 -1
- package/lib/services/drmHandlers/decideprofile.test.js +0 -38
- package/lib/services/drmHandlers/drmhandlers.d.ts +0 -2
- package/lib/services/drmHandlers/drmhandlers.js +0 -2
- package/lib/services/drmHandlers/utils.d.ts +0 -5
- package/lib/services/drmHandlers/utils.js +0 -29
- package/lib/services/drmHandlers/utils.test.d.ts +0 -1
- package/lib/services/drmHandlers/utils.test.js +0 -81
- package/lib/services/drmHandlers/verifydrm.d.ts +0 -2
- package/lib/services/drmHandlers/verifydrm.js +0 -39
- package/lib/services/drmHandlers/verifydrm.test.d.ts +0 -1
- package/lib/services/drmHandlers/verifydrm.test.js +0 -112
- package/lib/services/errors/errorBackground.test.d.ts +0 -1
- package/lib/services/errors/errorBackground.test.js +0 -48
- package/lib/services/errors/errorHandler.d.ts +0 -5
- package/lib/services/errors/errorHandler.js +0 -59
- package/lib/services/errors/errorHandler.test.d.ts +0 -1
- package/lib/services/errors/errorHandler.test.js +0 -148
- package/lib/services/errors/errorRetryHandler.d.ts +0 -2
- package/lib/services/errors/errorRetryHandler.js +0 -14
- package/lib/services/errors/errorRetryHandler.test.d.ts +0 -1
- package/lib/services/errors/errorRetryHandler.test.js +0 -62
- package/lib/services/errors/errorText.d.ts +0 -2
- package/lib/services/errors/errorText.js +0 -62
- package/lib/services/errors/errorText.test.d.ts +0 -1
- package/lib/services/errors/errorText.test.js +0 -66
- package/lib/services/eventListenerHandlers/removeEventListeners.d.ts +0 -2
- package/lib/services/eventListenerHandlers/removeEventListeners.js +0 -24
- package/lib/services/eventListenerHandlers/removeEventListeners.test.d.ts +0 -1
- package/lib/services/eventListenerHandlers/removeEventListeners.test.js +0 -36
- package/lib/services/infoPanel/infoPanel.d.ts +0 -3
- package/lib/services/infoPanel/infoPanel.js +0 -35
- package/lib/services/infoPanel/infoPanel.test.d.ts +0 -1
- package/lib/services/infoPanel/infoPanel.test.js +0 -70
- package/lib/services/keyboardHandlers/resolvekeypress.d.ts +0 -2
- package/lib/services/keyboardHandlers/resolvekeypress.js +0 -63
- package/lib/services/keyboardHandlers/resolvekeypress.test.d.ts +0 -1
- package/lib/services/keyboardHandlers/resolvekeypress.test.js +0 -92
- package/lib/services/liveStreamHandlers/handleLiveStreamControls.d.ts +0 -6
- package/lib/services/liveStreamHandlers/handleLiveStreamControls.js +0 -36
- package/lib/services/liveStreamHandlers/handleLiveStreamControls.test.d.ts +0 -2
- package/lib/services/liveStreamHandlers/handleLiveStreamControls.test.js +0 -65
- package/lib/services/localStorageHandlers/localStorageHandlers.d.ts +0 -4
- package/lib/services/localStorageHandlers/localStorageHandlers.js +0 -36
- package/lib/services/localStorageHandlers/localStorageHandlers.test.d.ts +0 -1
- package/lib/services/localStorageHandlers/localStorageHandlers.test.js +0 -104
- package/lib/services/nicamHandlers/nicamhandler.d.ts +0 -6
- package/lib/services/nicamHandlers/nicamhandler.js +0 -69
- package/lib/services/nicamHandlers/nicamhandler.test.d.ts +0 -1
- package/lib/services/nicamHandlers/nicamhandler.test.js +0 -127
- package/lib/services/npoPlayerAPI/contants.d.ts +0 -25
- package/lib/services/npoPlayerAPI/contants.js +0 -11
- package/lib/services/npoPlayerAPI/npoPlayerAPI.d.ts +0 -53
- package/lib/services/npoPlayerAPI/npoPlayerAPI.js +0 -193
- package/lib/services/npoPlayerAPI/npoPlayerAPI.test.d.ts +0 -1
- package/lib/services/npoPlayerAPI/npoPlayerAPI.test.js +0 -127
- package/lib/services/npoPlayerAPI/playerModules.d.ts +0 -1
- package/lib/services/npoPlayerAPI/playerModules.js +0 -48
- package/lib/services/preferences/handlePreferences.d.ts +0 -2
- package/lib/services/preferences/handlePreferences.js +0 -47
- package/lib/services/preferences/handlePreferences.test.d.ts +0 -1
- package/lib/services/preferences/handlePreferences.test.js +0 -138
- package/lib/services/segmentHandlers/addSegmentEventListeners.d.ts +0 -2
- package/lib/services/segmentHandlers/addSegmentEventListeners.js +0 -15
- package/lib/services/segmentHandlers/addSegmentEventListeners.test.d.ts +0 -1
- package/lib/services/segmentHandlers/addSegmentEventListeners.test.js +0 -44
- package/lib/services/segmentHandlers/convertFragmentToSegment.d.ts +0 -2
- package/lib/services/segmentHandlers/convertFragmentToSegment.js +0 -8
- package/lib/services/segmentHandlers/convertFragmentToSegment.test.d.ts +0 -1
- package/lib/services/segmentHandlers/convertFragmentToSegment.test.js +0 -17
- package/lib/services/segmentHandlers/handleSegmentSeek.d.ts +0 -5
- package/lib/services/segmentHandlers/handleSegmentSeek.js +0 -15
- package/lib/services/segmentHandlers/handleSegmentSeek.test.d.ts +0 -1
- package/lib/services/segmentHandlers/handleSegmentSeek.test.js +0 -73
- package/lib/services/segmentHandlers/handleSegmentTimeChanged.d.ts +0 -2
- package/lib/services/segmentHandlers/handleSegmentTimeChanged.js +0 -21
- package/lib/services/segmentHandlers/handleSegmentTimeChanged.test.d.ts +0 -1
- package/lib/services/segmentHandlers/handleSegmentTimeChanged.test.js +0 -43
- package/lib/services/segmentHandlers/initSegment.d.ts +0 -7
- package/lib/services/segmentHandlers/initSegment.js +0 -10
- package/lib/services/segmentHandlers/initSegment.test.d.ts +0 -1
- package/lib/services/segmentHandlers/initSegment.test.js +0 -38
- package/lib/services/segmentHandlers/isSegmentInBounds.d.ts +0 -2
- package/lib/services/segmentHandlers/isSegmentInBounds.js +0 -5
- package/lib/services/segmentHandlers/isSegmentInBounds.test.d.ts +0 -1
- package/lib/services/segmentHandlers/isSegmentInBounds.test.js +0 -27
- package/lib/services/segmentHandlers/setSegmentMarkers.d.ts +0 -2
- package/lib/services/segmentHandlers/setSegmentMarkers.js +0 -25
- package/lib/services/segmentHandlers/setSegmentMarkers.test.d.ts +0 -1
- package/lib/services/segmentHandlers/setSegmentMarkers.test.js +0 -32
- package/lib/services/services.d.ts +0 -34
- package/lib/services/services.js +0 -129
- package/lib/services/streamFetchHandler/fetchStream.d.ts +0 -2
- package/lib/services/streamFetchHandler/fetchStream.js +0 -49
- package/lib/services/streamFetchHandler/fetchstream.test.d.ts +0 -1
- package/lib/services/streamFetchHandler/fetchstream.test.js +0 -92
- package/lib/services/streamoptionsHandlers/streamOptionsHandler.d.ts +0 -6
- package/lib/services/streamoptionsHandlers/streamOptionsHandler.js +0 -80
- package/lib/services/streamoptionsHandlers/streamOptionsHandler.test.d.ts +0 -1
- package/lib/services/streamoptionsHandlers/streamOptionsHandler.test.js +0 -199
- package/lib/services/trackingHandlers/eventBinding.d.ts +0 -2
- package/lib/services/trackingHandlers/eventBinding.js +0 -129
- package/lib/services/trackingHandlers/eventBinding.test.d.ts +0 -1
- package/lib/services/trackingHandlers/eventBinding.test.js +0 -145
- package/lib/services/trackingHandlers/eventLogging.d.ts +0 -2
- package/lib/services/trackingHandlers/eventLogging.js +0 -37
- package/lib/services/trackingHandlers/eventLogging.test.d.ts +0 -1
- package/lib/services/trackingHandlers/eventLogging.test.js +0 -63
- package/lib/services/trackingHandlers/index.d.ts +0 -3
- package/lib/services/trackingHandlers/index.js +0 -3
- package/lib/services/trackingHandlers/playerTrackerInit.d.ts +0 -2
- package/lib/services/trackingHandlers/playerTrackerInit.js +0 -20
- package/lib/services/trackingHandlers/playerTrackerInit.test.d.ts +0 -1
- package/lib/services/trackingHandlers/playerTrackerInit.test.js +0 -75
- package/lib/services/trackingHandlers/playerTrackerStart.d.ts +0 -2
- package/lib/services/trackingHandlers/playerTrackerStart.js +0 -28
- package/lib/services/trackingHandlers/playerTrackerStart.test.d.ts +0 -1
- package/lib/services/trackingHandlers/playerTrackerStart.test.js +0 -76
- package/lib/services/trackingHandlers/streamTrackerInit.d.ts +0 -3
- package/lib/services/trackingHandlers/streamTrackerInit.js +0 -27
- package/lib/services/trackingHandlers/streamTrackerInit.test.d.ts +0 -1
- package/lib/services/trackingHandlers/streamTrackerInit.test.js +0 -84
- package/lib/services/uiHandlers/uiVisiblityHandler.d.ts +0 -3
- package/lib/services/uiHandlers/uiVisiblityHandler.js +0 -32
- package/lib/services/uiHandlers/uiVisiblityHandler.test.d.ts +0 -1
- package/lib/services/uiHandlers/uiVisiblityHandler.test.js +0 -62
- package/lib/services/verticalVideoHandlers/handleVerticalVideoControls.d.ts +0 -2
- package/lib/services/verticalVideoHandlers/handleVerticalVideoControls.js +0 -6
- package/lib/services/verticalVideoHandlers/handleVerticalVideoControls.test.d.ts +0 -1
- package/lib/services/verticalVideoHandlers/handleVerticalVideoControls.test.js +0 -23
- package/lib/services/verticalVideoHandlers/handleVerticalVideoSettings.d.ts +0 -2
- package/lib/services/verticalVideoHandlers/handleVerticalVideoSettings.js +0 -26
- package/lib/services/verticalVideoHandlers/handleVerticalVideoSettings.test.d.ts +0 -1
- package/lib/services/verticalVideoHandlers/handleVerticalVideoSettings.test.js +0 -73
- package/lib/src/js/markers/updateLiveMarkers.d.ts +0 -9
- package/lib/src/js/markers/updateLiveMarkers.test.d.ts +0 -1
- package/lib/src/js/playeractions/handlers/handleoffsets.d.ts +0 -4
- package/lib/src/js/playeractions/handlers/handleoffsets.test.d.ts +0 -1
- package/lib/src/js/playeractions/handlers/mediasessionactions.d.ts +0 -7
- package/lib/src/js/playeractions/handlers/processplayerconfig.d.ts +0 -3
- package/lib/src/js/playeractions/handlers/processplayerconfig.test.d.ts +0 -1
- package/lib/src/js/playeractions/handlers/processsourceconfig.d.ts +0 -15
- package/lib/src/js/playeractions/handlers/processsourceconfig.test.d.ts +0 -1
- package/lib/src/js/playeractions/handlers/removereplayclass.d.ts +0 -2
- package/lib/src/js/playeractions/handlers/removereplayclass.test.d.ts +0 -1
- package/lib/src/js/playeractions/playeractions.d.ts +0 -3
- package/lib/src/js/settings/localization.d.ts +0 -82
- package/lib/src/js/settings/settings.user-agent.d.ts +0 -1
- package/lib/src/js/utilities/utilities.element.d.ts +0 -16
- package/lib/src/js/utilities/utilities.element.test.d.ts +0 -1
- package/lib/src/js/utilities/utilities.jwt.d.ts +0 -5
- package/lib/src/js/utilities/utilities.jwt.test.d.ts +0 -1
- package/lib/src/js/utilities/utilities.locale.d.ts +0 -2
- package/lib/src/js/utilities/utilities.locale.test.d.ts +0 -1
- package/lib/src/js/utilities/utilities.module.d.ts +0 -1
- package/lib/src/js/utilities/utilities.module.test.d.ts +0 -1
- package/lib/src/js/utilities/utilities.prid.d.ts +0 -6
- package/lib/src/js/utilities/utilities.prid.test.d.ts +0 -1
- package/lib/src/js/utilities/utilities.stream.d.ts +0 -7
- package/lib/src/js/utilities/utilities.stream.test.d.ts +0 -1
- package/lib/src/js/utilities/utilities.text.d.ts +0 -1
- package/lib/src/js/utilities/utilities.text.test.d.ts +0 -1
- package/lib/src/js/utilities/utilities.time.d.ts +0 -1
- package/lib/src/js/utilities/utilities.time.test.d.ts +0 -1
- package/lib/src/js/utilities/utilities.url.d.ts +0 -3
- package/lib/src/js/utilities/utilities.url.test.d.ts +0 -1
- package/lib/src/js/utilities/utilities.user-agent.d.ts +0 -3
- package/lib/src/js/utilities/utilities.user-agent.test.d.ts +0 -1
- package/lib/src/js/utilities/utilities.version.d.ts +0 -1
- package/lib/src/js/utilities/utilities.version.test.d.ts +0 -1
- package/lib/src/npoplayer.d.ts +0 -64
- package/lib/src/npoplayer.test.d.ts +0 -1
- package/lib/src/services/a11y/setup.d.ts +0 -2
- package/lib/src/services/a11y/setup.test.d.ts +0 -1
- package/lib/src/services/advertHandlers/discardAdBreak.d.ts +0 -2
- package/lib/src/services/advertHandlers/discardAdBreak.test.d.ts +0 -1
- package/lib/src/services/advertHandlers/handlePreRolls.d.ts +0 -2
- package/lib/src/services/advertHandlers/handlePrerolls.test.d.ts +0 -1
- package/lib/src/services/avTypeHandlers/getAVType.d.ts +0 -2
- package/lib/src/services/avTypeHandlers/getAVType.test.d.ts +0 -1
- package/lib/src/services/backButton/backButton.d.ts +0 -2
- package/lib/src/services/cdnProviders/cdnProviders.d.ts +0 -4
- package/lib/src/services/cdnProviders/cndProviders.test.d.ts +0 -1
- package/lib/src/services/chapterHandlers/chapterHandler.d.ts +0 -35
- package/lib/src/services/drmHandlers/constants.d.ts +0 -15
- package/lib/src/services/drmHandlers/decideprofile.d.ts +0 -2
- package/lib/src/services/drmHandlers/decideprofile.test.d.ts +0 -1
- package/lib/src/services/drmHandlers/drmhandlers.d.ts +0 -2
- package/lib/src/services/drmHandlers/utils.d.ts +0 -5
- package/lib/src/services/drmHandlers/utils.test.d.ts +0 -1
- package/lib/src/services/drmHandlers/verifydrm.d.ts +0 -2
- package/lib/src/services/drmHandlers/verifydrm.test.d.ts +0 -1
- package/lib/src/services/errors/errorBackground.test.d.ts +0 -1
- package/lib/src/services/errors/errorHandler.d.ts +0 -5
- package/lib/src/services/errors/errorHandler.test.d.ts +0 -1
- package/lib/src/services/errors/errorRetryHandler.d.ts +0 -2
- package/lib/src/services/errors/errorRetryHandler.test.d.ts +0 -1
- package/lib/src/services/errors/errorText.d.ts +0 -2
- package/lib/src/services/errors/errorText.test.d.ts +0 -1
- package/lib/src/services/eventListenerHandlers/removeEventListeners.d.ts +0 -2
- package/lib/src/services/eventListenerHandlers/removeEventListeners.test.d.ts +0 -1
- package/lib/src/services/infoPanel/infoPanel.d.ts +0 -3
- package/lib/src/services/infoPanel/infoPanel.test.d.ts +0 -1
- package/lib/src/services/keyboardHandlers/resolvekeypress.d.ts +0 -2
- package/lib/src/services/keyboardHandlers/resolvekeypress.test.d.ts +0 -1
- package/lib/src/services/liveStreamHandlers/handleLiveStreamControls.d.ts +0 -6
- package/lib/src/services/liveStreamHandlers/handleLiveStreamControls.test.d.ts +0 -2
- package/lib/src/services/localStorageHandlers/localStorageHandlers.d.ts +0 -4
- package/lib/src/services/localStorageHandlers/localStorageHandlers.test.d.ts +0 -1
- package/lib/src/services/nicamHandlers/nicamhandler.d.ts +0 -6
- package/lib/src/services/nicamHandlers/nicamhandler.test.d.ts +0 -1
- package/lib/src/services/npoPlayerAPI/contants.d.ts +0 -25
- package/lib/src/services/npoPlayerAPI/npoPlayerAPI.d.ts +0 -53
- package/lib/src/services/npoPlayerAPI/npoPlayerAPI.test.d.ts +0 -1
- package/lib/src/services/npoPlayerAPI/playerModules.d.ts +0 -1
- package/lib/src/services/preferences/handlePreferences.d.ts +0 -2
- package/lib/src/services/preferences/handlePreferences.test.d.ts +0 -1
- package/lib/src/services/segmentHandlers/addSegmentEventListeners.d.ts +0 -2
- package/lib/src/services/segmentHandlers/addSegmentEventListeners.test.d.ts +0 -1
- package/lib/src/services/segmentHandlers/convertFragmentToSegment.d.ts +0 -2
- package/lib/src/services/segmentHandlers/convertFragmentToSegment.test.d.ts +0 -1
- package/lib/src/services/segmentHandlers/handleSegmentSeek.d.ts +0 -5
- package/lib/src/services/segmentHandlers/handleSegmentSeek.test.d.ts +0 -1
- package/lib/src/services/segmentHandlers/handleSegmentTimeChanged.d.ts +0 -2
- package/lib/src/services/segmentHandlers/handleSegmentTimeChanged.test.d.ts +0 -1
- package/lib/src/services/segmentHandlers/initSegment.d.ts +0 -7
- package/lib/src/services/segmentHandlers/initSegment.test.d.ts +0 -1
- package/lib/src/services/segmentHandlers/isSegmentInBounds.d.ts +0 -2
- package/lib/src/services/segmentHandlers/isSegmentInBounds.test.d.ts +0 -1
- package/lib/src/services/segmentHandlers/setSegmentMarkers.d.ts +0 -2
- package/lib/src/services/segmentHandlers/setSegmentMarkers.test.d.ts +0 -1
- package/lib/src/services/services.d.ts +0 -34
- package/lib/src/services/streamFetchHandler/fetchStream.d.ts +0 -2
- package/lib/src/services/streamFetchHandler/fetchstream.test.d.ts +0 -1
- package/lib/src/services/streamoptionsHandlers/streamOptionsHandler.d.ts +0 -6
- package/lib/src/services/streamoptionsHandlers/streamOptionsHandler.test.d.ts +0 -1
- package/lib/src/services/trackingHandlers/eventBinding.d.ts +0 -2
- package/lib/src/services/trackingHandlers/eventBinding.test.d.ts +0 -1
- package/lib/src/services/trackingHandlers/eventLogging.d.ts +0 -2
- package/lib/src/services/trackingHandlers/eventLogging.test.d.ts +0 -1
- package/lib/src/services/trackingHandlers/index.d.ts +0 -3
- package/lib/src/services/trackingHandlers/playerTrackerInit.d.ts +0 -2
- package/lib/src/services/trackingHandlers/playerTrackerInit.test.d.ts +0 -1
- package/lib/src/services/trackingHandlers/playerTrackerStart.d.ts +0 -2
- package/lib/src/services/trackingHandlers/playerTrackerStart.test.d.ts +0 -1
- package/lib/src/services/trackingHandlers/streamTrackerInit.d.ts +0 -3
- package/lib/src/services/trackingHandlers/streamTrackerInit.test.d.ts +0 -1
- package/lib/src/services/uiHandlers/uiVisiblityHandler.d.ts +0 -3
- package/lib/src/services/uiHandlers/uiVisiblityHandler.test.d.ts +0 -1
- package/lib/src/services/verticalVideoHandlers/handleVerticalVideoControls.d.ts +0 -2
- package/lib/src/services/verticalVideoHandlers/handleVerticalVideoControls.test.d.ts +0 -1
- package/lib/src/services/verticalVideoHandlers/handleVerticalVideoSettings.d.ts +0 -2
- package/lib/src/services/verticalVideoHandlers/handleVerticalVideoSettings.test.d.ts +0 -1
- package/lib/src/types/classes.d.ts +0 -10
- package/lib/src/types/events.d.ts +0 -98
- package/lib/src/types/interfaces.d.ts +0 -246
- package/lib/src/ui/components/adbutton.d.ts +0 -4
- package/lib/src/ui/components/adlabel.d.ts +0 -4
- package/lib/src/ui/components/audio/controlbar.d.ts +0 -3
- package/lib/src/ui/components/backButton.d.ts +0 -2
- package/lib/src/ui/components/buttons.d.ts +0 -42
- package/lib/src/ui/components/controlbar.d.ts +0 -3
- package/lib/src/ui/components/ctabar.d.ts +0 -4
- package/lib/src/ui/components/infopanel/infopanel.d.ts +0 -3
- package/lib/src/ui/components/infopanel/togglebutton.d.ts +0 -3
- package/lib/src/ui/components/playnext.d.ts +0 -4
- package/lib/src/ui/components/seekbar.d.ts +0 -6
- package/lib/src/ui/components/settingspanel.d.ts +0 -3
- package/lib/src/ui/components/titlebar.d.ts +0 -3
- package/lib/src/ui/components/topbar.d.ts +0 -3
- package/lib/src/ui/components/verticalvideo/controlbar.d.ts +0 -3
- package/lib/src/ui/components/verticalvideo/settingspanel.d.ts +0 -2
- package/lib/src/ui/handlers/accessibilityhandler.d.ts +0 -2
- package/lib/src/ui/handlers/accessibilityhandler.test.d.ts +0 -1
- package/lib/src/ui/handlers/domhandlers.d.ts +0 -3
- package/lib/src/ui/handlers/domhandlers.test.d.ts +0 -1
- package/lib/src/ui/handlers/listboxhandlers.d.ts +0 -19
- package/lib/src/ui/handlers/playnextscreen.d.ts +0 -6
- package/lib/src/ui/handlers/playnextscreen.test.d.ts +0 -1
- package/lib/src/ui/handlers/timecontrolhandlers.d.ts +0 -3
- package/lib/src/ui/uicontainer.d.ts +0 -3
- package/lib/src/ui/uicontainer.test.d.ts +0 -1
- package/lib/tests/jest.setup-files-after-env.d.ts +0 -0
- package/lib/tests/jest.setup-files-after-env.js +0 -6
- package/lib/tests/jest.setup-tests.d.ts +0 -1
- package/lib/tests/jest.setup-tests.js +0 -2
- package/lib/tests/mocks/mockLogEmitter.d.ts +0 -2
- package/lib/tests/mocks/mockLogEmitter.js +0 -20
- package/lib/tests/mocks/mockNpoplayer.d.ts +0 -2
- package/lib/tests/mocks/mockNpoplayer.js +0 -105
- package/lib/tests/mocks/mockPlayerAPI.d.ts +0 -3
- package/lib/tests/mocks/mockPlayerAPI.js +0 -195
- package/lib/tests/mocks/mockPlayerUi.d.ts +0 -64
- package/lib/tests/mocks/mockPlayerUi.js +0 -251
- package/lib/tests/mocks/mockStreamObject.d.ts +0 -2
- package/lib/tests/mocks/mockStreamObject.js +0 -21
- package/lib/tests/mocks/playerContextMock.d.ts +0 -7
- package/lib/tests/mocks/playerContextMock.js +0 -153
- package/lib/types/classes.d.ts +0 -10
- package/lib/types/classes.js +0 -15
- package/lib/types/events.d.ts +0 -98
- package/lib/types/events.js +0 -184
- package/lib/types/interfaces.d.ts +0 -246
- package/lib/types/interfaces.js +0 -20
- package/lib/ui/components/adbutton.d.ts +0 -4
- package/lib/ui/components/adbutton.js +0 -12
- package/lib/ui/components/adlabel.d.ts +0 -4
- package/lib/ui/components/adlabel.js +0 -8
- package/lib/ui/components/audio/controlbar.d.ts +0 -3
- package/lib/ui/components/audio/controlbar.js +0 -23
- package/lib/ui/components/backButton.d.ts +0 -2
- package/lib/ui/components/backButton.js +0 -8
- package/lib/ui/components/buttons.d.ts +0 -42
- package/lib/ui/components/buttons.js +0 -144
- package/lib/ui/components/controlbar.d.ts +0 -3
- package/lib/ui/components/controlbar.js +0 -40
- package/lib/ui/components/ctabar.d.ts +0 -4
- package/lib/ui/components/ctabar.js +0 -28
- package/lib/ui/components/infopanel/infopanel.d.ts +0 -3
- package/lib/ui/components/infopanel/infopanel.js +0 -42
- package/lib/ui/components/infopanel/togglebutton.d.ts +0 -3
- package/lib/ui/components/infopanel/togglebutton.js +0 -18
- package/lib/ui/components/playnext.d.ts +0 -4
- package/lib/ui/components/playnext.js +0 -10
- package/lib/ui/components/seekbar.d.ts +0 -6
- package/lib/ui/components/seekbar.js +0 -26
- package/lib/ui/components/settingspanel.d.ts +0 -3
- package/lib/ui/components/settingspanel.js +0 -159
- package/lib/ui/components/titlebar.d.ts +0 -3
- package/lib/ui/components/titlebar.js +0 -14
- package/lib/ui/components/topbar.d.ts +0 -3
- package/lib/ui/components/topbar.js +0 -36
- package/lib/ui/components/verticalvideo/controlbar.d.ts +0 -3
- package/lib/ui/components/verticalvideo/controlbar.js +0 -40
- package/lib/ui/components/verticalvideo/settingspanel.d.ts +0 -2
- package/lib/ui/components/verticalvideo/settingspanel.js +0 -25
- package/lib/ui/handlers/accessibilityhandler.d.ts +0 -2
- package/lib/ui/handlers/accessibilityhandler.js +0 -22
- package/lib/ui/handlers/accessibilityhandler.test.d.ts +0 -1
- package/lib/ui/handlers/accessibilityhandler.test.js +0 -54
- package/lib/ui/handlers/domhandlers.d.ts +0 -3
- package/lib/ui/handlers/domhandlers.js +0 -7
- package/lib/ui/handlers/domhandlers.test.d.ts +0 -1
- package/lib/ui/handlers/domhandlers.test.js +0 -31
- package/lib/ui/handlers/listboxhandlers.d.ts +0 -19
- package/lib/ui/handlers/listboxhandlers.js +0 -43
- package/lib/ui/handlers/playnextscreen.d.ts +0 -6
- package/lib/ui/handlers/playnextscreen.js +0 -28
- package/lib/ui/handlers/playnextscreen.test.d.ts +0 -1
- package/lib/ui/handlers/playnextscreen.test.js +0 -57
- package/lib/ui/handlers/timecontrolhandlers.d.ts +0 -3
- package/lib/ui/handlers/timecontrolhandlers.js +0 -17
- package/lib/ui/uicontainer.d.ts +0 -3
- package/lib/ui/uicontainer.js +0 -80
- package/lib/ui/uicontainer.test.d.ts +0 -1
- package/lib/ui/uicontainer.test.js +0 -84
- package/src/style/components/_advert.scss +0 -119
- package/src/style/components/_audio.scss +0 -4
- package/src/style/components/_back-button.scss +0 -42
- package/src/style/components/_buffering.scss +0 -69
- package/src/style/components/_controlbars.scss +0 -26
- package/src/style/components/_error.scss +0 -71
- package/src/style/components/_hugeplaybacktogglebutton.scss +0 -97
- package/src/style/components/_icons.scss +0 -177
- package/src/style/components/_infopanel.scss +0 -105
- package/src/style/components/_metadata.scss +0 -52
- package/src/style/components/_nicam.scss +0 -117
- package/src/style/components/_playnext.scss +0 -72
- package/src/style/components/_poster.scss +0 -3
- package/src/style/components/_replay.scss +0 -25
- package/src/style/components/_seekbar.scss +0 -114
- package/src/style/components/_seekbarthumbnail.scss +0 -61
- package/src/style/components/_settingspanel.scss +0 -290
- package/src/style/components/_subtitles.scss +0 -78
- package/src/style/components/_textbuttons.scss +0 -82
- package/src/style/components/_volumeslider.scss +0 -94
- package/src/style/components/audio/_bottombar.scss +0 -54
- package/src/style/components/audio/_buffering.scss +0 -8
- package/src/style/components/audio/_errors.scss +0 -13
- package/src/style/components/audio/_metadata.scss +0 -60
- package/src/style/components/audio/_playbutton.scss +0 -54
- package/src/style/components/audio/_poster.scss +0 -19
- package/src/style/components/audio/_replay.scss +0 -28
- package/src/style/components/audio/_seekbar.scss +0 -28
- package/src/style/components/audio/_topbar.scss +0 -35
- package/src/style/components/audio/_vars.scss +0 -5
- package/src/style/components/audio/_volumeslider.scss +0 -41
- package/src/style/components/vertical-video/_bottombar.scss +0 -60
- package/src/style/components/vertical-video/_buttons.scss +0 -25
- package/src/style/components/vertical-video/_hugeplaybacktogglebutton.scss +0 -34
- package/src/style/components/vertical-video/_seekbar.scss +0 -19
- package/src/style/components/vertical-video/_settingsbutton.scss +0 -7
- package/src/style/components/vertical-video/_settingspanel.scss +0 -31
- package/src/style/components/vertical-video/_shortvideo.scss +0 -14
- package/src/style/components/vertical-video/_subtitles.scss +0 -3
- package/src/style/components/vertical-video/_topbar.scss +0 -58
- package/src/style/components/vertical-video/_volumeslider.scss +0 -9
- package/src/style/npoplayer.css +0 -908
- package/src/style/npoplayer.scss +0 -58
- package/src/style/variants/_player-audio-only.scss +0 -32
- package/src/style/variants/_player-audio.scss +0 -55
- package/src/style/variants/_player-base.scss +0 -101
- package/src/style/variants/_player-debug.scss +0 -14
- package/src/style/variants/_player-large.scss +0 -99
- package/src/style/variants/_player-medium.scss +0 -68
- package/src/style/variants/_player-small.scss +0 -203
- package/src/style/variants/_player-vertical.scss +0 -23
- package/src/style/vars/_audio.scss +0 -5
- package/src/style/vars/_colors.scss +0 -25
- package/src/style/vars/_fonts.scss +0 -26
- package/src/style/vars/_icons.scss +0 -29
- package/src/style/vars/_z-index.scss +0 -1
package/src/style/npoplayer.scss
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
@import 'bitmovin-player-ui/dist/css/bitmovinplayer-ui.min.css';
|
|
2
|
-
|
|
3
|
-
$cdn: 'https://cdn.npoplayer.nl/assets/';
|
|
4
|
-
|
|
5
|
-
// mixins
|
|
6
|
-
@import './mixins/z-index';
|
|
7
|
-
@import './mixins/max-lines';
|
|
8
|
-
@import './mixins/focus';
|
|
9
|
-
|
|
10
|
-
// vars
|
|
11
|
-
@import './vars/colors';
|
|
12
|
-
@import './vars/fonts';
|
|
13
|
-
@import './vars/icons';
|
|
14
|
-
@import './vars/z-index';
|
|
15
|
-
@import './vars/audio';
|
|
16
|
-
|
|
17
|
-
// show poster on audio only
|
|
18
|
-
@import './components/poster';
|
|
19
|
-
|
|
20
|
-
// Components
|
|
21
|
-
.bmpui-npo-player {
|
|
22
|
-
container-type: inline-size;
|
|
23
|
-
|
|
24
|
-
*,
|
|
25
|
-
*::before,
|
|
26
|
-
*::after {
|
|
27
|
-
box-sizing: border-box;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@import './components/icons';
|
|
31
|
-
@import './components/hugeplaybacktogglebutton';
|
|
32
|
-
@import './components/nicam';
|
|
33
|
-
@import './components/playnext';
|
|
34
|
-
@import './components/seekbar';
|
|
35
|
-
@import './components/seekbarthumbnail';
|
|
36
|
-
@import './components/metadata';
|
|
37
|
-
@import './components/volumeslider';
|
|
38
|
-
@import './components/controlbars';
|
|
39
|
-
@import './components/settingspanel';
|
|
40
|
-
@import './components/infopanel';
|
|
41
|
-
@import './components/subtitles';
|
|
42
|
-
@import './components/textbuttons';
|
|
43
|
-
@import './components/buffering';
|
|
44
|
-
@import './components/advert';
|
|
45
|
-
@import './components/replay';
|
|
46
|
-
@import './components/error';
|
|
47
|
-
@import './components/back-button';
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// Player size variants
|
|
51
|
-
// @import './variants/player-debug';
|
|
52
|
-
@import './variants/player-base';
|
|
53
|
-
@import './variants/player-large';
|
|
54
|
-
@import './variants/player-medium';
|
|
55
|
-
@import './variants/player-small';
|
|
56
|
-
@import './variants/player-audio';
|
|
57
|
-
@import './variants/player-vertical';
|
|
58
|
-
@import './variants/player-audio-only';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// video player with no video, just audio
|
|
2
|
-
|
|
3
|
-
.bmpui-npo-player.audio-only {
|
|
4
|
-
.bmpui-ui-controlbar .bmpui-ui-piptogglebutton {
|
|
5
|
-
display: none;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
&.bmpui-layout-max-width-800,
|
|
9
|
-
&.bmpui-layout-max-width-1200 {
|
|
10
|
-
.bmpui-ui-controlbar.bmpui-ui-controlbar-bottom.bmpui-hidden,
|
|
11
|
-
.bmpui-ui-titlebar.bmpui-metadata.bmpui-hidden {
|
|
12
|
-
display: block;
|
|
13
|
-
opacity: 1;
|
|
14
|
-
visibility: visible;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&:not(.bmpui-layout-max-width-800):not(.bmpui-layout-max-width-1200) {
|
|
19
|
-
.bmpui-ui-controlbar.bmpui-controlbar-middle.bmpui-hidden,
|
|
20
|
-
.bmpui-ui-controlbar.bmpui-ui-controlbar-bottom.bmpui-hidden {
|
|
21
|
-
display: flex;
|
|
22
|
-
opacity: 1;
|
|
23
|
-
visibility: visible;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.bmpui-ui-titlebar.bmpui-titlebar-small.bmpui-hidden {
|
|
27
|
-
opacity: 1;
|
|
28
|
-
display: block;
|
|
29
|
-
visibility: visible;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
.bitmovinplayer-container.bitmovinplayer-audio-container {
|
|
2
|
-
container-type: inline-size;
|
|
3
|
-
@import '../components/audio/vars';
|
|
4
|
-
--npo-audio-player-poster-border-radius: 8px;
|
|
5
|
-
--npo-audio-player-poster-background: #ececec;
|
|
6
|
-
|
|
7
|
-
height: auto;
|
|
8
|
-
min-height: unset;
|
|
9
|
-
background-color: transparent;
|
|
10
|
-
overflow: visible;
|
|
11
|
-
|
|
12
|
-
&::before {
|
|
13
|
-
display: none;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
video,
|
|
17
|
-
#bitmovinplayer-video-my-player {
|
|
18
|
-
width: 0px;
|
|
19
|
-
height: 0px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// poster and errors are outsite the npo-player
|
|
23
|
-
@import '../components/audio/poster';
|
|
24
|
-
@import '../components/audio/errors';
|
|
25
|
-
|
|
26
|
-
.bmpui-npo-player {
|
|
27
|
-
// reset soms vars for default audio player colors
|
|
28
|
-
--npo-player-iconcolor: var(--npo-player-primarycolor);
|
|
29
|
-
--npo-player-unavailable: #cecece;
|
|
30
|
-
--npo-player-seekbar-marker: var(--npo-player-primarycolor);
|
|
31
|
-
--npo-player-seekbar-background: #ececec;
|
|
32
|
-
--npo-player-seekbar-bufferlevel-background: #c9c9c9;
|
|
33
|
-
--npo-audio-player-border-radius: 20px;
|
|
34
|
-
--npo-audio-player-box-shadow: 0px 2px 20px 0px #0000001A;
|
|
35
|
-
|
|
36
|
-
background-color: var(--npo-audio-player-background-color);
|
|
37
|
-
height: $player-height;
|
|
38
|
-
position: relative;
|
|
39
|
-
box-shadow: var(--npo-audio-player-box-shadow);
|
|
40
|
-
border-radius: var(--npo-audio-player-border-radius);
|
|
41
|
-
|
|
42
|
-
&.bmpui-layout-max-width-400 {
|
|
43
|
-
height: $player-height-small;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@import '../components/audio/topbar';
|
|
47
|
-
@import '../components/audio/metadata';
|
|
48
|
-
@import '../components/audio/seekbar';
|
|
49
|
-
@import '../components/audio/playbutton';
|
|
50
|
-
@import '../components/audio/bottombar';
|
|
51
|
-
@import '../components/audio/volumeslider';
|
|
52
|
-
@import '../components/audio/replay';
|
|
53
|
-
// @import '../components/audio/buffering';
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
.bmpui-npo-player {
|
|
2
|
-
.bmpui-container-wrapper {
|
|
3
|
-
color: var(--npo-player-textcolor);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.bmpui-ui-selectbox {
|
|
7
|
-
color: var(--npo-player-textcolor);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.bmpui-ui-titlebar {
|
|
11
|
-
&::before {
|
|
12
|
-
content: '';
|
|
13
|
-
position: absolute;
|
|
14
|
-
top: 0;
|
|
15
|
-
left: 0;
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 161px;
|
|
18
|
-
background: var(--npo-player-topcolor);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.bmpui-ui-controlbar.bmpui-hidden,
|
|
23
|
-
.bmpui-ui-titlebar.bmpui-hidden {
|
|
24
|
-
transition: none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.bmpui-ui-playbacktoggle-overlay {
|
|
28
|
-
position: absolute;
|
|
29
|
-
width: 100%;
|
|
30
|
-
height: 100%;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.bmpui-ui-controlbar-bottom {
|
|
34
|
-
background: var(--npo-player-bottomcolor);
|
|
35
|
-
z-index: z-index(bottom-bar);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* Time labels */
|
|
39
|
-
.bmpui-ui-playbacktimelabel {
|
|
40
|
-
font-family: var(--fontBold);
|
|
41
|
-
font-style: normal;
|
|
42
|
-
font-weight: 700;
|
|
43
|
-
|
|
44
|
-
&.bmpui-total-time {
|
|
45
|
-
opacity: 0.6;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&.bmpui-player-state-finished {
|
|
50
|
-
.bmpui-ui-controlbar:not(.bmpui-controlbar-middle),
|
|
51
|
-
.bmpui-ui-hugeplaybacktogglebutton {
|
|
52
|
-
display: unset;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&.bmpui-player-state-prepared {
|
|
57
|
-
&.bmpui-controls-shown {
|
|
58
|
-
.bmpui-controlbar-top.bmpui-controlbar-small,
|
|
59
|
-
.bmpui-ui-controlbar {
|
|
60
|
-
display: none;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&.bmpui-controls-hidden .bmpui-controlbar-textbuttons {
|
|
66
|
-
padding-bottom: 20px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&.livestream-no-dvr {
|
|
70
|
-
.bmpui-ui-rewindbutton,
|
|
71
|
-
.bmpui-ui-forwardbutton {
|
|
72
|
-
display: none;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.bmpui-ui-playbacktogglebutton.bmpui-on .bmpui-label {
|
|
76
|
-
mask-image: var(--npo-player-icon-stop);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.bmpui-controlbar-top.bmpui-controlbar-seekbar .bmpui-ui-seekbar {
|
|
80
|
-
display: none;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.bmpui-ui-subtitle-overlay.bmpui-controlbar-visible {
|
|
85
|
-
bottom: 5.6em;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.bitmovinplayer-container,
|
|
90
|
-
.bitmovinplayer-ad-container {
|
|
91
|
-
height: auto;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.bitmovinplayer-container .bitmovinplayer-poster {
|
|
95
|
-
background-size: cover;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.bmpui-ui-uicontainer.bmpui-hidden *,
|
|
99
|
-
.bmpui-hidden {
|
|
100
|
-
pointer-events: none;
|
|
101
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// TEMP - use for debugging styling, makes all the controls vibisible!
|
|
2
|
-
.bmpui-controls-hidden {
|
|
3
|
-
all: unset !important;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.bmpui-ui-controlbar.bmpui-hidden {
|
|
7
|
-
visibility: unset !important;
|
|
8
|
-
opacity: unset !important;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.bmpui-ui-titlebar.bmpui-hidden {
|
|
12
|
-
visibility: unset !important;
|
|
13
|
-
opacity: unset !important;
|
|
14
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
.bmpui-npo-player:not(.bmpui-layout-max-width-400):not(.bmpui-layout-max-width-600):not(.bmpui-layout-max-width-800):not(.bmpui-layout-max-width-1200) {
|
|
2
|
-
.bmpui-titlebar-small,
|
|
3
|
-
.bmpui-controlbar-middle,
|
|
4
|
-
.bmpui-controlbar-small,
|
|
5
|
-
.bmpui-settings-trigger {
|
|
6
|
-
display: none;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
// Controlbar bottom
|
|
10
|
-
.bmpui-ui-controlbar.bmpui-ui-controlbar-bottom {
|
|
11
|
-
padding: 0 56px 48px;
|
|
12
|
-
|
|
13
|
-
.bmpui-controlbar-bottom > .bmpui-container-wrapper {
|
|
14
|
-
margin: 14px 8px 0;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.bmpui-metadata {
|
|
19
|
-
padding: 40px 48px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.bmpui-overlay-playnext
|
|
23
|
-
.bmpui-container-wrapper
|
|
24
|
-
.bmpui-ui-hugeplaynextbacktogglebutton
|
|
25
|
-
.bmpui-label {
|
|
26
|
-
display: inline-block;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.bmpui-controlbar-textbuttons {
|
|
30
|
-
padding-right: 56px;
|
|
31
|
-
padding-bottom: 140px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.bmpui-ui-textbutton {
|
|
35
|
-
height: 48px;
|
|
36
|
-
padding: 14px 20px;
|
|
37
|
-
border-radius: 10px;
|
|
38
|
-
|
|
39
|
-
.bmpui-label {
|
|
40
|
-
font-size: 16px;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&.bmpui-ster-ad {
|
|
45
|
-
.bmpui-ui-controlbar .bmpui-controlbar-bottom {
|
|
46
|
-
display: block !important;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.bmpui-adLabel {
|
|
50
|
-
left: 56px;
|
|
51
|
-
top: 32px;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.bmpui-overlay-chapter-skip .bmpui-container-wrapper, .bmpui-overlay-playnext .bmpui-container-wrapper {
|
|
56
|
-
padding-right: 56px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&.bmpui-controls-shown {
|
|
60
|
-
.bmpui-overlay-chapter-skip .bmpui-container-wrapper, .bmpui-overlay-playnext .bmpui-container-wrapper {
|
|
61
|
-
padding-bottom: 130px;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.bmpui-ui-settings-panel {
|
|
66
|
-
bottom: 100px;
|
|
67
|
-
|
|
68
|
-
&::after {
|
|
69
|
-
right: 58px;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.bmpui-controlbar-textbuttons {
|
|
74
|
-
&::before {
|
|
75
|
-
height: 144px;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.bmpui-ui-settings-panel .bmpui-ui-settings-panel-item > .bmpui-container-wrapper > .bmpui-ui-listbox {
|
|
80
|
-
max-height: 150px;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.bmpui-info-panel {
|
|
84
|
-
bottom: 100px;
|
|
85
|
-
|
|
86
|
-
&::after {
|
|
87
|
-
right: 56px;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&.bmpui-ster-ad .bmpui-controlbar-textbuttons {
|
|
92
|
-
padding: 32px 56px;
|
|
93
|
-
|
|
94
|
-
.ui-sterbutton {
|
|
95
|
-
bottom: 140px;
|
|
96
|
-
right: 56px;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
.bmpui-npo-player.bmpui-layout-max-width-800,
|
|
2
|
-
.bmpui-npo-player.bmpui-layout-max-width-1200 {
|
|
3
|
-
.bmpui-titlebar-small,
|
|
4
|
-
.bmpui-controlbar-middle,
|
|
5
|
-
.bmpui-controlbar-small,
|
|
6
|
-
.bmpui-settings-trigger {
|
|
7
|
-
display: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.bmpui-ui-controlbar.bmpui-ui-controlbar-bottom {
|
|
11
|
-
padding: 0 16px 24px;
|
|
12
|
-
|
|
13
|
-
.bmpui-controlbar-bottom>.bmpui-container-wrapper {
|
|
14
|
-
margin: 14px 8px 0;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
&.bmpui-ster-ad {
|
|
20
|
-
.bmpui-ui-controlbar .bmpui-controlbar-bottom {
|
|
21
|
-
display: block !important;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&.bmpui-controls-shown {
|
|
26
|
-
.bmpui-overlay-chapter-skip .bmpui-container-wrapper, .bmpui-overlay-playnext .bmpui-container-wrapper {
|
|
27
|
-
padding-bottom: 106px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&.bmpui-controls-hidden .bmpui-controlbar-textbuttons {
|
|
32
|
-
padding-bottom: 20px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.bmpui-ui-textbutton {
|
|
36
|
-
height: 40px;
|
|
37
|
-
padding: 11px 16px;
|
|
38
|
-
border-radius: 10px;
|
|
39
|
-
|
|
40
|
-
.bmpui-label {
|
|
41
|
-
font-size: 14px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.bmpui-controlbar-textbuttons {
|
|
46
|
-
&::before {
|
|
47
|
-
height: 112px;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.bmpui-ui-settings-panel .bmpui-ui-settings-panel-item > .bmpui-container-wrapper > .bmpui-ui-listbox {
|
|
52
|
-
max-height: 150px;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.bmpui-npo-player.bmpui-layout-max-width-1200 {
|
|
57
|
-
.bmpui-adLabel {
|
|
58
|
-
top: 26px;
|
|
59
|
-
left: 24px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.bmpui-controlbar-textbuttons {
|
|
63
|
-
&::before {
|
|
64
|
-
height: 144px;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
.bmpui-npo-player.bmpui-layout-max-width-400,
|
|
2
|
-
.bmpui-npo-player.bmpui-layout-max-width-600 {
|
|
3
|
-
.bmpui-controlbar-bottom,
|
|
4
|
-
.bmpui-metadata,
|
|
5
|
-
.bmpui-ui-playbacktoggle-overlay,
|
|
6
|
-
.bmpui-controlbar-bottom,
|
|
7
|
-
.bmpui-settings-trigger,
|
|
8
|
-
.bmpui-metadata {
|
|
9
|
-
display: none;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.bmpui-back-button {
|
|
13
|
-
width: 32px;
|
|
14
|
-
height: 32px;
|
|
15
|
-
|
|
16
|
-
.bmpui-label {
|
|
17
|
-
width: 20px;
|
|
18
|
-
height: 20px;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.bmpui-ster-ad .bmpui-controlbar-textbuttons .ui-sterbutton {
|
|
23
|
-
bottom: 40px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.bmpui-controlbar-top.bmpui-controlbar-small {
|
|
27
|
-
.bmpui-ui-volumecontrolbutton .bmpui-container-wrapper,
|
|
28
|
-
> .bmpui-container-wrapper {
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-direction: row;
|
|
31
|
-
justify-content: flex-end;
|
|
32
|
-
align-items: center;
|
|
33
|
-
width: 100%;
|
|
34
|
-
|
|
35
|
-
> button:not(.bmpui-back-button) {
|
|
36
|
-
padding: 0;
|
|
37
|
-
|
|
38
|
-
.bmpui-label {
|
|
39
|
-
width: 24px;
|
|
40
|
-
height: 24px;
|
|
41
|
-
max-width: 24px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.bmpui-setting-header {
|
|
48
|
-
margin-top: 20px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.bmpui-ui-titlebar {
|
|
52
|
-
height: 100%;
|
|
53
|
-
background: none;
|
|
54
|
-
padding: 0;
|
|
55
|
-
|
|
56
|
-
&::before {
|
|
57
|
-
display: none;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.bmpui-metadata .bmpui-container-wrapper {
|
|
62
|
-
padding: 12px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.bmpui-ui-controlbar.bmpui-ui-controlbar-bottom {
|
|
66
|
-
background: none;
|
|
67
|
-
padding: 0 10px 10px;
|
|
68
|
-
height: 100%;
|
|
69
|
-
display: flex;
|
|
70
|
-
align-items: flex-end;
|
|
71
|
-
pointer-events: none;
|
|
72
|
-
|
|
73
|
-
> .bmpui-container-wrapper {
|
|
74
|
-
width: 100%;
|
|
75
|
-
pointer-events: initial;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// icons in topbar
|
|
80
|
-
.bmpui-ui-titlebar {
|
|
81
|
-
.bmpui-ui-settingstogglebutton,
|
|
82
|
-
.bmpui-ui-fullscreentogglebutton,
|
|
83
|
-
.bmpui-ui-volumetogglebutton,
|
|
84
|
-
.bmpui-ui-casttogglebutton,
|
|
85
|
-
.bmpui-ui-airplaytogglebutton,
|
|
86
|
-
.bmpui-ui-piptogglebutton,
|
|
87
|
-
.bmpui-info-panel-toggle-button {
|
|
88
|
-
width: 24px;
|
|
89
|
-
height: 24px;
|
|
90
|
-
margin: 8px;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Settings panel at bottom
|
|
95
|
-
.bmpui-ui-settings-panel {
|
|
96
|
-
position: absolute;
|
|
97
|
-
bottom: 0;
|
|
98
|
-
left: 0;
|
|
99
|
-
right: 0;
|
|
100
|
-
max-height: calc(100% - 40px);
|
|
101
|
-
border-radius: 24px 24px 0px 0px;
|
|
102
|
-
padding: 0;
|
|
103
|
-
overflow: auto;
|
|
104
|
-
|
|
105
|
-
&::after {
|
|
106
|
-
display: none;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.bmpui-ui-settings-panel-page.bmpui-main-panel > .bmpui-container-wrapper {
|
|
110
|
-
padding-top: 28px;
|
|
111
|
-
gap: 8px;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.bmpui-ui-settingstogglebutton {
|
|
115
|
-
margin: 0;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.bmpui-controlbar-textbuttons {
|
|
120
|
-
padding-bottom: 40px;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
&.bmpui-controls-hidden .bmpui-controlbar-textbuttons {
|
|
124
|
-
padding-bottom: 16px;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
&.bmpui-player-state-prepared {
|
|
128
|
-
.bmpui-ui-playbacktoggle-overlay {
|
|
129
|
-
display: unset;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
&.bmpui-controls-shown {
|
|
133
|
-
.bmpui-ui-controlbar.bmpui-ui-controlbar-bottom {
|
|
134
|
-
display: none;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.bmpui-ui-subtitle-overlay.bmpui-controlbar-visible {
|
|
140
|
-
bottom: 1.5em;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&.bmpui-controls-shown {
|
|
144
|
-
.bmpui-overlay-playnext .bmpui-container-wrapper {
|
|
145
|
-
padding-bottom: 40px;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.bmpui-controlbar-middle {
|
|
150
|
-
.bmpui-ui-rewindbutton,
|
|
151
|
-
.bmpui-ui-forwardbutton,
|
|
152
|
-
.bmpui-ui-playbacktogglebutton {
|
|
153
|
-
width: 40px;
|
|
154
|
-
height: 40px;
|
|
155
|
-
padding: 0;
|
|
156
|
-
|
|
157
|
-
&:focus-visible {
|
|
158
|
-
@include focusStyle(2px);
|
|
159
|
-
border-radius: 2px;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.bmpui-label {
|
|
163
|
-
display: block;
|
|
164
|
-
width: 40px;
|
|
165
|
-
height: 40px;
|
|
166
|
-
max-width: 40px;
|
|
167
|
-
overflow: hidden;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.bmpui-npo-player.bmpui-layout-max-width-600 {
|
|
174
|
-
.bmpui-ui-titlebar .bmpui-back-button {
|
|
175
|
-
position: absolute;
|
|
176
|
-
left: 18px;
|
|
177
|
-
top: 32px;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.bmpui-npo-player.bmpui-layout-max-width-400 {
|
|
182
|
-
.bmpui-ui-titlebar .bmpui-back-button {
|
|
183
|
-
position: absolute;
|
|
184
|
-
left: 18px;
|
|
185
|
-
top: 23px;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.bmpui-adLabel {
|
|
189
|
-
font-size: 13px;
|
|
190
|
-
|
|
191
|
-
&::before {
|
|
192
|
-
height: 38px;
|
|
193
|
-
width: 32px;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.bmpui-ui-errormessage-label {
|
|
198
|
-
font-size: 12px;
|
|
199
|
-
.error-code{
|
|
200
|
-
font-size: 12px;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
.bitmovinplayer-container {
|
|
2
|
-
&.aspect-9x16 {
|
|
3
|
-
&::before {
|
|
4
|
-
padding-bottom: 177.78%;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.bmpui-npo-player.bmpui-vertical-video {
|
|
9
|
-
--npo-player-vertical-video-overlay-color: rgba(3, 14, 30, 0.4);
|
|
10
|
-
--npo-player-seekbar-background: rgba(255, 255, 254, 0.3);
|
|
11
|
-
|
|
12
|
-
@import '../components/vertical-video/bottombar';
|
|
13
|
-
@import '../components/vertical-video/buttons';
|
|
14
|
-
@import '../components/vertical-video/hugeplaybacktogglebutton';
|
|
15
|
-
@import '../components/vertical-video/seekbar';
|
|
16
|
-
@import '../components/vertical-video/settingsbutton';
|
|
17
|
-
@import '../components/vertical-video/settingspanel';
|
|
18
|
-
@import '../components/vertical-video/subtitles';
|
|
19
|
-
@import '../components/vertical-video/topbar';
|
|
20
|
-
@import '../components/vertical-video/volumeslider';
|
|
21
|
-
@import '../components/vertical-video/shortvideo';
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
// These are the variables you can change to customize the player
|
|
3
|
-
// The variables will be used in the rest of the stylesheet
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.bmpui-npo-player {
|
|
7
|
-
--npo-player-white: #fff;
|
|
8
|
-
--npo-player-primarycolor: #f56A00;
|
|
9
|
-
--npo-player-primarycolor-light: #ff9e40;
|
|
10
|
-
--npo-player-secondarycolor: #1f3353;
|
|
11
|
-
--npo-player-textcolor: #fff;
|
|
12
|
-
--npo-player-bottomcolor: linear-gradient(180deg, transparent, rgba(3, 14, 30, 1)); // The gradient color "glow" at the bottom of the player
|
|
13
|
-
--npo-player-topcolor: linear-gradient(0deg, transparent,rgba(3, 14, 30, 1)); // The gradient color "glow" at the top of the player
|
|
14
|
-
--npo-player-bufferingcolor: rgba(255, 109, 0, 0);
|
|
15
|
-
--npo-player-unavailable: #858585;
|
|
16
|
-
--npo-player-graycolor-dark: #030e1e;
|
|
17
|
-
--npo-player-graycolor-light: #999;
|
|
18
|
-
--npo-player-iconcolor: #fff;
|
|
19
|
-
--npo-player-iconcolor-active: var(--npo-player-primarycolor);
|
|
20
|
-
--npo-player-focuscolor: #fff;
|
|
21
|
-
--npo-player-seekbar-marker: #fff;
|
|
22
|
-
--npo-player-seekbar-background: #fff;
|
|
23
|
-
--npo-player-seekbar-playbackposition-background: linear-gradient(90deg, var(--npo-player-primarycolor) 0%, var(--npo-player-primarycolor-light) 100%);
|
|
24
|
-
--npo-player-seekbar-bufferlevel-background: #fff;
|
|
25
|
-
}
|