openharmony 鸿蒙 errorcode-video

2026-08-25 浏览 (1)

Video Component Error Codes

NOTE

This topic describes only module-specific error codes. For details about media error codes, see Media Error Codes. For details about universal error codes, see Universal Error Codes.

103601 Failed to Create the Player

Error Message

Failed to create the media player.

Description

This error code is reported when the player fails to be created.

Possible Causes

The media service does not exist, or the memory is insufficient.

Solution

Destroy the current instance and re-create an instance. If re-creation fails, stop the related operations.

103602 Invalid Video Resource

Error Message

Not a valid source.

Description

This error code is reported when the configured video source is invalid.

Possible Causes

The system cannot locate the resource file, or the resource file is corrupted.

Solution

Ensure that the resource file exists and is intact, and then reset the video source for the Video component.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 arkts-apis-uicontext-contextmenucontroller

openharmony 鸿蒙 errorcode-canvas

openharmony 鸿蒙 capi-oh-nativexcomponent-native-xcomponent-oh-nativexcomponent

openharmony 鸿蒙 errorcode-bindSheet

openharmony 鸿蒙 js-apis-arkui-uiExtension-sys

openharmony 鸿蒙 capi-arkui-accessibility-arkui-accessibilityeventinfo

openharmony 鸿蒙 capi-arkui-rendernodeutils

openharmony 鸿蒙 js-apis-arkui-node

openharmony 鸿蒙 capi-native-node-h

openharmony 鸿蒙 capi-arkui-nativemodule-arkui-listitemswipeactionitem

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/9HjcNC2C