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)});