@xiping/react-components 1.0.50 → 1.0.51
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/dist/cjs/components/gradient-text/index.js +1 -1
- package/dist/cjs/components/message/Message.js +1 -1
- package/dist/cjs/components/subtitle-player/CurrentMode.d.ts +20 -0
- package/dist/cjs/components/subtitle-player/CurrentMode.js +2 -0
- package/dist/cjs/components/subtitle-player/LyricsMode.d.ts +26 -0
- package/dist/cjs/components/subtitle-player/LyricsMode.js +2 -0
- package/dist/cjs/components/subtitle-player/SubtitlePlayer.d.ts +3 -2
- package/dist/cjs/components/subtitle-player/SubtitlePlayer.js +1 -3
- package/dist/cjs/components/subtitle-player/utils.d.ts +28 -0
- package/dist/cjs/components/subtitle-player/utils.js +1 -0
- package/dist/cjs/components/text-animate/TextAnimate.js +1 -1
- package/dist/cjs/components/text-type/TextType.js +1 -1
- package/dist/cjs/components/txt-reader/TxtReader.js +1 -1
- package/dist/cjs/components/txt-reader/index.module.css.js +1 -1
- package/dist/cjs/components/variable-proximity/index.js +1 -1
- package/dist/cjs/components/video-subtitle-player/VideoSubtitlePlayer.js +1 -1
- package/dist/cjs/components/video-subtitle-player/useVideoSubtitleStore.js +1 -1
- package/dist/cjs/react-components.css +1 -1
- package/dist/es/components/gradient-text/index.js +8 -8
- package/dist/es/components/message/Message.js +72 -72
- package/dist/es/components/subtitle-player/CurrentMode.d.ts +20 -0
- package/dist/es/components/subtitle-player/CurrentMode.js +40 -0
- package/dist/es/components/subtitle-player/LyricsMode.d.ts +26 -0
- package/dist/es/components/subtitle-player/LyricsMode.js +67 -0
- package/dist/es/components/subtitle-player/SubtitlePlayer.d.ts +3 -2
- package/dist/es/components/subtitle-player/SubtitlePlayer.js +121 -238
- package/dist/es/components/subtitle-player/utils.d.ts +28 -0
- package/dist/es/components/subtitle-player/utils.js +72 -0
- package/dist/es/components/text-animate/TextAnimate.js +0 -1
- package/dist/es/components/text-type/TextType.js +31 -31
- package/dist/es/components/txt-reader/TxtReader.js +9 -9
- package/dist/es/components/txt-reader/index.module.css.js +7 -8
- package/dist/es/components/variable-proximity/index.js +8 -9
- package/dist/es/components/video-subtitle-player/VideoSubtitlePlayer.js +64 -64
- package/dist/es/components/video-subtitle-player/useVideoSubtitleStore.js +1 -1
- package/dist/es/react-components.css +1 -1
- package/package.json +13 -13
- package/dist/cjs/_virtual/_commonjsHelpers.js +0 -1
- package/dist/cjs/_virtual/delegate.js +0 -1
- package/dist/cjs/_virtual/download.js +0 -1
- package/dist/cjs/_virtual/download2.js +0 -1
- package/dist/cjs/_virtual/index.js +0 -1
- package/dist/cjs/_virtual/index2.js +0 -1
- package/dist/cjs/node_modules/.pnpm/delegate@3.2.0/node_modules/delegate/src/closest.js +0 -1
- package/dist/cjs/node_modules/.pnpm/delegate@3.2.0/node_modules/delegate/src/delegate.js +0 -1
- package/dist/cjs/node_modules/.pnpm/downloadjs@1.4.7/node_modules/downloadjs/download.js +0 -3
- package/dist/cjs/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/_virtual/_rollupPluginBabelHelpers.js +0 -2
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/constant.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/defaultConfig.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/error.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/events.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/index.umd.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/instManager.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/lang/en.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/lang/i18n.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/lang/zh-cn.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/mediaProxy.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/player.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugin/basePlugin.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugin/hooksDescriptor.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugin/plugin.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugin/pluginsManager.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugin/preset.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugin/resizeObserver.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/back.js +0 -5
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/download.js +0 -15
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/exitCssFull.js +0 -4
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/exitFull.js +0 -4
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/loading.js +0 -4
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/pause.js +0 -4
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/pipIcon.js +0 -5
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/pipIconExit.js +0 -8
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/play.js +0 -4
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/playNext.js +0 -4
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/replay.js +0 -4
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/requestCssFull.js +0 -4
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/requestFull.js +0 -4
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/rotate.js +0 -12
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/seekicon.js +0 -7
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/volumeLarge.js +0 -5
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/volumeMuted.js +0 -5
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/volumeSmall.js +0 -5
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/common/iconPlugin.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/common/iconTools.js +0 -3
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/common/optionList.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/common/optionsIcon.js +0 -4
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/common/thumbnail.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/controls/index.js +0 -9
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/cssFullScreen/index.js +0 -5
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/definition/index.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/download/index.js +0 -5
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/dynamicBg/index.js +0 -2
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/enter/index.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/error/index.js +0 -6
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/fpsDetect/index.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/fullscreen/backicon.js +0 -2
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/fullscreen/index.js +0 -5
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/gapJump/index.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/keyboard/index.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/loading/index.js +0 -4
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/logger/index.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/miniScreen/index.js +0 -13
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/miniScreen/miniScreenIcon.js +0 -4
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/mobile/index.js +0 -19
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/mobile/touch.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/pc/index.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/pip/index.js +0 -8
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/play/index.js +0 -5
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/playNext/index.js +0 -7
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/playbackRate/index.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/poster/index.js +0 -2
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/progress/index.js +0 -7
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/progress/innerList.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/progress/miniProgress.js +0 -4
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/progressPreview/dotsApi.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/progressPreview/index.js +0 -11
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/prompt/index.js +0 -3
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/replay/index.js +0 -3
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/rotate/index.js +0 -6
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/screenShot/index.js +0 -6
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/start/index.js +0 -4
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/stats/index.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/testspeed/index.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/time/index.js +0 -6
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/time/timesegments.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/volume/index.js +0 -11
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/waitingTimeoutJump/index.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/presets/default.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/state.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/stateClassMap.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/utils/database.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/utils/debug.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/utils/draggabilly.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/utils/sniffer.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/utils/util.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/utils/xgplayerTimeRange.js +0 -1
- package/dist/cjs/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/version.js +0 -1
- package/dist/cjs/node_modules/.pnpm/zustand@5.0.9_@types_react@19.2.7_react@19.2.3_use-sync-external-store@1.6.0_react@19.2.3_/node_modules/zustand/esm/react.js +0 -1
- package/dist/cjs/node_modules/.pnpm/zustand@5.0.9_@types_react@19.2.7_react@19.2.3_use-sync-external-store@1.6.0_react@19.2.3_/node_modules/zustand/esm/vanilla.js +0 -1
- package/dist/es/_virtual/_commonjsHelpers.js +0 -6
- package/dist/es/_virtual/delegate.js +0 -7
- package/dist/es/_virtual/download.js +0 -7
- package/dist/es/_virtual/download2.js +0 -4
- package/dist/es/_virtual/index.js +0 -8
- package/dist/es/_virtual/index2.js +0 -4
- package/dist/es/node_modules/.pnpm/delegate@3.2.0/node_modules/delegate/src/closest.js +0 -21
- package/dist/es/node_modules/.pnpm/delegate@3.2.0/node_modules/delegate/src/delegate.js +0 -29
- package/dist/es/node_modules/.pnpm/downloadjs@1.4.7/node_modules/downloadjs/download.js +0 -77
- package/dist/es/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.js +0 -111
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/_virtual/_rollupPluginBabelHelpers.js +0 -197
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/constant.js +0 -7
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/defaultConfig.js +0 -87
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/error.js +0 -64
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/events.js +0 -67
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/index.umd.js +0 -45
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/instManager.js +0 -101
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/lang/en.js +0 -79
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/lang/i18n.js +0 -75
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/lang/zh-cn.js +0 -79
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/mediaProxy.js +0 -466
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/player.js +0 -1240
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugin/basePlugin.js +0 -207
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugin/hooksDescriptor.js +0 -130
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugin/plugin.js +0 -366
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugin/pluginsManager.js +0 -204
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugin/preset.js +0 -14
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugin/resizeObserver.js +0 -81
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/back.js +0 -10
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/download.js +0 -20
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/exitCssFull.js +0 -9
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/exitFull.js +0 -9
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/loading.js +0 -9
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/pause.js +0 -9
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/pipIcon.js +0 -10
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/pipIconExit.js +0 -13
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/play.js +0 -9
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/playNext.js +0 -9
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/replay.js +0 -9
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/requestCssFull.js +0 -9
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/requestFull.js +0 -9
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/rotate.js +0 -17
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/seekicon.js +0 -12
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/volumeLarge.js +0 -10
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/volumeMuted.js +0 -10
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/assets/volumeSmall.js +0 -10
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/common/iconPlugin.js +0 -35
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/common/iconTools.js +0 -12
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/common/optionList.js +0 -79
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/common/optionsIcon.js +0 -193
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/common/thumbnail.js +0 -141
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/controls/index.js +0 -171
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/cssFullScreen/index.js +0 -105
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/definition/index.js +0 -110
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/download/index.js +0 -83
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/dynamicBg/index.js +0 -232
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/enter/index.js +0 -42
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/error/index.js +0 -68
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/fpsDetect/index.js +0 -116
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/fullscreen/backicon.js +0 -68
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/fullscreen/index.js +0 -150
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/gapJump/index.js +0 -96
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/keyboard/index.js +0 -299
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/loading/index.js +0 -46
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/logger/index.js +0 -171
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/miniScreen/index.js +0 -169
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/miniScreen/miniScreenIcon.js +0 -55
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/mobile/index.js +0 -448
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/mobile/touch.js +0 -138
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/pc/index.js +0 -122
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/pip/index.js +0 -216
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/play/index.js +0 -102
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/playNext/index.js +0 -78
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/playbackRate/index.js +0 -100
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/poster/index.js +0 -119
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/progress/index.js +0 -431
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/progress/innerList.js +0 -215
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/progress/miniProgress.js +0 -93
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/progressPreview/dotsApi.js +0 -175
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/progressPreview/index.js +0 -292
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/prompt/index.js +0 -86
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/replay/index.js +0 -92
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/rotate/index.js +0 -106
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/screenShot/index.js +0 -134
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/start/index.js +0 -222
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/stats/index.js +0 -152
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/testspeed/index.js +0 -134
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/time/index.js +0 -164
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/time/timesegments.js +0 -146
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/volume/index.js +0 -206
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/plugins/waitingTimeoutJump/index.js +0 -53
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/presets/default.js +0 -61
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/state.js +0 -13
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/stateClassMap.js +0 -34
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/utils/database.js +0 -83
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/utils/debug.js +0 -34
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/utils/draggabilly.js +0 -271
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/utils/sniffer.js +0 -111
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/utils/util.js +0 -517
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/utils/xgplayerTimeRange.js +0 -25
- package/dist/es/node_modules/.pnpm/xgplayer@3.0.23_core-js@3.47.0/node_modules/xgplayer/es/version.js +0 -4
- package/dist/es/node_modules/.pnpm/zustand@5.0.9_@types_react@19.2.7_react@19.2.3_use-sync-external-store@1.6.0_react@19.2.3_/node_modules/zustand/esm/react.js +0 -19
- package/dist/es/node_modules/.pnpm/zustand@5.0.9_@types_react@19.2.7_react@19.2.3_use-sync-external-store@1.6.0_react@19.2.3_/node_modules/zustand/esm/vanilla.js +0 -14
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { inherits as k, createSuper as g, classCallCheck as _, defineProperty as u, assertThisInitialized as s, createClass as T } from "../../_virtual/_rollupPluginBabelHelpers.js";
|
|
2
|
-
import y from "../../utils/sniffer.js";
|
|
3
|
-
import { ENTER_PLAYER as P, LEAVE_PLAYER as E } from "../../events.js";
|
|
4
|
-
import b from "../../plugin/basePlugin.js";
|
|
5
|
-
import "../../../../../../../../_virtual/delegate.js";
|
|
6
|
-
import { runHooks as C } from "../../plugin/hooksDescriptor.js";
|
|
7
|
-
var f = {
|
|
8
|
-
mouseenter: "onMouseEnter",
|
|
9
|
-
mouseleave: "onMouseLeave",
|
|
10
|
-
mousemove: "onMouseMove"
|
|
11
|
-
}, d = ["videoClick", "videoDbClick"], B = /* @__PURE__ */ (function(h) {
|
|
12
|
-
k(c, h);
|
|
13
|
-
var v = g(c);
|
|
14
|
-
function c() {
|
|
15
|
-
var e;
|
|
16
|
-
_(this, c);
|
|
17
|
-
for (var l = arguments.length, r = new Array(l), n = 0; n < l; n++)
|
|
18
|
-
r[n] = arguments[n];
|
|
19
|
-
return e = v.call.apply(v, [this].concat(r)), u(s(e), "onMouseMove", function(i) {
|
|
20
|
-
var a = s(e), t = a.player, o = a.playerConfig;
|
|
21
|
-
t.isActive || (t.focus({
|
|
22
|
-
autoHide: !o.closeDelayBlur
|
|
23
|
-
}), !o.closeFocusVideoFocus && t.media.focus());
|
|
24
|
-
}), u(s(e), "onMouseEnter", function(i) {
|
|
25
|
-
var a = s(e), t = a.playerConfig, o = a.player;
|
|
26
|
-
!t.closeFocusVideoFocus && o.media.focus(), t.closeDelayBlur ? o.focus({
|
|
27
|
-
autoHide: !1
|
|
28
|
-
}) : o.focus(), e.emit(P);
|
|
29
|
-
}), u(s(e), "onMouseLeave", function(i) {
|
|
30
|
-
var a = e.playerConfig, t = a.closePlayerBlur, o = a.leavePlayerTime, p = a.closeDelayBlur;
|
|
31
|
-
!t && !p && (o ? e.player.focus({
|
|
32
|
-
autoHide: !0,
|
|
33
|
-
delay: o
|
|
34
|
-
}) : e.player.blur({
|
|
35
|
-
ignorePaused: !0
|
|
36
|
-
})), e.emit(E);
|
|
37
|
-
}), u(s(e), "onVideoClick", function(i) {
|
|
38
|
-
var a = s(e), t = a.player, o = a.playerConfig;
|
|
39
|
-
i.target && o.closeVideoClick || (i.target === t.root || i.target === t.media || i.target === t.innerContainer || i.target === t.media.__canvas) && (i.preventDefault(), o.closeVideoStopPropagation || i.stopPropagation(), e._clickCount++, e.clickTimer && (clearTimeout(e.clickTimer), e.clickTimer = null), e.clickTimer = setTimeout(function() {
|
|
40
|
-
e._clickCount && (e._clickCount--, C(s(e), d[0], function(p, m) {
|
|
41
|
-
e.switchPlayPause(m.e);
|
|
42
|
-
}, {
|
|
43
|
-
e: i,
|
|
44
|
-
paused: t.paused
|
|
45
|
-
}), clearTimeout(e.clickTimer), e.clickTimer = null);
|
|
46
|
-
}, 300));
|
|
47
|
-
}), u(s(e), "onVideoDblClick", function(i) {
|
|
48
|
-
var a = s(e), t = a.player, o = a.playerConfig;
|
|
49
|
-
if (!(o.closeVideoDblclick || !i.target || i.target !== t.media && i.target !== t.media.__canvas)) {
|
|
50
|
-
if (!o.closeVideoClick && e._clickCount < 2) {
|
|
51
|
-
e._clickCount = 0;
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
e._clickCount = 0, e.clickTimer && (clearTimeout(e.clickTimer), e.clickTimer = null), i.preventDefault(), i.stopPropagation(), C(s(e), d[1], function(p, m) {
|
|
55
|
-
e.emitUserAction(m.e, "switch_fullscreen", {
|
|
56
|
-
props: "fullscreen",
|
|
57
|
-
from: t.fullscreen,
|
|
58
|
-
to: !t.fullscreen
|
|
59
|
-
}), t.fullscreen ? t.exitFullscreen() : t.getFullscreen();
|
|
60
|
-
}, {
|
|
61
|
-
e: i,
|
|
62
|
-
fullscreen: t.fullscreen
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
}), e;
|
|
66
|
-
}
|
|
67
|
-
return T(c, [{
|
|
68
|
-
key: "afterCreate",
|
|
69
|
-
value: function() {
|
|
70
|
-
var l = this;
|
|
71
|
-
this._clickCount = 0, d.map(function(n) {
|
|
72
|
-
l.__hooks[n] = null;
|
|
73
|
-
});
|
|
74
|
-
var r = this.playerConfig.isMobileSimulateMode;
|
|
75
|
-
r === "mobile" || y.device === "mobile" && !y.os.isIpad || this.initEvents();
|
|
76
|
-
}
|
|
77
|
-
}, {
|
|
78
|
-
key: "initEvents",
|
|
79
|
-
value: function() {
|
|
80
|
-
var l = this, r = this.player, n = r.media, i = r.root, a = this.playerConfig.enableContextmenu;
|
|
81
|
-
i && i.addEventListener("click", this.onVideoClick, !1), i && i.addEventListener("dblclick", this.onVideoDblClick, !1), Object.keys(f).map(function(t) {
|
|
82
|
-
i.addEventListener(t, l[f[t]], !1);
|
|
83
|
-
}), !a && n && n.addEventListener("contextmenu", this.onContextmenu, !1);
|
|
84
|
-
}
|
|
85
|
-
}, {
|
|
86
|
-
key: "switchPlayPause",
|
|
87
|
-
value: function(l) {
|
|
88
|
-
var r = this.player;
|
|
89
|
-
this.emitUserAction(l, "switch_play_pause", {
|
|
90
|
-
props: "paused",
|
|
91
|
-
from: r.paused,
|
|
92
|
-
to: !r.paused
|
|
93
|
-
}), r.ended ? r.duration !== 1 / 0 && r.duration > 0 && r.replay() : r.paused ? r.play() : r.pause();
|
|
94
|
-
}
|
|
95
|
-
}, {
|
|
96
|
-
key: "onContextmenu",
|
|
97
|
-
value: function(l) {
|
|
98
|
-
l = l || window.event, l.preventDefault && l.preventDefault(), l.stopPropagation ? l.stopPropagation() : (l.returnValue = !1, l.cancelBubble = !0);
|
|
99
|
-
}
|
|
100
|
-
}, {
|
|
101
|
-
key: "destroy",
|
|
102
|
-
value: function() {
|
|
103
|
-
var l = this, r = this.player, n = r.video, i = r.root;
|
|
104
|
-
this.clickTimer && clearTimeout(this.clickTimer), i.removeEventListener("click", this.onVideoClick, !1), i.removeEventListener("dblclick", this.onVideoDblClick, !1), n.removeEventListener("contextmenu", this.onContextmenu, !1), Object.keys(f).map(function(a) {
|
|
105
|
-
i.removeEventListener(a, l[f[a]], !1);
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
}], [{
|
|
109
|
-
key: "pluginName",
|
|
110
|
-
get: function() {
|
|
111
|
-
return "pc";
|
|
112
|
-
}
|
|
113
|
-
}, {
|
|
114
|
-
key: "defaultConfig",
|
|
115
|
-
get: function() {
|
|
116
|
-
return {};
|
|
117
|
-
}
|
|
118
|
-
}]), c;
|
|
119
|
-
})(b);
|
|
120
|
-
export {
|
|
121
|
-
B as default
|
|
122
|
-
};
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
import { inherits as S, createSuper as x, classCallCheck as A, defineProperty as L, assertThisInitialized as M, createClass as N, get as g, getPrototypeOf as b, toConsumableArray as k } from "../../_virtual/_rollupPluginBabelHelpers.js";
|
|
2
|
-
import d from "../../utils/util.js";
|
|
3
|
-
import { COMPLETE as _, PIP_CHANGE as C } from "../../events.js";
|
|
4
|
-
import { POSITIONS as W } from "../../plugin/plugin.js";
|
|
5
|
-
import { xgIconTips as T } from "../common/iconTools.js";
|
|
6
|
-
import D from "../common/iconPlugin.js";
|
|
7
|
-
import O from "../assets/pipIcon.js";
|
|
8
|
-
import R from "../assets/pipIconExit.js";
|
|
9
|
-
var u = {
|
|
10
|
-
PIP: "picture-in-picture",
|
|
11
|
-
INLINE: "inline",
|
|
12
|
-
FULLSCREEN: "fullscreen"
|
|
13
|
-
}, K = /* @__PURE__ */ (function(w) {
|
|
14
|
-
S(a, w);
|
|
15
|
-
var m = x(a);
|
|
16
|
-
function a() {
|
|
17
|
-
var i;
|
|
18
|
-
A(this, a);
|
|
19
|
-
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
20
|
-
t[r] = arguments[r];
|
|
21
|
-
return i = m.call.apply(m, [this].concat(t)), L(M(i), "switchPIP", function(n) {
|
|
22
|
-
if (!i.isPIPAvailable())
|
|
23
|
-
return !1;
|
|
24
|
-
n.stopPropagation && n.stopPropagation(), i.isPip ? (i.exitPIP(), i.emitUserAction(n, "change_pip", {
|
|
25
|
-
props: "pip",
|
|
26
|
-
from: !0,
|
|
27
|
-
to: !1
|
|
28
|
-
}), i.setAttr("data-state", "normal")) : i.player.media.readyState === 4 && (i.requestPIP(), i.emitUserAction(n, "change_pip", {
|
|
29
|
-
props: "pip",
|
|
30
|
-
from: !1,
|
|
31
|
-
to: !0
|
|
32
|
-
}), i.setAttr("data-state", "pip"));
|
|
33
|
-
}), i;
|
|
34
|
-
}
|
|
35
|
-
return N(a, [{
|
|
36
|
-
key: "beforeCreate",
|
|
37
|
-
value: function(e) {
|
|
38
|
-
typeof e.player.config.pip == "boolean" && (e.config.showIcon = e.player.config.pip);
|
|
39
|
-
}
|
|
40
|
-
}, {
|
|
41
|
-
key: "afterCreate",
|
|
42
|
-
value: function() {
|
|
43
|
-
var e = this;
|
|
44
|
-
this.isPIPAvailable() && (g(b(a.prototype), "afterCreate", this).call(this), this.pMode = u.INLINE, this.initPipEvents(), this.config.showIcon && this.initIcons(), this.once(_, function() {
|
|
45
|
-
e.config.showIcon && (d.removeClass(e.find(".xgplayer-icon"), "xg-icon-disable"), e.bind("click", e.switchPIP));
|
|
46
|
-
}));
|
|
47
|
-
}
|
|
48
|
-
}, {
|
|
49
|
-
key: "registerIcons",
|
|
50
|
-
value: function() {
|
|
51
|
-
return {
|
|
52
|
-
pipIcon: {
|
|
53
|
-
icon: O,
|
|
54
|
-
class: "xg-get-pip"
|
|
55
|
-
},
|
|
56
|
-
pipIconExit: {
|
|
57
|
-
icon: R,
|
|
58
|
-
class: "xg-exit-pip"
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
}, {
|
|
63
|
-
key: "initIcons",
|
|
64
|
-
value: function() {
|
|
65
|
-
var e = this.icons;
|
|
66
|
-
this.appendChild(".xgplayer-icon", e.pipIcon), this.appendChild(".xgplayer-icon", e.pipIconExit);
|
|
67
|
-
}
|
|
68
|
-
}, {
|
|
69
|
-
key: "initPipEvents",
|
|
70
|
-
value: function() {
|
|
71
|
-
var e = this, t = this.player;
|
|
72
|
-
this.leavePIPCallback = function() {
|
|
73
|
-
var r = t.paused;
|
|
74
|
-
d.setTimeout(e, function() {
|
|
75
|
-
!r && t.mediaPlay();
|
|
76
|
-
}, 0), !r && t.mediaPlay(), e.setAttr("data-state", "normal"), e.pipWindow = null, t.emit(C, !1);
|
|
77
|
-
}, this.enterPIPCallback = function(r) {
|
|
78
|
-
t.emit(C, !0), r != null && r.pictureInPictureWindow && (e.pipWindow = r.pictureInPictureWindow), e.setAttr("data-state", "pip");
|
|
79
|
-
}, this.onWebkitpresentationmodechanged = function(r) {
|
|
80
|
-
var n = t.media.webkitPresentationMode;
|
|
81
|
-
e.pMode === u.FULLSCREEN && n !== u.FULLSCREEN && t.onFullscreenChange(null, !1), e.pMode = n, n === u.PIP ? e.enterPIPCallback(r) : n === u.INLINE && e.leavePIPCallback(r);
|
|
82
|
-
}, t.media && (t.media.addEventListener("enterpictureinpicture", this.enterPIPCallback), t.media.addEventListener("leavepictureinpicture", this.leavePIPCallback), a.checkWebkitSetPresentationMode(t.media) && t.media.addEventListener("webkitpresentationmodechanged", this.onWebkitpresentationmodechanged));
|
|
83
|
-
}
|
|
84
|
-
}, {
|
|
85
|
-
key: "copyStyleIntoPiPWindow",
|
|
86
|
-
value: function(e) {
|
|
87
|
-
var t = k(document.styleSheets).map(function(n) {
|
|
88
|
-
try {
|
|
89
|
-
return k(n.cssRules).map(function(s) {
|
|
90
|
-
return s.cssText;
|
|
91
|
-
}).join("");
|
|
92
|
-
} catch {
|
|
93
|
-
var o = document.createElement("link");
|
|
94
|
-
o.rel = "stylesheet", o.type = n.type, o.media = n.media, o.href = n.href, e.document.head.appendChild(o);
|
|
95
|
-
}
|
|
96
|
-
return "";
|
|
97
|
-
}).filter(Boolean).join(`
|
|
98
|
-
`), r = document.createElement("style");
|
|
99
|
-
r.textContent = t, e.document.head.appendChild(r);
|
|
100
|
-
}
|
|
101
|
-
}, {
|
|
102
|
-
key: "requestPIP",
|
|
103
|
-
value: function() {
|
|
104
|
-
var e = this, t = this.player, r = this.playerConfig, n = this.config;
|
|
105
|
-
if (!(!this.isPIPAvailable() || this.isPip))
|
|
106
|
-
try {
|
|
107
|
-
var o = r.poster;
|
|
108
|
-
if (o && (t.media.poster = d.typeOf(o) === "String" ? o : o.poster), n.preferDocument && this.isDocPIPAvailable()) {
|
|
109
|
-
var s = {};
|
|
110
|
-
if (n.width && n.height)
|
|
111
|
-
s.width = n.width, s.height = n.height;
|
|
112
|
-
else {
|
|
113
|
-
var v = t.root.getBoundingClientRect();
|
|
114
|
-
s.width = v.width, s.height = v.height;
|
|
115
|
-
}
|
|
116
|
-
documentPictureInPicture.requestWindow(s).then(function(l) {
|
|
117
|
-
var E = n.docPiPNode, p = n.docPiPStyle;
|
|
118
|
-
e.enterPIPCallback();
|
|
119
|
-
var c = E || t.root, P = c.parentElement, I = c.previousSibling, y = c.nextSibling;
|
|
120
|
-
e.copyStyleIntoPiPWindow(l);
|
|
121
|
-
var f = document.createElement("style");
|
|
122
|
-
if (f.append("body{padding:0; margin:0;}"), p) {
|
|
123
|
-
var h = "";
|
|
124
|
-
typeof p == "string" ? h = p : typeof p == "function" && (h = p.call(n)), h && f.append(h);
|
|
125
|
-
} else c === t.root && f.append(`
|
|
126
|
-
.xgplayer{width: 100%!important; height: 100%!important;}
|
|
127
|
-
`);
|
|
128
|
-
l.document.head.append(f), l.document.body.append(c), l.addEventListener("pagehide", function(q) {
|
|
129
|
-
P && (y ? P.insertBefore(c, y) : I ? P.insertBefore(c, I.nextSibling) : P.appendChild(c)), e.leavePIPCallback();
|
|
130
|
-
}, {
|
|
131
|
-
once: !0
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
} else a.checkWebkitSetPresentationMode(t.media) ? t.media.webkitSetPresentationMode("picture-in-picture") : t.media.requestPictureInPicture();
|
|
135
|
-
return !0;
|
|
136
|
-
} catch (l) {
|
|
137
|
-
return console.error("requestPiP", l), !1;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}, {
|
|
141
|
-
key: "exitPIP",
|
|
142
|
-
value: function() {
|
|
143
|
-
var e = this.player;
|
|
144
|
-
try {
|
|
145
|
-
if (this.isPIPAvailable() && this.isPip) {
|
|
146
|
-
var t;
|
|
147
|
-
this.isDocPIPAvailable() && (t = documentPictureInPicture) !== null && t !== void 0 && t.window ? documentPictureInPicture.window.close() : a.checkWebkitSetPresentationMode(e.media) ? e.media.webkitSetPresentationMode("inline") : document.exitPictureInPicture();
|
|
148
|
-
}
|
|
149
|
-
return !0;
|
|
150
|
-
} catch (r) {
|
|
151
|
-
return console.error("exitPIP", r), !1;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}, {
|
|
155
|
-
key: "isPip",
|
|
156
|
-
get: function() {
|
|
157
|
-
var e, t = this.player;
|
|
158
|
-
return !!(this.isDocPIPAvailable() && (e = documentPictureInPicture) !== null && e !== void 0 && e.window) || document.pictureInPictureElement && document.pictureInPictureElement === t.media || t.media.webkitPresentationMode === u.PIP;
|
|
159
|
-
}
|
|
160
|
-
}, {
|
|
161
|
-
key: "isPIPAvailable",
|
|
162
|
-
value: function() {
|
|
163
|
-
var e = this.player.media, t = d.typeOf(document.pictureInPictureEnabled) === "Boolean" ? document.pictureInPictureEnabled : !1;
|
|
164
|
-
return t && (d.typeOf(e.disablePictureInPicture) === "Boolean" && !e.disablePictureInPicture || e.webkitSupportsPresentationMode && d.typeOf(e.webkitSetPresentationMode) === "Function") || this.isDocPIPAvailable();
|
|
165
|
-
}
|
|
166
|
-
}, {
|
|
167
|
-
key: "isDocPIPAvailable",
|
|
168
|
-
value: function() {
|
|
169
|
-
return "documentPictureInPicture" in window && /^(https|file)/.test(location.protocol);
|
|
170
|
-
}
|
|
171
|
-
}, {
|
|
172
|
-
key: "destroy",
|
|
173
|
-
value: function() {
|
|
174
|
-
g(b(a.prototype), "destroy", this).call(this);
|
|
175
|
-
var e = this.player;
|
|
176
|
-
e.media.removeEventListener("enterpictureinpicture", this.enterPIPCallback), e.media.removeEventListener("leavepictureinpicture", this.leavePIPCallback), a.checkWebkitSetPresentationMode(e.media) && e.media.removeEventListener("webkitpresentationmodechanged", this.onWebkitpresentationmodechanged), this.exitPIP(), this.unbind("click", this.btnClick);
|
|
177
|
-
}
|
|
178
|
-
}, {
|
|
179
|
-
key: "render",
|
|
180
|
-
value: function() {
|
|
181
|
-
if (!(!this.config.showIcon || !this.isPIPAvailable()))
|
|
182
|
-
return `<xg-icon class="xgplayer-pip">
|
|
183
|
-
<div class="xgplayer-icon xg-icon-disable">
|
|
184
|
-
</div>
|
|
185
|
-
`.concat(T(this, "PIP", this.playerConfig.isHideTips), `
|
|
186
|
-
</xg-icon>`);
|
|
187
|
-
}
|
|
188
|
-
}], [{
|
|
189
|
-
key: "pluginName",
|
|
190
|
-
get: function() {
|
|
191
|
-
return "pip";
|
|
192
|
-
}
|
|
193
|
-
}, {
|
|
194
|
-
key: "defaultConfig",
|
|
195
|
-
get: function() {
|
|
196
|
-
return {
|
|
197
|
-
position: W.CONTROLS_RIGHT,
|
|
198
|
-
index: 6,
|
|
199
|
-
showIcon: !1,
|
|
200
|
-
preferDocument: !1,
|
|
201
|
-
width: void 0,
|
|
202
|
-
height: void 0,
|
|
203
|
-
docPiPNode: void 0,
|
|
204
|
-
docPiPStyle: void 0
|
|
205
|
-
};
|
|
206
|
-
}
|
|
207
|
-
}, {
|
|
208
|
-
key: "checkWebkitSetPresentationMode",
|
|
209
|
-
value: function(e) {
|
|
210
|
-
return typeof e.webkitSetPresentationMode == "function";
|
|
211
|
-
}
|
|
212
|
-
}]), a;
|
|
213
|
-
})(D);
|
|
214
|
-
export {
|
|
215
|
-
K as default
|
|
216
|
-
};
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { inherits as h, createSuper as y, classCallCheck as d, defineProperty as g, assertThisInitialized as l, createClass as m, get as c, getPrototypeOf as p } from "../../_virtual/_rollupPluginBabelHelpers.js";
|
|
2
|
-
import { PLAY as v, PAUSE as P, ERROR as I, EMPTIED as C } from "../../events.js";
|
|
3
|
-
import { POSITIONS as x } from "../../plugin/plugin.js";
|
|
4
|
-
import { xgIconTips as T } from "../common/iconTools.js";
|
|
5
|
-
import _ from "../common/iconPlugin.js";
|
|
6
|
-
import k from "../assets/play.js";
|
|
7
|
-
import S from "../assets/pause.js";
|
|
8
|
-
var z = /* @__PURE__ */ (function(u) {
|
|
9
|
-
h(a, u);
|
|
10
|
-
var o = y(a);
|
|
11
|
-
function a() {
|
|
12
|
-
var e;
|
|
13
|
-
d(this, a);
|
|
14
|
-
for (var t = arguments.length, s = new Array(t), i = 0; i < t; i++)
|
|
15
|
-
s[i] = arguments[i];
|
|
16
|
-
return e = o.call.apply(o, [this].concat(s)), g(l(e), "btnClick", function(r) {
|
|
17
|
-
r.preventDefault(), r.stopPropagation();
|
|
18
|
-
var f = l(e), n = f.player;
|
|
19
|
-
return e.emitUserAction(r, "switch_play_pause", {
|
|
20
|
-
prop: "paused",
|
|
21
|
-
from: n.paused,
|
|
22
|
-
to: !n.paused
|
|
23
|
-
}), n.ended ? n.replay() : n.paused ? (n.play(), e.animate(!1)) : (n.pause(), e.animate(!0)), !1;
|
|
24
|
-
}), e;
|
|
25
|
-
}
|
|
26
|
-
return m(a, [{
|
|
27
|
-
key: "afterCreate",
|
|
28
|
-
value: function() {
|
|
29
|
-
c(p(a.prototype), "afterCreate", this).call(this);
|
|
30
|
-
var t = this.config;
|
|
31
|
-
t.disable || (this.initIcons(), this.bind(["touchend", "click"], this.btnClick), this.listenEvents(), this.animate(!0));
|
|
32
|
-
}
|
|
33
|
-
}, {
|
|
34
|
-
key: "listenEvents",
|
|
35
|
-
value: function() {
|
|
36
|
-
var t = this, s = this.player;
|
|
37
|
-
this.on([v, P, I, C], function() {
|
|
38
|
-
t.animate(s.paused);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
}, {
|
|
42
|
-
key: "registerIcons",
|
|
43
|
-
value: function() {
|
|
44
|
-
return {
|
|
45
|
-
play: {
|
|
46
|
-
icon: k,
|
|
47
|
-
class: "xg-icon-play"
|
|
48
|
-
},
|
|
49
|
-
pause: {
|
|
50
|
-
icon: S,
|
|
51
|
-
class: "xg-icon-pause"
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
}, {
|
|
56
|
-
key: "initIcons",
|
|
57
|
-
value: function() {
|
|
58
|
-
var t = this.icons;
|
|
59
|
-
this.appendChild(".xgplayer-icon", t.play), this.appendChild(".xgplayer-icon", t.pause);
|
|
60
|
-
}
|
|
61
|
-
}, {
|
|
62
|
-
key: "animate",
|
|
63
|
-
value: function(t) {
|
|
64
|
-
if (this.player) {
|
|
65
|
-
var s = this.i18nKeys, i = this.find(".xg-tips");
|
|
66
|
-
t ? (this.setAttr("data-state", "pause"), i && this.changeLangTextKey(i, s.PLAY_TIPS)) : (this.setAttr("data-state", "play"), i && this.changeLangTextKey(i, s.PAUSE_TIPS));
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}, {
|
|
70
|
-
key: "destroy",
|
|
71
|
-
value: function() {
|
|
72
|
-
c(p(a.prototype), "destroy", this).call(this), this.unbind(["touchend", "click"], this.btnClick);
|
|
73
|
-
}
|
|
74
|
-
}, {
|
|
75
|
-
key: "render",
|
|
76
|
-
value: function() {
|
|
77
|
-
if (!this.config.disable)
|
|
78
|
-
return `<xg-icon class="xgplayer-play">
|
|
79
|
-
<div class="xgplayer-icon">
|
|
80
|
-
</div>
|
|
81
|
-
`.concat(T(this, "PLAY_TIPS", this.playerConfig.isHideTips), `
|
|
82
|
-
</xg-icon>`);
|
|
83
|
-
}
|
|
84
|
-
}], [{
|
|
85
|
-
key: "pluginName",
|
|
86
|
-
get: function() {
|
|
87
|
-
return "play";
|
|
88
|
-
}
|
|
89
|
-
}, {
|
|
90
|
-
key: "defaultConfig",
|
|
91
|
-
get: function() {
|
|
92
|
-
return {
|
|
93
|
-
position: x.CONTROLS_LEFT,
|
|
94
|
-
index: 0,
|
|
95
|
-
disable: !1
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
}]), a;
|
|
99
|
-
})(_);
|
|
100
|
-
export {
|
|
101
|
-
z as default
|
|
102
|
-
};
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { inherits as u, createSuper as h, classCallCheck as f, defineProperty as p, assertThisInitialized as s, createClass as d } from "../../_virtual/_rollupPluginBabelHelpers.js";
|
|
2
|
-
import g from "../../utils/sniffer.js";
|
|
3
|
-
import { PLAYNEXT as a } from "../../events.js";
|
|
4
|
-
import y, { POSITIONS as x } from "../../plugin/plugin.js";
|
|
5
|
-
import { xgIconTips as v } from "../common/iconTools.js";
|
|
6
|
-
import m from "../assets/playNext.js";
|
|
7
|
-
var _ = /* @__PURE__ */ (function(l) {
|
|
8
|
-
u(n, l);
|
|
9
|
-
var c = h(n);
|
|
10
|
-
function n(t) {
|
|
11
|
-
var e;
|
|
12
|
-
return f(this, n), e = c.call(this, t), p(s(e), "playNext", function(i) {
|
|
13
|
-
var o = s(e), r = o.player;
|
|
14
|
-
i.preventDefault(), i.stopPropagation(), e.idx + 1 < e.config.urlList.length ? (e.idx++, e.nextHandler(e.config.urlList[e.idx], e.idx), r.emit(a, e.idx + 1)) : (e.nextHandler(), r.emit(a));
|
|
15
|
-
}), e.idx = -1, e;
|
|
16
|
-
}
|
|
17
|
-
return d(n, [{
|
|
18
|
-
key: "afterCreate",
|
|
19
|
-
value: function() {
|
|
20
|
-
!this.config.urlList || this.config.urlList.length === 0 || (this.appendChild(".xgplayer-icon", this.icons.playNext), this.initEvents());
|
|
21
|
-
}
|
|
22
|
-
}, {
|
|
23
|
-
key: "registerIcons",
|
|
24
|
-
value: function() {
|
|
25
|
-
return {
|
|
26
|
-
playNext: m
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
}, {
|
|
30
|
-
key: "initEvents",
|
|
31
|
-
value: function() {
|
|
32
|
-
this.nextHandler = this.hook("nextClick", this.changeSrc);
|
|
33
|
-
var e = g.device === "mobile" ? "touchend" : "click";
|
|
34
|
-
this.bind(e, this.playNext), this.show();
|
|
35
|
-
}
|
|
36
|
-
}, {
|
|
37
|
-
key: "changeSrc",
|
|
38
|
-
value: function(e) {
|
|
39
|
-
var i = this.player;
|
|
40
|
-
e && (i.pause(), i.currentTime = 0, i.switchURL ? i.switchURL(e) : i.src = e, i.config.url = e, i.play());
|
|
41
|
-
}
|
|
42
|
-
}, {
|
|
43
|
-
key: "destroy",
|
|
44
|
-
value: function() {
|
|
45
|
-
this.unbind(["touchend", "click"], this.playNext);
|
|
46
|
-
}
|
|
47
|
-
}, {
|
|
48
|
-
key: "render",
|
|
49
|
-
value: function() {
|
|
50
|
-
if (!(!this.config.urlList || this.config.urlList.length === 0))
|
|
51
|
-
return `
|
|
52
|
-
<xg-icon class="xgplayer-playnext">
|
|
53
|
-
<div class="xgplayer-icon">
|
|
54
|
-
</div>
|
|
55
|
-
`.concat(v(this, "PLAYNEXT_TIPS", this.playerConfig.isHideTips), `
|
|
56
|
-
</xg-icon>
|
|
57
|
-
`);
|
|
58
|
-
}
|
|
59
|
-
}], [{
|
|
60
|
-
key: "pluginName",
|
|
61
|
-
get: function() {
|
|
62
|
-
return "playNext";
|
|
63
|
-
}
|
|
64
|
-
}, {
|
|
65
|
-
key: "defaultConfig",
|
|
66
|
-
get: function() {
|
|
67
|
-
return {
|
|
68
|
-
position: x.CONTROLS_LEFT,
|
|
69
|
-
index: 1,
|
|
70
|
-
url: null,
|
|
71
|
-
urlList: []
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
}]), n;
|
|
75
|
-
})(y);
|
|
76
|
-
export {
|
|
77
|
-
_ as default
|
|
78
|
-
};
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { inherits as g, createSuper as k, classCallCheck as v, createClass as d, objectSpread2 as u, get as n, getPrototypeOf as c } from "../../_virtual/_rollupPluginBabelHelpers.js";
|
|
2
|
-
import { RATE_CHANGE as x } from "../../events.js";
|
|
3
|
-
import { POSITIONS as b } from "../../plugin/plugin.js";
|
|
4
|
-
import f from "../common/optionsIcon.js";
|
|
5
|
-
var _ = /* @__PURE__ */ (function(h) {
|
|
6
|
-
g(a, h);
|
|
7
|
-
var p = k(a);
|
|
8
|
-
function a(r) {
|
|
9
|
-
var t;
|
|
10
|
-
return v(this, a), t = p.call(this, r), t.curRate = 1, t;
|
|
11
|
-
}
|
|
12
|
-
return d(a, [{
|
|
13
|
-
key: "beforeCreate",
|
|
14
|
-
value: function(t) {
|
|
15
|
-
var i = t.player.config.playbackRate, s = i ? Array.isArray(i) ? i : t.config.list : [];
|
|
16
|
-
Array.isArray(s) && (t.config.list = s.map(function(e) {
|
|
17
|
-
return typeof e == "number" ? e = {
|
|
18
|
-
rate: e,
|
|
19
|
-
text: "".concat(e, "x")
|
|
20
|
-
} : !e.text && e.rate && (e.text = "".concat(e.rate, "x")), e;
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
}, {
|
|
24
|
-
key: "afterCreate",
|
|
25
|
-
value: function() {
|
|
26
|
-
var t = this;
|
|
27
|
-
n(c(a.prototype), "afterCreate", this).call(this), this.on(x, function() {
|
|
28
|
-
t.curValue !== t.player.playbackRate && t.renderItemList();
|
|
29
|
-
}), this.renderItemList();
|
|
30
|
-
}
|
|
31
|
-
}, {
|
|
32
|
-
key: "show",
|
|
33
|
-
value: function(t) {
|
|
34
|
-
!this.config.list || this.config.list.length === 0 || n(c(a.prototype), "show", this).call(this);
|
|
35
|
-
}
|
|
36
|
-
}, {
|
|
37
|
-
key: "onItemClick",
|
|
38
|
-
value: function(t, i) {
|
|
39
|
-
n(c(a.prototype), "onItemClick", this).call(this, t, i);
|
|
40
|
-
var s = t.delegateTarget, e = Number(s.getAttribute("rate"));
|
|
41
|
-
if (!e || e === this.curValue)
|
|
42
|
-
return !1;
|
|
43
|
-
var o = {
|
|
44
|
-
playbackRate: {
|
|
45
|
-
from: this.player.playbackRate,
|
|
46
|
-
to: e
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
this.emitUserAction(t, "change_rate", {
|
|
50
|
-
props: o
|
|
51
|
-
}), this.curValue = e, this.player.playbackRate = e;
|
|
52
|
-
}
|
|
53
|
-
}, {
|
|
54
|
-
key: "renderItemList",
|
|
55
|
-
value: function() {
|
|
56
|
-
var t = this, i = this.player.playbackRate || 1;
|
|
57
|
-
this.curValue = i;
|
|
58
|
-
var s = -1, e = this.config.list.map(function(o, y) {
|
|
59
|
-
var l = {
|
|
60
|
-
rate: o.rate
|
|
61
|
-
};
|
|
62
|
-
return l.rate === i && (l.selected = !0, s = y), l.showText = t.getTextByLang(o), l;
|
|
63
|
-
});
|
|
64
|
-
n(c(a.prototype), "renderItemList", this).call(this, e, s);
|
|
65
|
-
}
|
|
66
|
-
}, {
|
|
67
|
-
key: "changeCurrentText",
|
|
68
|
-
value: function() {
|
|
69
|
-
if (!this.isIcons) {
|
|
70
|
-
var t = this.config.list, i = this.curIndex < t.length ? this.curIndex : 0, s = t[i], e = "";
|
|
71
|
-
!s || this.curIndex < 0 ? e = "".concat(this.player.playbackRate, "x") : e = this.getTextByLang(s, "iconText"), this.find(".icon-text").innerHTML = e;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}, {
|
|
75
|
-
key: "destroy",
|
|
76
|
-
value: function() {
|
|
77
|
-
n(c(a.prototype), "destroy", this).call(this);
|
|
78
|
-
}
|
|
79
|
-
}], [{
|
|
80
|
-
key: "pluginName",
|
|
81
|
-
get: function() {
|
|
82
|
-
return "playbackRate";
|
|
83
|
-
}
|
|
84
|
-
}, {
|
|
85
|
-
key: "defaultConfig",
|
|
86
|
-
get: function() {
|
|
87
|
-
return u(u({}, f.defaultConfig), {}, {
|
|
88
|
-
position: b.CONTROLS_RIGHT,
|
|
89
|
-
index: 4,
|
|
90
|
-
list: [2, 1.5, 1, 0.75, 0.5],
|
|
91
|
-
className: "xgplayer-playbackrate",
|
|
92
|
-
isShowIcon: !0,
|
|
93
|
-
hidePortrait: !1
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
}]), a;
|
|
97
|
-
})(f);
|
|
98
|
-
export {
|
|
99
|
-
_ as default
|
|
100
|
-
};
|