AV Player playing only audio no video for MP4 files

Hi there, I am developing a small app to play videos on samsung TV. The app is using AV Player. When I install the app on TV the app plays only audio, without video. I am playing mp4 files. The app works just fine on “Tizen Web Simulator application” launched from Tizen studio.Following is the snippet used to launch the app using an video for url. I’ve tested with signed package as well, it has the same issue. I disabled developer mode on real samsung TV after installing the app, it has the same issue as well.

This app is still under development. It has not been submitted, so please don’t suggest asking in 1:1 as it requires me to submit the app. May I know what could be the reason and how to fix this? Thanks.

  avplay.open(videoUrl);
  // avplay.setDisplayRect(rect.left, rect.top, rect.width, rect.height);
  avplay.setDisplayRect(0, 0, window.innerWidth, window.innerHeight);
  avplay.setDisplayMethod('PLAYER_DISPLAY_MODE_FULL_SCREEN');
  avplay.prepareAsync(() => {
    avplay.play();
    setPlayer(avplay);
  }, (error: any) => {setError(error); console.error('AVPlay prepareAsync error:', error)});

Hello,
For Smart TV questions, please log in to TV Seller Office: (Seller2.0), go to the 1:1 Q&A section, and ask a question.

You do not need to have an application to ask a question. There is a lot of category where you can submit your question without an app.

Example: 1:1 Q&A > Ask Question > Select the “Install/IDE/Packaging” from SDK.

So select which one is close to your case.