This topic provides answers to frequently asked questions (FAQ) about the video editing SDK for web.
What do I do if an error occurs when I add a material to a timeline?
Problem description: An image data error occurs when you add a material to a timeline.
Possible cause: No Cross-Origin Resource Sharing (CORS) rule is created for the Object Storage Service (OSS) bucket in which the media asset resides.
Solution: Log on to the OSS console, find the bucket in which the media asset resides, and then click the bucket name. On the page that appears, choose . On the CORS page, create a CORS rule.

What formats of media assets can be previewed?
Type | Format |
Video | MP4, WEBP, MKV, MOV, and M3U8 |
Audio | MP3 |
Image | JPG, JPEG, PNG, WebP, and GIF |
You can add media assets in other formats to the track area for editing and production, but the assets may fail to be previewed.
What do I do if an error indicating that assets in the current format cannot be previewed appears?
Problem description: After you add a media asset in a format described in the preceding table to a track, the following message appears: "Preview of media assets in this format is not supported on your browser. Your edits take effect during video production."
Possible cause: The file name extension of the media asset is not included in the
titlefield.Solution: Check whether the file name extension of the media asset is returned in the
titlefield after you callgetEditingProjectMaterialsandsearchMedia. If the file name extension of the media asset is not returned in the title field, add the file name extension to the title field.
What do I do if I cannot call methods related to intelligent tasks, such as intelligent speech recognition and text-to-speech tasks?
Intelligent tasks are supported only in the China (Shanghai) and China (Beijing) regions. Check the region in which you call the services.
When I play a video in a timeline, what do I do if a black screen is displayed and only audio is played?
Possible cause: H.265 videos cannot be played on your browser or hardware acceleration is disabled for your browser.
Solution: If you use Chrome to play a video, enter the playback URL of the video in the address bar. If a black screen is displayed and only audio is played, Chrome does not support the playback of H.265 videos. In this case, enter chrome://settings/system in the address bar. On the page that appears, enable hardware acceleration.
Why does the sample code fail to be run?
The sample code is provided only for reference. You must perform the following operations before you run the code:
Specify multiple server API operations. You must include authentication information when you call the API operations. Then, the request is forwarded to Alibaba Cloud.
Develop request logic for the
requestfunction in the sample code. You can also use an open source library such as Axios or the existing request function in your project.Create the panel that appears after users click Add from Media Asset Library. The panel allows users to upload local media files or add media assets from the media asset library.
Create the dialog box that appears after users click Generate. The dialog box allows users to configure output parameters for video production. The configurations are passed to Alibaba Cloud after users click OK.