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

Unable to play videos in a specific device. Chromium errors appeared in logcat. #37

Open
jonny123d opened this issue Jul 7, 2022 · 0 comments

Comments

@jonny123d
Copy link

I'm using this library to play Vimeo videos. I'm able to play the videos in phone with Android 6, but when I try with another device with Android 6 (a kind of set top box) it doesn't work.

These messages are when I call initialize() method:

I/chromium: [INFO:CONSOLE(0)] "Refused to load the image 'android-webview-video-poster:default_video_poster/-5383068036791378439' because it violates the following Content Security Policy directive: "img-src 'self' data: https://i.vimeocdn.com https://secure-b.vimeocdn.com https://f.vimeocdn.com https://vimeo.com https://secure.gravatar.com https://i0.wp.com https://i1.wp.com https://i2.wp.com https://pagead2.googlesyndication.com https://player.vimeo.com https://*.ci.vimeows.com https://videoapi-sprites.vimeocdn.com https://i.vimeocdn.com https://wirewax.s3.eu-west-1.amazonaws.com https://studio-media.wirewax.com https://edge-assets.wirewax.com https://f.vimeocdn.com".
    ", source: https://player.vimeo.com/video/645100337?h=60b071fdb0&color=00acf0&playsinline=0&quality=Auto&app_id=122963 (0)
I/chromium: [INFO:CONSOLE(10)] "Uncaught TypeError: i.hasOwnProperty is not a function", source: https://f.vimeocdn.com/p/4.6.0/js/player.js (10)

When onReady() listener method is called y run play() method and I get this message:

I/chromium: [INFO:CONSOLE(10)] "Uncaught TypeError: i[(i.length - 1)].toJSON is not a function", source: https://f.vimeocdn.com/p/4.6.0/js/player.js (10)

Do you know why is this happening?

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

1 participant