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

toast.Media error when I try to play the video #99

Open
jesusbarrientos opened this issue Feb 6, 2020 · 3 comments
Open

toast.Media error when I try to play the video #99

jesusbarrientos opened this issue Feb 6, 2020 · 3 comments

Comments

@jesusbarrientos
Copy link

media::play() - id =5e057cc6-377e-a75b-093b-3726b3fefc82
Entered AVPlayManager.prepareAsync() VM75:formatted:260
in getErrorObjectLocal code:15,name:InvalidAccessError NaNmessage:PLAYER_ERROR_CONNECTION_FAILED VM75:formatted:138

I get this error every time when I call play function of media.
Also if I call again, the new error in console is in getErrorObjectLocal code:15,name:InvalidAccessError NaNmessage:PLAYER_ERROR_INVALID_OPERATION.

Has anyone been able to solve it before?

NOTE: this is the link of the video http://media.w3.org/2010/05/sintel/trailer.mp4

@pwsses
Copy link
Contributor

pwsses commented Feb 6, 2020

If you try on Tizen TV application. pleas check Network access in your App config.xml file.
refer : https://developer.samsung.com/smarttv/develop/guides/fundamentals/configuring-tv-applications.html (Network access policy)

@jesusbarrientos
Copy link
Author

jesusbarrientos commented Feb 6, 2020

@pwsses thx for your reply, but it's still not working... This is my config.xml

config

@Kelmatou
Copy link

Kelmatou commented Apr 8, 2020

I'm having a similar issue. It happens when toast.js calls webapis.avplay.open(src);
It throws an exception with WebAPIError object: (Type Mismatch Err)
avplay_open

I reproduced in on the tizen tv web simulator

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