@shijiu/jsview-vue 2.3.0 → 2.3.728-alpha.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/bin/browser/BrowserAudio.vue.mjs +4 -1
- package/bin/browser/BrowserJsvLatex.vue.mjs +9 -90
- package/bin/jsview-vue.mjs +13913 -8048
- package/bin/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +39 -3
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +4 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +225 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +225 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.d.ts +5 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +25 -2
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +7 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +28 -4
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +2 -1
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +2 -0
- package/bin/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +1 -1
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +70 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +24 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +19 -0
- package/bin/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +42 -0
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +5 -4
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +2 -1
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +12 -4
- package/bin/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +9 -7
- package/bin/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +27 -14
- package/bin/types/utils/JsViewEngineWidget/index.d.ts +3 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +14 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +3 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +1 -0
- package/bin/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +4 -1
- package/bin/types/utils/JsViewPlugin/JsvLatex/version.d.mts +29 -2
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +107 -4
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +62 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +94 -18
- package/bin/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +611 -0
- package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue.d.ts → JsvPlayerBrowser.vue.d.ts} +24 -23
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +77 -20
- package/bin/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +77 -20
- package/bin/types/utils/JsViewVueTools/BlobApi.d.ts +38 -0
- package/bin/types/utils/JsViewVueTools/FeatureActive.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/ForgeHandles.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +6 -0
- package/bin/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +44 -1
- package/bin/types/utils/JsViewVueTools/JsvTextTools.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +43 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +1 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +54 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +13 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +5 -3
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +88 -25
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/Store.d.ts +2 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/Texture.d.ts +4 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +49 -0
- package/bin/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +2 -0
- package/bin/types/utils/JsViewVueTools/index.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +12 -22
- package/bin/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +12 -22
- package/bin/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +11 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.d.ts +101 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.d.ts +61 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.d.ts +58 -0
- package/bin/types/utils/JsViewVueWidget/JsvDomRenderer/index.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +151 -18
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +2 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.d.ts +16 -0
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +2 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +55 -12
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +178 -35
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +119 -17
- package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +9 -3
- package/bin/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +4 -1
- package/bin/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +22 -1
- package/bin/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +1 -1
- package/bin/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +2 -0
- package/bin/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +5 -2
- package/bin/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +1 -1
- package/bin/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +39 -1
- package/bin/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +1 -0
- package/bin/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +72 -0
- package/bin/types/utils/JsViewVueWidget/JsvSoundPool.d.ts +26 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +112 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +142 -0
- package/bin/types/utils/JsViewVueWidget/JsvSwiper/index.d.ts +3 -1
- package/bin/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +15 -3
- package/bin/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +22 -96
- package/bin/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +6 -0
- package/bin/types/utils/JsViewVueWidget/{JsvPosterDiv.vue.d.ts → TypesDiv/JsvPosterDiv.vue.d.ts} +9 -0
- package/bin/types/utils/JsViewVueWidget/{JsvPosterImage.vue.d.ts → TypesDiv/JsvPosterImage.vue.d.ts} +15 -3
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +72 -0
- package/bin/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +90 -0
- package/bin/types/utils/JsViewVueWidget/index.d.ts +8 -4
- package/dist/types/utils/JsViewEngineWidget/CheckType.d.ts +7 -0
- package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue.d.ts +106 -0
- package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.d.ts +128 -0
- package/dist/types/utils/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +25 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Const.d.ts +23 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/DebugFrame.vue.d.ts +12 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/DebugTools.d.ts +9 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Dispatcher.d.ts +16 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +412 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +751 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.d.ts +9 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +82 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/PageUpdater.d.ts +31 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +80 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Slide.d.ts +25 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/SlotComponent.vue.d.ts +52 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/TaskManager.d.ts +69 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/TokenGenerator.d.ts +4 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/Utils.d.ts +6 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/VisibleInfo.d.ts +20 -0
- package/dist/types/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.d.ts +21 -0
- package/dist/types/utils/JsViewEngineWidget/RangeModel.d.ts +166 -0
- package/dist/types/utils/JsViewEngineWidget/RectUtils.d.ts +61 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue.d.ts +74 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.d.ts +28 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.d.ts +23 -0
- package/dist/types/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.d.ts +46 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.d.ts +42 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/Fence.d.ts +62 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +21 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +103 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +28 -0
- package/dist/types/utils/JsViewEngineWidget/TemplateParser/index.d.ts +8 -0
- package/dist/types/utils/JsViewEngineWidget/WidgetCommon.d.ts +160 -0
- package/dist/types/utils/JsViewEngineWidget/index.d.ts +21 -0
- package/dist/types/utils/JsViewPlugin/JsvAccount/JsvAccount.d.ts +46 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/AudioProxy.d.ts +6 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue.d.ts +22 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue.d.ts +212 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/CheckType.d.ts +6 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/Events.d.ts +17 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudio.vue.d.ts +22 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudioBridgeProxy.d.ts +12 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/JsvAudioProxy.vue.d.ts +6 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/PluginLoader.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/ScreenLockManager.d.ts +9 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/index.d.ts +7 -0
- package/dist/types/utils/JsViewPlugin/JsvAudio/version.d.mts +14 -0
- package/{bin/types/utils/JsViewPlugin/JsvLatex → dist/types/utils/JsViewPlugin/JsvAudio}/version.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.d.ts +0 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue.d.ts +17 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/Color.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/GetVersion.d.ts +18 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatex.vue.d.ts +46 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.d.ts +8 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue.d.ts +9 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/PluginLoader.d.ts +5 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/index.d.ts +8 -0
- package/dist/types/utils/JsViewPlugin/JsvLatex/version.d.mts +40 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/AckEventDefine.d.ts +10 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/GetVersion.d.ts +13 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvMedia.d.ts +523 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.d.ts +119 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue.d.ts +664 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-0.9.vue.d.ts +45 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser-wasm.vue.d.ts +611 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue.d.ts +597 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/index-0.9.d.ts +415 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/index.d.ts +415 -0
- package/dist/types/utils/JsViewPlugin/JsvPlayer/version.d.mts +14 -0
- package/dist/types/utils/JsViewPlugin/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueTools/BlobApi.d.ts +42 -0
- package/dist/types/utils/JsViewVueTools/ConstSymbol.d.ts +6 -0
- package/dist/types/utils/JsViewVueTools/DebugContentShellJBridge.d.ts +10 -0
- package/dist/types/utils/JsViewVueTools/DebugTool.d.ts +12 -0
- package/dist/types/utils/JsViewVueTools/DefaultKeyMap.d.ts +14 -0
- package/dist/types/utils/JsViewVueTools/FeatureActive.d.ts +15 -0
- package/dist/types/utils/JsViewVueTools/ForgeConstDefine.d.ts +15 -0
- package/dist/types/utils/JsViewVueTools/ForgeHandles.d.ts +11 -0
- package/dist/types/utils/JsViewVueTools/JsvDynamicCssStyle.d.ts +33 -0
- package/dist/types/utils/JsViewVueTools/JsvDynamicKeyFrames.d.ts +40 -0
- package/dist/types/utils/JsViewVueTools/JsvFederationTools.d.ts +20 -0
- package/dist/types/utils/JsViewVueTools/JsvHashHistory.d.ts +20 -0
- package/dist/types/utils/JsViewVueTools/JsvImpactTracer.d.ts +44 -0
- package/dist/types/utils/JsViewVueTools/JsvInteractionMode.d.ts +10 -0
- package/dist/types/utils/JsViewVueTools/JsvPerformance.d.ts +9 -0
- package/dist/types/utils/JsViewVueTools/JsvPreDownloader.d.ts +55 -0
- package/dist/types/utils/JsViewVueTools/JsvRefTaker.d.ts +52 -0
- package/dist/types/utils/JsViewVueTools/JsvRuntimeBridge.d.ts +378 -0
- package/dist/types/utils/JsViewVueTools/JsvStyleClass.d.ts +35 -0
- package/dist/types/utils/JsViewVueTools/JsvStyleSheetsDeclarer.d.ts +35 -0
- package/dist/types/utils/JsViewVueTools/JsvTextTools.d.ts +66 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureDefines.d.ts +10 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureLoadTool.d.ts +67 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.d.ts +47 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.d.ts +99 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.d.ts +20 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.d.ts +58 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.d.ts +113 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +17 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +170 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/Store.d.ts +16 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/Texture.d.ts +31 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.d.ts +53 -0
- package/dist/types/utils/JsViewVueTools/JsvTextureStore/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueTools/NinePatchHelper.d.ts +25 -0
- package/dist/types/utils/JsViewVueTools/TextureManagerTools.d.ts +11 -0
- package/dist/types/utils/JsViewVueTools/TypeCheckAndSet.d.ts +7 -0
- package/dist/types/utils/JsViewVueTools/index.d.ts +29 -0
- package/dist/types/utils/JsViewVueWidget/Jsv3dDiv.vue.d.ts +124 -0
- package/dist/types/utils/JsViewVueWidget/Jsv3dStage.vue.d.ts +148 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/ActorControlBase.d.ts +35 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMove.vue.d.ts +102 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/JsvActorMoveControl.d.ts +37 -0
- package/dist/types/utils/JsViewVueWidget/JsvActorMove/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +15 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +77 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic/index.d.ts +54 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +13 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +44 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvApic2/index.d.ts +17 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.d.ts +13 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/BrowserApicLib.d.ts +3 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/GifData.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/NormalLoopTool.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/PartLoopTool.d.ts +12 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/SingleLoopTool.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.d.ts +20 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/WebpData.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvApic/JsvCommonLoopToolBase.d.ts +26 -0
- package/dist/types/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue.d.ts +74 -0
- package/dist/types/utils/JsViewVueWidget/JsvClipDiv/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvConnectLine/ArcLineManager.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue.d.ts +34 -0
- package/dist/types/utils/JsViewVueWidget/JsvConnectLine/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvDashPath.vue.d.ts +33 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.d.ts +105 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.d.ts +65 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.d.ts +62 -0
- package/dist/types/utils/JsViewVueWidget/JsvDomRenderer/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue.d.ts +109 -0
- package/dist/types/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue.d.ts +108 -0
- package/dist/types/utils/JsViewVueWidget/JsvDriftScope/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvEnableRenderBreak.vue.d.ts +61 -0
- package/dist/types/utils/JsViewVueWidget/JsvFilterView.vue.d.ts +91 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue.d.ts +106 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue.d.ts +100 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue.d.ts +108 -0
- package/dist/types/utils/JsViewVueWidget/JsvFlexCell/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +63 -0
- package/dist/types/utils/JsViewVueWidget/JsvFragShaderView/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActionRefObject.d.ts +4 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +228 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ActorState.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +20 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue.d.ts +106 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/JsvFreeMoveActor.vue.d.ts +107 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/KeepFlags.d.ts +11 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.d.ts +12 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +118 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +244 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +169 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.d.ts +22 -0
- package/dist/types/utils/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +24 -0
- package/dist/types/utils/JsViewVueWidget/JsvGrid.vue.d.ts +241 -0
- package/dist/types/utils/JsViewVueWidget/JsvHole.d.ts +19 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/Cursor.vue.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/EditViewOperator.d.ts +52 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/EditVisibleArea.d.ts +30 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/JsvInput.vue.d.ts +98 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/SharedDefine.d.ts +17 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/SystemTextTools.d.ts +20 -0
- package/dist/types/utils/JsViewVueWidget/JsvInput/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +32 -0
- package/dist/types/utils/JsViewVueWidget/JsvLine/LineManager.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvLine/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvMarquee.vue.d.ts +33 -0
- package/dist/types/utils/JsViewVueWidget/JsvMaskClipDiv.vue.d.ts +101 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/CommonType.d.ts +1 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/Constant.d.ts +13 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/DataTree.d.ts +75 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/Geometry.d.ts +72 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue.d.ts +235 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/index.d.ts +5 -0
- package/dist/types/utils/JsViewVueWidget/JsvMindMap/rtree.d.ts +44 -0
- package/dist/types/utils/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +93 -0
- package/dist/types/utils/JsViewVueWidget/JsvNinePatch.vue.d.ts +55 -0
- package/dist/types/utils/JsViewVueWidget/JsvPieChart.vue.d.ts +30 -0
- package/dist/types/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue.d.ts +68 -0
- package/dist/types/utils/JsViewVueWidget/JsvPreload/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvProgressBar.vue.d.ts +31 -0
- package/dist/types/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue.d.ts +85 -0
- package/dist/types/utils/JsViewVueWidget/JsvRadarChart.vue.d.ts +37 -0
- package/dist/types/utils/JsViewVueWidget/JsvRipple/Constant.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvRipple/JsvRipple.vue.d.ts +129 -0
- package/dist/types/utils/JsViewVueWidget/JsvRipple/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvScaleTextBox.vue.d.ts +28 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +278 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue.d.ts +157 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/ScrollSymbol.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvScrollBox/index.d.ts +7 -0
- package/dist/types/utils/JsViewVueWidget/JsvSector.vue.d.ts +30 -0
- package/dist/types/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue.d.ts +76 -0
- package/dist/types/utils/JsViewVueWidget/JsvSoundPool.d.ts +114 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpray/JsvSpray.vue.d.ts +58 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.d.ts +18 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue.d.ts +70 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteLoader.vue.d.ts +85 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.d.ts +15 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/SpriteController.d.ts +21 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/index.d.ts +9 -0
- package/dist/types/utils/JsViewVueWidget/JsvSpriteAnim/sAnimationToken.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/Indicator.vue.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue.d.ts +141 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue.d.ts +248 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue.d.ts +181 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/Indicator.vue.d.ts +16 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue.d.ts +121 -0
- package/dist/types/utils/JsViewVueWidget/JsvSwiper3D/index.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextBox.vue.d.ts +121 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/CommonType.d.ts +6 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue.d.ts +38 -0
- package/dist/types/utils/JsViewVueWidget/JsvTextureAnim/index.d.ts +8 -0
- package/dist/types/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue.d.ts +109 -0
- package/dist/types/utils/JsViewVueWidget/JsvVideo.vue.d.ts +23 -0
- package/dist/types/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue.d.ts +109 -0
- package/dist/types/utils/JsViewVueWidget/JsvVisibleSensor/index.d.ts +88 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue.d.ts +94 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue.d.ts +115 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue.d.ts +94 -0
- package/dist/types/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue.d.ts +115 -0
- package/dist/types/utils/JsViewVueWidget/index.d.ts +53 -0
- package/dist/types/utils/index.d.ts +8 -0
- package/dist/utils/browser/BrowserAudio.vue.mjs +258 -0
- package/dist/utils/browser/BrowserJsvLatex.vue.mjs +64 -0
- package/dist/utils/export-sfc.mjs +12 -0
- package/dist/utils/index.mjs +29000 -0
- package/dist/utils/jsview-vue-common.mjs +39 -0
- package/package.json +1 -1
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusBlock.vue +32 -16
- package/utils/JsViewEngineWidget/JsvFocus/JsvFocusHub.ts +51 -3
- package/utils/JsViewEngineWidget/MetroWidget/Const.ts +5 -0
- package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +193 -89
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +347 -145
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetDebugger.ts +15 -0
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +1603 -588
- package/utils/JsViewEngineWidget/MetroWidget/PageUpdater.ts +41 -23
- package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +146 -38
- package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +39 -26
- package/utils/JsViewEngineWidget/MetroWidget/Utils.ts +6 -0
- package/utils/JsViewEngineWidget/MetroWidget/WidgetRectInfo.ts +2 -1
- package/utils/JsViewEngineWidget/RectUtils.js +1 -1
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavProvider.vue +62 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationAlgorithm.ts +260 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigationNode.ts +32 -0
- package/utils/JsViewEngineWidget/SpatialNavigator/SpatialNavigator.ts +236 -0
- package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +434 -264
- package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +101 -27
- package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +54 -5
- package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +109 -41
- package/utils/JsViewEngineWidget/WidgetCommon.ts +29 -7
- package/utils/JsViewEngineWidget/index.ts +7 -2
- package/utils/JsViewPlugin/JsvAudio/BrowserAudio/BrowserAudio.vue +4 -0
- package/utils/JsViewPlugin/JsvAudio/BrowserAudio/JsvSystemAudio.vue +13 -13
- package/utils/JsViewPlugin/JsvLatex/BrowserDomBuilder.js +46 -46
- package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +54 -41
- package/utils/JsViewPlugin/JsvLatex/Color.ts +104 -39
- package/utils/JsViewPlugin/JsvLatex/GetVersion.js +65 -0
- package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +71 -17
- package/utils/JsViewPlugin/JsvLatex/JsvLatexBridgeProxy.js +10 -0
- package/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue +14 -2
- package/utils/JsViewPlugin/JsvLatex/PluginLoader.js +63 -31
- package/utils/JsViewPlugin/JsvLatex/version.mjs +26 -13
- package/utils/JsViewPlugin/JsvPlayer/GetVersion.js +2 -1
- package/utils/JsViewPlugin/JsvPlayer/JsvMedia.js +402 -23
- package/utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.js +100 -0
- package/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue +363 -468
- package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer.vue → JsvPlayerBrowser-wasm.vue} +61 -11
- package/utils/JsViewPlugin/JsvPlayer/JsvPlayerBrowser.vue +511 -0
- package/utils/JsViewPlugin/JsvPlayer/index-0.9.js +52 -10
- package/utils/JsViewPlugin/JsvPlayer/index.js +58 -9
- package/utils/JsViewPlugin/JsvPlayer/package.json +8 -0
- package/utils/JsViewVueTools/BlobApi.ts +55 -0
- package/utils/JsViewVueTools/FeatureActive.ts +5 -1
- package/utils/JsViewVueTools/ForgeHandles.ts +8 -2
- package/utils/JsViewVueTools/JsvInteractionMode.js +16 -0
- package/utils/JsViewVueTools/JsvPreDownloader.ts +2 -2
- package/utils/JsViewVueTools/JsvRuntimeBridge.js +125 -8
- package/utils/JsViewVueTools/JsvTextTools.ts +12 -2
- package/utils/JsViewVueTools/JsvTextureStore/BitPalette/BitPalette.ts +180 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CommandList.ts +1 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/DrawHelper.ts +304 -0
- package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/Path.ts +38 -0
- package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +30 -12
- package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +157 -51
- package/utils/JsViewVueTools/JsvTextureStore/Store.ts +33 -21
- package/utils/JsViewVueTools/JsvTextureStore/Texture.ts +56 -41
- package/utils/JsViewVueTools/JsvTextureStore/TextureBuilder.ts +92 -0
- package/utils/JsViewVueTools/JsvTextureStore/index.js +2 -0
- package/utils/JsViewVueTools/index.js +3 -1
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +111 -86
- package/utils/JsViewVueWidget/JsvDashPath.vue +150 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/JsViewHtmlToVNodesOptions.ts +212 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/JsvDomRenderer.ts +146 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/htmlToVNodes.ts +748 -0
- package/utils/JsViewVueWidget/JsvDomRenderer/index.ts +1 -0
- package/utils/JsViewVueWidget/JsvDragBox/JsvDragBox.vue +10 -1
- package/utils/JsViewVueWidget/JsvEnableRenderBreak.vue +6 -0
- package/utils/JsViewVueWidget/JsvFlexCell/JsvFlexDiv.vue +11 -5
- package/utils/JsViewVueWidget/JsvFlexCell/JsvFullScrAdjust.vue +3 -1
- package/utils/JsViewVueWidget/JsvFlexCell/JsvScreenFlex.vue +3 -1
- package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +24 -8
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +269 -26
- package/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.ts +2 -1
- package/utils/JsViewVueWidget/JsvFreeMoveActor/CmdTypes.ts +24 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.ts +3 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue → JsvFreeMoveActor.vue} +5 -1
- package/utils/JsViewVueWidget/JsvFreeMoveActor/NexusNode.ts +10 -2
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +223 -100
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +245 -64
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +95 -29
- package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +27 -5
- package/utils/JsViewVueWidget/JsvInput/EditViewOperator.ts +11 -2
- package/utils/JsViewVueWidget/JsvInput/JsvInput.vue +30 -2
- package/utils/JsViewVueWidget/JsvLine/JsvLine.vue +24 -7
- package/utils/JsViewVueWidget/JsvMarquee.vue +1 -1
- package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +12 -10
- package/utils/JsViewVueWidget/JsvNinePatch.vue +22 -12
- package/utils/JsViewVueWidget/JsvPieChart.vue +93 -70
- package/utils/JsViewVueWidget/JsvPreload/JsvPreload.vue +34 -31
- package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +2 -1
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +56 -25
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +11 -11
- package/utils/JsViewVueWidget/JsvSector.vue +66 -28
- package/utils/JsViewVueWidget/JsvSmoothSlideContainer.vue +108 -0
- package/utils/JsViewVueWidget/JsvSoundPool.js +75 -12
- package/utils/JsViewVueWidget/JsvSwiper/JsvSmoothSwiper.vue +543 -0
- package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue +3 -3
- package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper2.vue +644 -0
- package/utils/JsViewVueWidget/JsvSwiper/index.js +3 -1
- package/utils/JsViewVueWidget/JsvTextBox.vue +30 -1
- package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +315 -299
- package/utils/JsViewVueWidget/JsvTouchModeSwitcher.vue +56 -14
- package/utils/JsViewVueWidget/JsvVisibleSensor/JsvVisibleSensor.vue +8 -6
- package/utils/JsViewVueWidget/TypesDiv/JsvPosterDiv.vue +54 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvPosterImage.vue +88 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvSmartDiv.vue +177 -0
- package/utils/JsViewVueWidget/TypesDiv/JsvSmartImage.vue +267 -0
- package/utils/JsViewVueWidget/index.js +9 -3
- package/utils/JsViewPlugin/JsvLatex/version.js +0 -24
- package/utils/JsViewVueWidget/JsvPosterDiv.vue +0 -56
- package/utils/JsViewVueWidget/JsvPosterImage.vue +0 -105
- /package/bin/types/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue.d.ts → JsvPlayerBrowser-0.9.vue.d.ts} +0 -0
- /package/bin/types/utils/JsViewVueWidget/JsvFreeMoveActor/{FreeMoveActor.vue.d.ts → JsvFreeMoveActor.vue.d.ts} +0 -0
- /package/utils/JsViewPlugin/JsvPlayer/{BrowserJsvPlayer-0.9.vue → JsvPlayerBrowser-0.9.vue} +0 -0
|
@@ -0,0 +1,523 @@
|
|
|
1
|
+
export class JsvMediaVideo extends JsvMedia {
|
|
2
|
+
constructor(hole_id: any, window_mode: any, player_type: any, key: any, background: any, design_map_width: any, decode_type: any);
|
|
3
|
+
/**
|
|
4
|
+
* 属性,string类型,设置海报地址,未实现。
|
|
5
|
+
*/
|
|
6
|
+
set poster(arg: any);
|
|
7
|
+
set videoAspectRatio(arg: any);
|
|
8
|
+
/**
|
|
9
|
+
* 属性,string类型,设置和读取显示模式。
|
|
10
|
+
* full(fill模式)表示拉升至充满显示区域;origin(contain模式)表示原始比例缩放至宽或高和显示区域相等(不超过显示区域);x:y表示按照指定比例显示。
|
|
11
|
+
*/
|
|
12
|
+
get videoAspectRatio(): any;
|
|
13
|
+
/**
|
|
14
|
+
* 属性,int类型,只读,获取视频的宽。
|
|
15
|
+
*/
|
|
16
|
+
get videoHeight(): any;
|
|
17
|
+
/**
|
|
18
|
+
* 属性,int类型,只读,获取视频的宽。
|
|
19
|
+
*/
|
|
20
|
+
get videoWidth(): any;
|
|
21
|
+
}
|
|
22
|
+
export class JsvMediaAudio extends JsvMedia {
|
|
23
|
+
constructor(key: any, design_map_width: any);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* listener回调处理中参数信息的说明:
|
|
27
|
+
* 插件加载状态回调。
|
|
28
|
+
* 回调函数的参数定义如下:
|
|
29
|
+
* object结构,包含status和code两个变量:
|
|
30
|
+
* 1)开始加载插件:
|
|
31
|
+
* obj.status=1;
|
|
32
|
+
* obj.code表示是否是首次加载:1:首次加载,此时插件需要经历下载、解压等过程,用时较长,可以考虑给用户相关提示;
|
|
33
|
+
* 2:非首次加载,此时插件加载过程很短,可以不用出现用户提示界面。
|
|
34
|
+
* 2)插件加载中,加载新插件时上报此状态完整状态,加载旧插件时,只上报dexload完成状态(code=3):
|
|
35
|
+
* obj.status=2;
|
|
36
|
+
* obj.code表示加载过程中的状态:1:插件下载进度,目前只上报下载结束;2:插件解压完成;3:插件dexload完成。
|
|
37
|
+
* obj.progress:当code=1时(下载进度),progress为实际下载进度,百分制,目前只有100(100%,完成状态)。
|
|
38
|
+
* 3)插件加载成功
|
|
39
|
+
* obj.status=3;
|
|
40
|
+
* obj.code无效。
|
|
41
|
+
* 4)插件加载失败
|
|
42
|
+
* obj.status=4;
|
|
43
|
+
* obj.code表示插件加载失败原因:1:插件管理模块不存在(未真正开始加载插件),下面的负值为插件管理模块返回的错误;
|
|
44
|
+
* -1:请求插件加载的参数不正确,需要确认构造的PluginInfo内容;
|
|
45
|
+
* -2:未找到插件更新链接;
|
|
46
|
+
* -3:插件HTTP请求失败;
|
|
47
|
+
* -4:插件下载失败;
|
|
48
|
+
* -5:插件MD5校验失败;
|
|
49
|
+
* -6:解压失败;
|
|
50
|
+
* -7:文件大小为0;
|
|
51
|
+
* -8:未找到dex文件;
|
|
52
|
+
* -9:dex文件load失败;
|
|
53
|
+
* -10:插件初始化失败;
|
|
54
|
+
* -11:取消插件下载;
|
|
55
|
+
* -12:版本检查失败,比如已经加载了其他版本,此版本不能再加载。
|
|
56
|
+
*
|
|
57
|
+
* 备注:不管插件加载处于什么状态,都可以正常使用播放器组件,播放器对象在插件未加载完成的情况下,会把相关状态保存,等完成加载后再自动下发。
|
|
58
|
+
*/
|
|
59
|
+
export function globalLoadJsvPlayerPlugin(listener: any): void;
|
|
60
|
+
/**
|
|
61
|
+
* listener回调处理中参数信息的说明:
|
|
62
|
+
* 插件加载状态回调。
|
|
63
|
+
* 回调函数的参数定义如下:
|
|
64
|
+
* object结构,包含status和code两个变量:
|
|
65
|
+
* 1)开始预加载插件:
|
|
66
|
+
* obj.status=1;
|
|
67
|
+
* obj.code=0,未使用。
|
|
68
|
+
* 2)插件预下载中:
|
|
69
|
+
* obj.status=2;
|
|
70
|
+
* obj.code表示加载过程中的状态:1:插件下载进度,目前只上报下载结束;2:插件解压完成。
|
|
71
|
+
* obj.progress:当code=1时(下载进度),progress为实际下载进度,百分制,目前只有100(100%,完成状态)。
|
|
72
|
+
* 3)插件预下载成功
|
|
73
|
+
* obj.status=3;
|
|
74
|
+
* obj.code表示是否新下载插件:1:新预下载插件。
|
|
75
|
+
* 2:插件已下载成功,本次完成解压动作。
|
|
76
|
+
* 3:插件已存在。
|
|
77
|
+
* 4)插件预加载失败
|
|
78
|
+
* obj.status=4;
|
|
79
|
+
* obj.code表示插件加载失败原因:1:插件管理模块不存在(未真正开始预加载插件),下面的负值为插件管理模块返回的错误;
|
|
80
|
+
* 2:已经预加载了一个插件,不允许预加载第二次,即使版本不相同;
|
|
81
|
+
* 3:本地已经存在了此版本的插件;
|
|
82
|
+
* -1:请求插件加载的参数不正确;
|
|
83
|
+
* -2:未找到插件更新链接;
|
|
84
|
+
* -3:插件HTTP请求失败;
|
|
85
|
+
* -4:插件下载失败;
|
|
86
|
+
* -5:插件MD5校验失败;
|
|
87
|
+
* -6:解压失败;
|
|
88
|
+
* -7:文件大小为0;
|
|
89
|
+
* -8:未找到dex文件;
|
|
90
|
+
*
|
|
91
|
+
* @param {Number} versionCode 插件版本号
|
|
92
|
+
* @param {String} url 插件下载链接,为空时自动构造下载链接
|
|
93
|
+
* @param {String} md5 插件文件的md5值
|
|
94
|
+
* @param {listener} 状态监听函数
|
|
95
|
+
* @returns
|
|
96
|
+
*/
|
|
97
|
+
export function globalPreLoadJsvPlayerPlugin(versionCode: number, url: string, md5: string, listener: any): void;
|
|
98
|
+
export function globalLoadSetOperator(operator: any): void;
|
|
99
|
+
/**
|
|
100
|
+
* 根据key查询是否已经有Media对象了,如果已经有了,就不需要再创建,而是调用setRef接口将当前的对象索引+1。
|
|
101
|
+
* @param {string} key Player索引。
|
|
102
|
+
* @returns {object} Media对象。
|
|
103
|
+
*/
|
|
104
|
+
export function findMediaObjectByKey(key: string): object;
|
|
105
|
+
/**
|
|
106
|
+
* 获取播放器能力集,当前主要是对4K多播放器的支持以及H265解码能力的支持。
|
|
107
|
+
* @return {string} json string,能力集JSON数据格式。
|
|
108
|
+
*/
|
|
109
|
+
export function getJsvPlayerCapabilitySet(): string;
|
|
110
|
+
/**
|
|
111
|
+
* 设置指定视频类型的同时使用播放器个数,会check硬件是否支持系统设置的播放器个数,最好在小程序初始化的时候,使用播放器资源之前调用。
|
|
112
|
+
* @param {string} videoType,对于H264,是video/avc,对于H265,是video/hevc,其他可以参考相关定义。
|
|
113
|
+
* @param {int} num,需要使用的播放器个数。
|
|
114
|
+
* @return {String} json string,对设置的播放器个数的支持状态,返回的总数不会大于设置的个数(实际硬件能力可能大于设置的个数)。
|
|
115
|
+
* 支持三个属性:1、total:总的播放器个数;2、hardware:硬解播放器个数;3、软解播放器个数,如果硬解播放器个数不满足需求,会根据cpu能力确定是否提供软解播放器。
|
|
116
|
+
* */
|
|
117
|
+
export function setJsvPlayerNumber(videoType: string, num: int): string;
|
|
118
|
+
export function setLogLevel(level: any): void;
|
|
119
|
+
export function logFatal(message: any): void;
|
|
120
|
+
export function logError(message: any): void;
|
|
121
|
+
export function logWarning(message: any): void;
|
|
122
|
+
export function logDebug(message: any): void;
|
|
123
|
+
export function logTrace(message: any): void;
|
|
124
|
+
export function setJsvPlayerDebugMode(mode: any): void;
|
|
125
|
+
export function getJsvPlayerRunningNum(): any;
|
|
126
|
+
/**
|
|
127
|
+
* 设置运营商信息,主要用于不同运营商特殊的配置
|
|
128
|
+
* @param {*} operator 运营商信息。
|
|
129
|
+
*/
|
|
130
|
+
export function setOperator(operator: any): void;
|
|
131
|
+
/**
|
|
132
|
+
* 设置组播网络连通性探测频道
|
|
133
|
+
* @param {Number} mixNo 探测的频道ID
|
|
134
|
+
*/
|
|
135
|
+
export function setProbeMulticastChannelID(mixNo: number): void;
|
|
136
|
+
/**
|
|
137
|
+
* 设置组播网络连通性探测地址
|
|
138
|
+
* @param {String} url 探测的组播地址,需是igmp协议格式,如igmp://224.0.0.1:xxxx
|
|
139
|
+
*/
|
|
140
|
+
export function setProbeMulticastUrl(url: string): void;
|
|
141
|
+
/**
|
|
142
|
+
* 注册视频流重试时的监听接口,用于上报log使用。当listener = null时,相当于注销监听。同时只能有一个全局监听接口,后注册的会覆盖之前注册的。
|
|
143
|
+
* 如果通过组件注册了播放器此事件的监听,不会通过此接口通知。
|
|
144
|
+
* @param {function name(data) {
|
|
145
|
+
let obj = JSON.parse(data);
|
|
146
|
+
let old_src = obj["oldSrc"]; //String类型,报错的url
|
|
147
|
+
let new_src = obj["newSrc"]; //String类型,重新尝试的URL,如果oldSrc正常播放了,会继续使用oldSrc,否则看是否有备份URL,对于直播,会使用时移地址作为备份URL。
|
|
148
|
+
let same_src = obj["sameSrc"]; //boolean类型,old_src是否和new_src相等。
|
|
149
|
+
let video_type = obj["videoType"]; //播放场景。1是点播场景;2是直播场景,3是直播时移场景;4是直播回看场景。
|
|
150
|
+
}}
|
|
151
|
+
*/
|
|
152
|
+
export function registerStreamChangedListener(listener: any): void;
|
|
153
|
+
/**
|
|
154
|
+
* 设置移动卡花事件上报相关参数
|
|
155
|
+
* @param {string} param json格式
|
|
156
|
+
*/
|
|
157
|
+
export function setMobileEventParam(param: string): void;
|
|
158
|
+
/**
|
|
159
|
+
* 设置stbid
|
|
160
|
+
* @param {string} stbid 机顶盒stbid
|
|
161
|
+
*/
|
|
162
|
+
export function setStbID(stbid: string): void;
|
|
163
|
+
export function setGlobalEventListener(listener: any): void;
|
|
164
|
+
declare class JsvMedia extends JsvBaseMedia {
|
|
165
|
+
}
|
|
166
|
+
declare class JsvBaseMedia {
|
|
167
|
+
constructor(type: any, window_mode: any, hole_id: any, player_type: any, key: any, background: any, design_map_width: any, decode_type: any);
|
|
168
|
+
state: {
|
|
169
|
+
muted: boolean;
|
|
170
|
+
paused: boolean;
|
|
171
|
+
repeat: boolean;
|
|
172
|
+
enablePlayer: boolean;
|
|
173
|
+
autoplay: boolean;
|
|
174
|
+
startTime: number;
|
|
175
|
+
currentTime: number;
|
|
176
|
+
aspectRatio: string;
|
|
177
|
+
keepLastFrame: boolean;
|
|
178
|
+
timeUpdateLess: boolean;
|
|
179
|
+
rate: number;
|
|
180
|
+
volume: null;
|
|
181
|
+
chromaKey: null;
|
|
182
|
+
audioTrack: number;
|
|
183
|
+
videoDeltaTime: number;
|
|
184
|
+
};
|
|
185
|
+
local: {
|
|
186
|
+
currentTime: number;
|
|
187
|
+
playableDuration: number;
|
|
188
|
+
duration: number;
|
|
189
|
+
isRenderable: boolean;
|
|
190
|
+
paused: boolean;
|
|
191
|
+
};
|
|
192
|
+
type: any;
|
|
193
|
+
playerCreate: boolean;
|
|
194
|
+
key: any;
|
|
195
|
+
windowMode: any;
|
|
196
|
+
background: any;
|
|
197
|
+
holeId: any;
|
|
198
|
+
holeIdModify: any;
|
|
199
|
+
playerType: any;
|
|
200
|
+
designMapWidth: any;
|
|
201
|
+
decodeType: any;
|
|
202
|
+
channelID: number;
|
|
203
|
+
ref: number;
|
|
204
|
+
appVisible: boolean;
|
|
205
|
+
eventReport: boolean;
|
|
206
|
+
currentEventStatus: number;
|
|
207
|
+
frameRateLimit: boolean;
|
|
208
|
+
_onEvent: (event_str: any) => void;
|
|
209
|
+
_onVisibilityChangeCallBack: () => void;
|
|
210
|
+
srcList: any[];
|
|
211
|
+
/**
|
|
212
|
+
* 私有接口,外部不需要调用此接口。
|
|
213
|
+
*/
|
|
214
|
+
buildPlatformInstance(): void;
|
|
215
|
+
/**
|
|
216
|
+
* 私有接口,外部不需要调用此接口。
|
|
217
|
+
*/
|
|
218
|
+
initPlayer(): void;
|
|
219
|
+
initParams(): void;
|
|
220
|
+
onVisibilityChangeCallBack(): void;
|
|
221
|
+
/**
|
|
222
|
+
* 设置可见状态,在可见状态发生变化时,释放或者启动流。
|
|
223
|
+
* @param {boolean} visible true:可见,false,不可见。
|
|
224
|
+
*/
|
|
225
|
+
setVisibility(visible: boolean): void;
|
|
226
|
+
/**
|
|
227
|
+
* 当使用一个已有的Media对象时,需要通过这个接口追加一个ref,在调用releasePlayer接口释放时,会ref--,当ref==0才真正释放播放器实例。
|
|
228
|
+
*/
|
|
229
|
+
setRef(): void;
|
|
230
|
+
/**
|
|
231
|
+
* 释放播放器,一般不需要应用逻辑调用,在JsvPlayer高阶组件unmounted处理时调用此接口释放。
|
|
232
|
+
*/
|
|
233
|
+
releasePlayer(): void;
|
|
234
|
+
setHoleID(hole_id: any): void;
|
|
235
|
+
/**
|
|
236
|
+
* 当full模式且播放器模式是2(jsvplayer),如果是H2芯片,需要修改动画帧率到30帧,否则会导致播放器音画不同步。
|
|
237
|
+
* @param {boolean} enable 开关,视频起播时打开;视频停止,或者播放器释放时,关闭。
|
|
238
|
+
*/
|
|
239
|
+
changeFrameRate(enable: boolean): void;
|
|
240
|
+
needReportEvent(event: any): boolean;
|
|
241
|
+
/**
|
|
242
|
+
* 私有接口,外部不需要调用此接口。
|
|
243
|
+
*/
|
|
244
|
+
onEvent(event_str: any): void;
|
|
245
|
+
/**
|
|
246
|
+
* 属性,boolean类型,不支持读取,true表示自动播放。
|
|
247
|
+
*/
|
|
248
|
+
set autoplay(arg: any);
|
|
249
|
+
set currentTime(arg: any);
|
|
250
|
+
/**
|
|
251
|
+
* 属性,double类型,当前时间,单位秒,set用于seek操作(起播后)或者设置起播时间(起播前),get用于读取当前时间。
|
|
252
|
+
*/
|
|
253
|
+
get currentTime(): any;
|
|
254
|
+
/**
|
|
255
|
+
* 属性,double类型,总时长,单位秒,只支持读取。
|
|
256
|
+
*/
|
|
257
|
+
get duration(): any;
|
|
258
|
+
/**
|
|
259
|
+
* 属性,boolean类型,不支持读取,true表示循环播放。
|
|
260
|
+
*/
|
|
261
|
+
set loop(arg: any);
|
|
262
|
+
set muted(arg: any);
|
|
263
|
+
/**
|
|
264
|
+
* 属性,boolean类型,设置和获取静音状态。
|
|
265
|
+
*/
|
|
266
|
+
get muted(): any;
|
|
267
|
+
/**
|
|
268
|
+
* 属性,boolean类型,当前pause状态,只支持读取。
|
|
269
|
+
*/
|
|
270
|
+
get paused(): any;
|
|
271
|
+
set playbackRate(arg: any);
|
|
272
|
+
/**
|
|
273
|
+
* 属性,float类型,设置或者读取倍速播放,通常的值是0.5、0.75、1.0、1.25、1.5、2.0、3.0。
|
|
274
|
+
*/
|
|
275
|
+
get playbackRate(): any;
|
|
276
|
+
set preload(arg: "none" | "auto");
|
|
277
|
+
/**
|
|
278
|
+
* 已废弃。
|
|
279
|
+
*/
|
|
280
|
+
get preload(): "none" | "auto";
|
|
281
|
+
/**
|
|
282
|
+
* 属性,string类型,播放地址,不支持读取。
|
|
283
|
+
*/
|
|
284
|
+
set src(arg: any);
|
|
285
|
+
set volume(arg: any);
|
|
286
|
+
/**
|
|
287
|
+
* 属性,float类型,播放器音量,0-1.0,只影响当前播放器实例。
|
|
288
|
+
*/
|
|
289
|
+
get volume(): any;
|
|
290
|
+
/**
|
|
291
|
+
* 属性,float类型,播放器左声道音量,0-1.0。
|
|
292
|
+
*/
|
|
293
|
+
get leftVolume(): any;
|
|
294
|
+
/**
|
|
295
|
+
* 属性,float类型,播放器右声道音量,0-1.0。
|
|
296
|
+
*/
|
|
297
|
+
get rightVolume(): any;
|
|
298
|
+
set startTime(arg: any);
|
|
299
|
+
/**
|
|
300
|
+
* 属性,double类型,起播时间,单位秒,可使用currentTime代替。
|
|
301
|
+
*/
|
|
302
|
+
get startTime(): any;
|
|
303
|
+
/**
|
|
304
|
+
* 属性,double类型,可播放时长,本地缓存的视频时长,只支持读取。
|
|
305
|
+
*/
|
|
306
|
+
get playableDuration(): number;
|
|
307
|
+
/**
|
|
308
|
+
* 属性,boolean类型,true表示关闭timeupdate事件上报。
|
|
309
|
+
*/
|
|
310
|
+
set timeupdateless(arg: any);
|
|
311
|
+
/**
|
|
312
|
+
* 属性,boolean类型,true表示保留最后一帧,false表示不保留。
|
|
313
|
+
*/
|
|
314
|
+
set keepLastFrame(arg: any);
|
|
315
|
+
/**
|
|
316
|
+
* 设置播放地址。
|
|
317
|
+
* @param {string} url 播放地址。
|
|
318
|
+
* @param {String} windowMode 播放器窗口模式。
|
|
319
|
+
* null:使用this.windowMode作为窗口模式。
|
|
320
|
+
* full:观影模式,全屏方式,不建议修改w/h/l/t,视频清晰度/流畅度最佳;
|
|
321
|
+
* resizable:可变窗口模式,可以随意修改w/h/l/t,支持动画效果,视频清晰度/流畅度表现可能不如full模式;
|
|
322
|
+
* pip:画中画模式,只在支持多路硬解的情况下使用,用户画中画的小窗播放,对清晰度/流畅度要求较差,可能会有反交错问题。
|
|
323
|
+
* @param {string} head 网络请求的head信息,可以为NULL。
|
|
324
|
+
* @param {int} type 类型,1表示点播,2表示直播,3表示时移,4表示回看,默认1。
|
|
325
|
+
* @param {double} timeShift 时移时间,只有在type=3时才有效,表示从当前时间时移多长时间,单位秒。
|
|
326
|
+
* @param {int} 分辨率类型 0:unknown或其它;1:标清;2:高清;3:超清(720P);4:蓝光(1080P);5:2K;6:4K;7:8K。
|
|
327
|
+
* @param {int} 用户频道号,只在直播回看状态下需要设置
|
|
328
|
+
*/
|
|
329
|
+
setSrc(url: string, windowMode: string, head: string, type: int, timeShift: double, resolution: any, mixNo: any): void;
|
|
330
|
+
/**
|
|
331
|
+
* 添加短视频播放地址列表,数组格式。
|
|
332
|
+
* @param {array} url_list 播放地址列表,数组格式,[url1, url2, ...]。
|
|
333
|
+
*/
|
|
334
|
+
addSrcList(url_list: array): void;
|
|
335
|
+
removeSrcList(url_list: any): void;
|
|
336
|
+
changeUrl(url: any): void;
|
|
337
|
+
/**
|
|
338
|
+
* 设置音量,可以分别设置左声道和右声道,如果只用左声道,把rightVolume设置为0,如果只使用右声道,把leftVolume设置为0。
|
|
339
|
+
* @param {float} leftVolume 左声道音量,0-1.0
|
|
340
|
+
* @param {float} rightVolume 右声道音量,0-1.0
|
|
341
|
+
*/
|
|
342
|
+
setVolume(leftVolume: float, rightVolume: float): void;
|
|
343
|
+
/**
|
|
344
|
+
* 添加监听事件。
|
|
345
|
+
* @param {string} type 事件类型。
|
|
346
|
+
* @param {callback} listener 事件处理函数。
|
|
347
|
+
*/
|
|
348
|
+
addEventListener(type: string, listener: callback): void;
|
|
349
|
+
/**
|
|
350
|
+
* 重新加载视频流,初始化播放器。
|
|
351
|
+
*/
|
|
352
|
+
load(): void;
|
|
353
|
+
/**
|
|
354
|
+
* 暂停
|
|
355
|
+
*/
|
|
356
|
+
pause(): void;
|
|
357
|
+
/**
|
|
358
|
+
* 播放
|
|
359
|
+
*/
|
|
360
|
+
play(): void;
|
|
361
|
+
/**
|
|
362
|
+
* 获取AudioTrack个数
|
|
363
|
+
* @returns total number of audio track.
|
|
364
|
+
*/
|
|
365
|
+
getAudioTrackCount(): any;
|
|
366
|
+
/**
|
|
367
|
+
* 获取当前使用的audio track
|
|
368
|
+
* @returns the current playing track,-1 is invalid
|
|
369
|
+
*/
|
|
370
|
+
getSelectedAudioTrack(): any;
|
|
371
|
+
/**
|
|
372
|
+
* 选择audio track
|
|
373
|
+
* @param {*} track audio track index
|
|
374
|
+
*/
|
|
375
|
+
selectAudioTrack(track: any): void;
|
|
376
|
+
/**
|
|
377
|
+
* 停止视频流。
|
|
378
|
+
*/
|
|
379
|
+
unload(): void;
|
|
380
|
+
unloadPrivate(): void;
|
|
381
|
+
/**
|
|
382
|
+
* 视频和音频同步时间的差值,当视频比音频快时,设置大于0的时间差值,当视频比音频慢,设置小于0的时间差值,单位为毫秒。播放器会使用视频时间戳+差值去和音频做同步。
|
|
383
|
+
* 只有jsv视频播放器(playerType=2)时支持。
|
|
384
|
+
* @param {int} time 时间差值,单位ms。
|
|
385
|
+
* @returns {int} 0,表示成功;-1,表示失败
|
|
386
|
+
*/
|
|
387
|
+
videoSynTime(time: int): int;
|
|
388
|
+
/**
|
|
389
|
+
* 要求终端访问指定的频道,并立即返回。对由本地设置为跳过的频道,也返回-1。
|
|
390
|
+
* 频道地址为通过 CTCSetConfig 设置的频道列表中的地址:
|
|
391
|
+
* 如频道地址为 igmp://的组播地址,则加入组播频道,播放器开始播放组播频道,并处理相应的时移等功能;
|
|
392
|
+
* 如频道地址为 rtsp://的单播地址,则连接单播频道,播放器开始播放;
|
|
393
|
+
* 如频道地址为 http://的地址,则浏览器直接发起请求,访问该页面。
|
|
394
|
+
* @param {int} mixNo 用户频道号。
|
|
395
|
+
* @returns {int} 0,表示成功;-1:表示频道号无效。
|
|
396
|
+
*/
|
|
397
|
+
joinChannel(mixNo: int): int;
|
|
398
|
+
joinChannelPrivate(mixNo: any): number;
|
|
399
|
+
/**
|
|
400
|
+
* 要求终端离开指定的频道,并立即返回。
|
|
401
|
+
* 如原频道地址为 igmp://的组播地址,则立即离开组播频道,播放器停止播放组播频道,并断开相应的时移连接;
|
|
402
|
+
* 如频道地址为 rtsp://的单播地址,则断开单播频道,播放器停止播放;
|
|
403
|
+
* 如频道地址为 http://的地址,则浏览器不作操作。
|
|
404
|
+
* 【注】:本方法只用于离开通过 joinChannel 方法加入的频道。
|
|
405
|
+
* @returns {int} 0,表示成功;-1:表示频道号无效。
|
|
406
|
+
*/
|
|
407
|
+
leaveChannel(): int;
|
|
408
|
+
leaveChannelPrivate(): number;
|
|
409
|
+
/**
|
|
410
|
+
* 当流停止后,不需要显示最后一帧,调用此接口清除。
|
|
411
|
+
*/
|
|
412
|
+
clearLastFrame(): void;
|
|
413
|
+
/**
|
|
414
|
+
* @return {int} 当前音量,0-100。
|
|
415
|
+
* */
|
|
416
|
+
getGlobalVolume(): int;
|
|
417
|
+
/**
|
|
418
|
+
* 设置系统音量。
|
|
419
|
+
* @param {int} volume 0-100,音量值。
|
|
420
|
+
* @param {int} flags 1表示显示音量调节UI;4表示使用提示音;5表示同时显示音量调节UI和使用提示音。
|
|
421
|
+
* */
|
|
422
|
+
setGlobalVolume(volume: int, flags: int): any;
|
|
423
|
+
/**
|
|
424
|
+
* 调整系统音量,一次设置一个步长。
|
|
425
|
+
* @param {int} direction 1增大音量;-1减小音量。
|
|
426
|
+
* @param {int} flags FLAG_SHOW_UI(1)表示显示音量调节UI;FLAG_PLAY_SOUND(4)表示使用提示音。两个值可以是或的关系。
|
|
427
|
+
* */
|
|
428
|
+
adjustGlobalVolume(direction: int, flags: int): any;
|
|
429
|
+
/**
|
|
430
|
+
* 设置系统静音状态。
|
|
431
|
+
* @param {boolean} status true表示静音,false表示取消静音。
|
|
432
|
+
* @param {int} flags FLAG_SHOW_UI(1)表示显示音量调节UI;FLAG_PLAY_SOUND(4)表示使用提示音。两个值可以是或的关系。android 6.0(包含)以上有效。
|
|
433
|
+
* */
|
|
434
|
+
setGlobalMuted(status: boolean, flags: int): void;
|
|
435
|
+
/**
|
|
436
|
+
* 获取系统静音状态。
|
|
437
|
+
* @return {boolean} true表示静音,false表示非静音。
|
|
438
|
+
* */
|
|
439
|
+
getGlobalMutedStatus(): boolean;
|
|
440
|
+
/**
|
|
441
|
+
* 回到视频的开头。
|
|
442
|
+
*/
|
|
443
|
+
gotoStart(): void;
|
|
444
|
+
/**
|
|
445
|
+
* 到达视频的末尾。
|
|
446
|
+
*/
|
|
447
|
+
gotoEnd(): void;
|
|
448
|
+
/**
|
|
449
|
+
* 获取timeShift状态,包含是否支持时移以及最大时移时间。
|
|
450
|
+
* @returns {JsonObject} 包含两个字段:1、timeShift,boolean类型,true表示支持时移;2、timeShiftLength,int类型,最大时移时长。
|
|
451
|
+
*/
|
|
452
|
+
getTimeShiftInfo(): JsonObject;
|
|
453
|
+
/**
|
|
454
|
+
* 设置时移时间。
|
|
455
|
+
* @param {double} time,值为从当前时间计算向前移动了多长时间,单位秒。
|
|
456
|
+
*/
|
|
457
|
+
setTimeShift(time: double): void;
|
|
458
|
+
/**
|
|
459
|
+
* 设置色度抠像参数,只支持扣绿。
|
|
460
|
+
* 参考格式:{color: 0x30FF30, colorDistance: 0.15, edgeDistance: 0.4, greenOffset: 0.05}
|
|
461
|
+
* @param {string} chromaKey,抠像参数,JSON Object结构,包含的参数如下:
|
|
462
|
+
* color,色值,int类型,为抠图色值范围的中心点,格式为0xRRGGBB。
|
|
463
|
+
* colorDistance,float类型,色域范围,范围0-1.0。
|
|
464
|
+
* edgeDistance,float类型,alpha透明度距离,范围colorDistance-1.0,从colorDistance到edgeDistance的alpha值从1.0-0线性递减。
|
|
465
|
+
* greenOffset,float类型,红蓝差值,范围0-1.0。
|
|
466
|
+
*/
|
|
467
|
+
setChromaKey(chromaKey: string): void;
|
|
468
|
+
setDebugMode(mode: any): any;
|
|
469
|
+
/**
|
|
470
|
+
* 获取是否支持倍速设置,在onCanPlay事件发送以后,通过此接口查询。
|
|
471
|
+
* @returns {boolean} true:支持播放倍速设置;false:不支持播放倍速设置。
|
|
472
|
+
* */
|
|
473
|
+
supportPlaybackRateSet(): boolean;
|
|
474
|
+
/**
|
|
475
|
+
* 获取视频信息,包括配置参数,视频状态,视频格式参数等。
|
|
476
|
+
* @returns {string} 视频信息字符串,为json string,包括config、status、info三个字端,每个字段也是一个json string格式。
|
|
477
|
+
* 1、对于config字段,包含的字段定义如下:
|
|
478
|
+
* 1)如果ConfigType字段值为1,表示是IPTV格式,包括:
|
|
479
|
+
* ChannelURL:频道直播地址;
|
|
480
|
+
* TimeShiftURL:频道时移地址;
|
|
481
|
+
* ChannelID:频道编码,字符串格式;
|
|
482
|
+
* UserChannelID:频道编号,频道名称前的编号;
|
|
483
|
+
* ChannelName:频道名称。
|
|
484
|
+
* 2)如果ConfigType字段值为2,表示JsvPlayer格式,包括:
|
|
485
|
+
* URL:播放地址;
|
|
486
|
+
* Type:视频类型:1表示点播,2表示直播,3表示时移,4表示回看;
|
|
487
|
+
* Head:视频网络请求head;
|
|
488
|
+
* ShiftTime:时移时间,Type==3有效。
|
|
489
|
+
* 3)如果ConfigType字段值为3,表示ctc media格式,包括:
|
|
490
|
+
* MediaURL:媒体播放地址;
|
|
491
|
+
* MediaCode:媒体code;
|
|
492
|
+
* MediaType:媒体类型;
|
|
493
|
+
* TimeShiftUrl:时移地址。
|
|
494
|
+
* 4)ConfigType等于其它值无效。
|
|
495
|
+
* 2、对于status字段,包含的字段定义如下:
|
|
496
|
+
* URL:实际播放地址;
|
|
497
|
+
* VideoType:视频类型:1表示点播,2表示直播,3表示时移,4表示回看;
|
|
498
|
+
* Duration:视频总时长,单位秒,直播/时移状态时为-1;
|
|
499
|
+
* CurrentTime:当前播放时间,直播/时移为时间戳,单位秒;
|
|
500
|
+
* StartPlayTime:开始播放系统时间,单位秒。
|
|
501
|
+
* 3、对于info字段,包含的字段定义如下:
|
|
502
|
+
* VideoWidth:视频宽度,视频起播后有效;
|
|
503
|
+
* VideoHeight:视频高度,视频起播后有效;
|
|
504
|
+
* AudioTrackNum:音轨个数;
|
|
505
|
+
* Fps:帧率。
|
|
506
|
+
*
|
|
507
|
+
*
|
|
508
|
+
*/
|
|
509
|
+
getVideoInfo(): string;
|
|
510
|
+
/**
|
|
511
|
+
* 私有接口,外部不需要调用此接口。
|
|
512
|
+
*/
|
|
513
|
+
setState(key: any, value: any, type: any): void;
|
|
514
|
+
/**
|
|
515
|
+
* 私有接口,外部不需要调用此接口。
|
|
516
|
+
*/
|
|
517
|
+
getState(key: any): any;
|
|
518
|
+
/**
|
|
519
|
+
* 私有接口,外部不需要调用此接口。
|
|
520
|
+
*/
|
|
521
|
+
getProperty(key: any): any;
|
|
522
|
+
}
|
|
523
|
+
export {};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
export default methods;
|
|
2
|
+
declare namespace methods {
|
|
3
|
+
/**
|
|
4
|
+
* 要求终端访问指定的频道,并立即返回。对由本地设置为跳过的频道,也返回-1。
|
|
5
|
+
* 频道地址为通过 CTCSetConfig 设置的频道列表中的地址:
|
|
6
|
+
* 如频道地址为 igmp://的组播地址,则加入组播频道,播放器开始播放组播频道,并处理相应的时移等功能;
|
|
7
|
+
* 如频道地址为 rtsp://的单播地址,则连接单播频道,播放器开始播放;
|
|
8
|
+
* 如频道地址为 http://的地址,则浏览器直接发起请求,访问该页面。
|
|
9
|
+
* 【注】:在加入一个频道之前已经加入另外一个频道,需先调用 leaveChannel 方法离开前一个频道。
|
|
10
|
+
* @param {int} channelID 用户频道号。
|
|
11
|
+
* @returns {int} 0,表示成功;-1:表示频道号无效。
|
|
12
|
+
*/
|
|
13
|
+
function joinChannel(channelID: int): int;
|
|
14
|
+
/**
|
|
15
|
+
* 要求终端离开指定的频道,并立即返回。
|
|
16
|
+
* 如原频道地址为 igmp://的组播地址,则立即离开组播频道,播放器停止播放组播频道,并断开相应的时移连接;
|
|
17
|
+
* 如频道地址为 rtsp://的单播地址,则断开单播频道,播放器停止播放;
|
|
18
|
+
* 如频道地址为 http://的地址,则浏览器不作操作。
|
|
19
|
+
* 【注】:本方法只用于离开通过 joinChannel 方法加入的频道。
|
|
20
|
+
* @returns {int} 0,表示成功;-1:表示频道号无效。
|
|
21
|
+
*/
|
|
22
|
+
function leaveChannel(): int;
|
|
23
|
+
/**
|
|
24
|
+
* 获取系统音量。
|
|
25
|
+
* @param {int} max_volume 音量范围,即可设置的最大音量值,一般有16和100两种值。
|
|
26
|
+
* @return {int} 当前音量,根据max_volume进行了换算。
|
|
27
|
+
* */
|
|
28
|
+
function getGlobalVolume(max_volume: int): int;
|
|
29
|
+
/**
|
|
30
|
+
* 设置系统音量。
|
|
31
|
+
* @param {int} volume 0-max_volume,音量值。
|
|
32
|
+
* @param {int} flags 1表示显示音量调节UI;4表示使用提示音。两个值可以是或的关系。
|
|
33
|
+
* @param {int} max_volume 音量范围,即可设置的最大音量值,一般有16和100两种值。
|
|
34
|
+
* */
|
|
35
|
+
function setGlobalVolume(volume: int, flags: int, max_volume: int): void;
|
|
36
|
+
/**
|
|
37
|
+
* 调整系统音量,一次设置一个步长。
|
|
38
|
+
* @param {int} direction 1增大音量;-1减小音量。
|
|
39
|
+
* @param {int} flags FLAG_SHOW_UI(1)表示显示音量调节UI;FLAG_PLAY_SOUND(4)表示使用提示音。两个值可以是或的关系。
|
|
40
|
+
* */
|
|
41
|
+
function adjustGlobalVolume(direction: int, flags: int): void;
|
|
42
|
+
/**
|
|
43
|
+
* 设置系统静音状态。
|
|
44
|
+
* @param {boolean} status true表示静音,false表示取消静音。
|
|
45
|
+
* @param {int} flags FLAG_SHOW_UI(1)表示显示音量调节UI;FLAG_PLAY_SOUND(4)表示使用提示音。两个值可以是或的关系。android 6.0(包含)以上有效。
|
|
46
|
+
* */
|
|
47
|
+
function setGlobalMuted(status: boolean, flags: int): void;
|
|
48
|
+
/**
|
|
49
|
+
* 获取系统静音状态。
|
|
50
|
+
* @return {boolean} true表示静音,false表示非静音。
|
|
51
|
+
* */
|
|
52
|
+
function getGlobalMutedStatus(): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* 回到视频的开头。
|
|
55
|
+
*/
|
|
56
|
+
function gotoStart(): void;
|
|
57
|
+
/**
|
|
58
|
+
* 到达视频的末尾。
|
|
59
|
+
*/
|
|
60
|
+
function gotoEnd(): void;
|
|
61
|
+
/**
|
|
62
|
+
* 获取timeShift状态,包含是否支持时移以及最大时移时间。
|
|
63
|
+
* @returns {JsonObject} 包含两个字段:1、timeShift,boolean类型,true表示支持时移;2、timeShiftLength,int类型,最大时移时长。
|
|
64
|
+
*/
|
|
65
|
+
function getTimeShiftInfo(): JsonObject;
|
|
66
|
+
/**
|
|
67
|
+
* 设置时移时间。
|
|
68
|
+
* @param {double} time,值为从当前时间计算向前移动了多长时间,单位秒。
|
|
69
|
+
*/
|
|
70
|
+
function setTimeShift(time: double): void;
|
|
71
|
+
/**
|
|
72
|
+
* 设置播放地址。
|
|
73
|
+
* @param {string} url 播放地址。
|
|
74
|
+
* @param {string} head 网络请求的head信息,可以为NULL。
|
|
75
|
+
* @param {int} type 类型,1表示点播,2表示直播,3表示时移,默认1。
|
|
76
|
+
*/
|
|
77
|
+
function setSrc(url: string, head: string, type: int): void;
|
|
78
|
+
function setHoleID(hole_id: any): void;
|
|
79
|
+
/**
|
|
80
|
+
* 停止视频流。
|
|
81
|
+
*/
|
|
82
|
+
function unload(): void;
|
|
83
|
+
/**
|
|
84
|
+
* 获取当前使用的audio track
|
|
85
|
+
* @returns the current playing track,-1 is invalid
|
|
86
|
+
*/
|
|
87
|
+
function getSelectedAudioTrack(): number;
|
|
88
|
+
/**
|
|
89
|
+
* 选择audio track
|
|
90
|
+
* @param {*} track audio track index
|
|
91
|
+
*/
|
|
92
|
+
function selectAudioTrack(track: any): void;
|
|
93
|
+
/**
|
|
94
|
+
* 当流停止后,不需要显示最后一帧,调用此接口清除。
|
|
95
|
+
*/
|
|
96
|
+
function clearLastFrame(): void;
|
|
97
|
+
/**
|
|
98
|
+
* 设置色度抠像参数,只支持扣绿。
|
|
99
|
+
* 参考格式:{color: 0x30FF30, colorDistance: 0.15, edgeDistance: 0.4, greenOffset: 0.05}
|
|
100
|
+
* @param {JSON object} chromaKey,抠像参数,JSON Object包含的参数如下:
|
|
101
|
+
* color,色值,int类型,为抠图色值范围的中心点,格式为0xRRGGBB。
|
|
102
|
+
* colorDistance,float类型,色域范围,范围0-1.0。
|
|
103
|
+
* edgeDistance,float类型,alpha透明度距离,范围colorDistance-1.0,从colorDistance到edgeDistance的alpha值从1.0-0线性递减。
|
|
104
|
+
* greenOffset,float类型,红蓝差值,范围0-1.0。
|
|
105
|
+
*/
|
|
106
|
+
function setChromaKey(chromaKey: any): void;
|
|
107
|
+
/**
|
|
108
|
+
* 获取是否支持倍速设置,在onCanPlay事件发送以后,通过此接口查询。
|
|
109
|
+
* @returns {boolean} true:支持播放倍速设置;false:不支持播放倍速设置。
|
|
110
|
+
* */
|
|
111
|
+
function supportPlaybackRateSet(): boolean;
|
|
112
|
+
/**
|
|
113
|
+
* 视频和音频同步时间的差值,当视频比音频快时,设置大于0的时间差值,当视频比音频慢,设置小于0的时间差值,单位为毫秒。播放器会使用视频时间戳+差值去和音频做同步。
|
|
114
|
+
* 只有jsv视频播放器(playerType=2)时支持。
|
|
115
|
+
* @param {int} time 时间差值,单位ms。
|
|
116
|
+
* @returns {int} 0,表示成功;-1,表示失败
|
|
117
|
+
*/
|
|
118
|
+
function videoSynTime(time: int): int;
|
|
119
|
+
}
|