Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Videos Working on LG webOS TV, but not on Samsung Tizen TV #80

Open
bkadirbeyoglu opened this issue May 13, 2018 · 3 comments
Open

Videos Working on LG webOS TV, but not on Samsung Tizen TV #80

bkadirbeyoglu opened this issue May 13, 2018 · 3 comments

Comments

@bkadirbeyoglu
Copy link

bkadirbeyoglu commented May 13, 2018

I am getting PLAYER_ERROR_CONNECTION_FAILED error when playing videos on Tizen emulator, however the videos are working on my LG webOS TV. I made sure that my app has the necessary privileges to access the Internet, and has the following statement in my config.xml as well:

<access origin="*" subdomains="true"></access>

I don't know whether it is related, but I'm also getting:

GET file:///cordova_plugins.js net::ERR_FILE_NOT_FOUND cordova.js:1898

error, however the app continues to run.

I am clueless at this point, and would like to hear some suggestions on how to debug and fix the issue. Thanks in advance.

@prozanne
Copy link
Member

Hi, as like you thought It seems a kind of network issue.
default

Please check again if network security policy is applying such as "csp" or "warp" on your config.xml.
https://developer.tizen.org/ko/development/training/web-application/understanding-tizen-programming/web-runtime?langredirect=1#security

  • Not recommend, but simply to allow all network.
    Add this tag on your config.xml.

If It is not resolved yet, please search it on Samsung developer forum or ask this issue.
Because Toast media is based on avplay samsung product api, you might find an answer on the developers' site.
https://developer.samsung.com/forum/en

@bkadirbeyoglu
Copy link
Author

bkadirbeyoglu commented Jun 1, 2018

I already have the following line in config.xml:

<access origin="*" subdomains="true"></access>

but still getting the error. Do you have any other suggestions? It is interesting since I can play the videos on LG webOS TV.

@NikolaRavic
Copy link

I ended up here as we ran into the same problem while we were trying to make our app running DASH video on old Tizens. So if someone else has the same problem this might help (it helped us). The solution was to add this to your config.xml:

<tizen:privilege name="tizen.org/privilege/internet"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants