未验证 提交 9b1be37e 编写于 作者: O openharmony_ci 提交者: Gitee

!2285 修改视频播放多实例用例逻辑

Merge pull request !2285 from FULIZHONG/0309master
...@@ -136,6 +136,8 @@ describe('VideoPlayerFuncPromiseTest', function () { ...@@ -136,6 +136,8 @@ describe('VideoPlayerFuncPromiseTest', function () {
it('SUB_MEDIA_PLAYER_MULTIPLE_0100', 0, async function (done) { it('SUB_MEDIA_PLAYER_MULTIPLE_0100', 0, async function (done) {
await getFd(); await getFd();
setTimeout(async function() { setTimeout(async function() {
surfaceID = globalThis.value;
console.info('case new surfaceID is ' + surfaceID);
let testVideoPlayer1 = null; let testVideoPlayer1 = null;
let testVideoPlayer2 = null; let testVideoPlayer2 = null;
await media.createVideoPlayer().then((video) => { await media.createVideoPlayer().then((video) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册