diff --git a/multimedia/media/media_js_standard/AVPlayerTestBase.js b/multimedia/media/media_js_standard/AVPlayerTestBase.js index 31aaeef74723f192b8de454a80c87e24339be57b..415b8448c4fd4a87224478f4a2db311654f9d316 100644 --- a/multimedia/media/media_js_standard/AVPlayerTestBase.js +++ b/multimedia/media/media_js_standard/AVPlayerTestBase.js @@ -284,7 +284,7 @@ export function setAVPlayerFunCb(src, avPlayer, playTest, playTime, done) { completedCnt++; expect(avPlayer.currentTime).assertEqual(avPlayer.duration); expect(avPlayer.state).assertEqual(AV_PLAYER_STATE.COMPLETED); - if (completedCnt == 1) { + if (completedCnt == 1 && seekDoneCnt[0] < 5) { // step 9: completed -> play avPlayer.play(); } else {