[ https://issues.apache.org/jira/browse/CB-13840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16342817#comment-16342817 ]
Pierre Rudloff commented on CB-13840: ------------------------------------- Are you sure about this? What I understand from [the doc|https://github.com/googlesamples/android-PermissionRequest#introduction] is that the webview automatically fires onPermissionRequest when the web content tries to access a protected resource. And I can't find any Java method to manually request a permission. Also, I get a really strange behavior: sometimes when I open my app (like one in fifteen), Widevine is loaded and DRM playback works! When this happens, I can see in logcat that onPermissionRequest is fired as expected. > Support Widevine in Cordova webviews > ------------------------------------ > > Key: CB-13840 > URL: https://issues.apache.org/jira/browse/CB-13840 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-android > Affects Versions: cordova-android-7.0.0 > Environment: I have tested with cordova-android 6.3 and 7.0 on > Android 6.0.1. > Reporter: Pierre Rudloff > Assignee: Joe Bowser > Priority: Major > > I'm developing an app that needs to play DRM media. > On Android Chrome it uses Widevine, but it does not seem to be available in > Cordova. > According to [this Chromium > ticket|https://bugs.chromium.org/p/chromium/issues/detail?id=526058] there is > a permission request that needs to be handled when creating the webview. > (As a workaround we use Crosswalk, [which does support > Widevine|https://github.com/crosswalk-project/crosswalk/pull/3147/commits/0124ee94107e3dc21c16f3748c2fee2315bbaca5], > but it is not maintained anymore...) -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org