Here I am developing a movie ott application using react native web. Everything working fine in my application. Except I am unable to play local video in my landing screen.

but In my landing screen I am playing a video which is in .mp4 format, It's playing perfectly in tizen simulator but after installing the application in the physical device it's not playing. Please help me in this.

Here is my config.xml file privilege:

<tizen:privilege name="http://tizen.org/privilege/internet"/>
<access origin="*" subdomains="true"></access>
2

There are 2 best solutions below

0
imdungnguyen On

It might be the resolution of video is too large.

You'd better to convert to HD 720p.

0
user23722148 On

I think Tizen simulator use the software decoder, but TV use the Hardware decoder. It is different.

  1. You can try push the iStreamOnbaordingAnimation.mp4 to USB disk and try playback it to check whether HW support it.

  2. Try add the permission to spec file:

    %post

chsmack -a User::Home %{/usr/apps/Your APP name/your file path/iStreamOnbaordingAnimation.mp4 chsmack -a User::Home %{/opt/usr/apps/Your APP name/your file path/iStreamOnbaordingAnimation.mp4