Android Vimeo Video Won't Play Correctly


#1

I’m hoping someone will answer here.

I have a project that works consistently as an ios build (iPad has some issues). However; the Android build does not function properly.

Vimeo video are not playing at all on Android 5 and have no audio on Android 6. I’ve change the attributes a million times without use.

Errors going to the page with the video link

06-28 10:58:42.718 8008-8008/? W/BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 8008
06-28 10:58:43.424 8008-8008/? I/chromium: [INFO:CONSOLE(0)] “Refused to load the image ‘android-webview-video-poster:default_video_poster/-3329860654188993876’ because it violates the following Content Security Policy directive: “img-src secure link to video”.
”, source: secure link to video
06-28 10:58:43.587 8008-8055/? W/MediaResourceGetter: permission denied to access network state
06-28 10:58:43.588 8008-8055/? W/MediaResourceGetter: non-file URI can’t be read due to unsuitable network conditions
06-28 10:58:43.588 8008-8055/? E/MediaResourceGetter: Unable to configure metadata extractor

Errors playing the video

06-28 11:05:43.455 1529-1961/? I/MediaFocusControl: AudioFocus requestAudioFocus() from android.media.AudioManager@e7dd983org.chromium.media.MediaPlayerListener@22db700 req=3flags=0x0
06-28 11:05:43.456 8008-8008/? W/MediaPlayer: Couldn’t open file on client side; trying server side: java.io.FileNotFoundException: No content provider: another secure link?expires=1467129814&token=Token
06-28 11:05:43.460 1206-8100/? D/NuPlayer: onSetVideoSurface(0xadb70000, no video decoder)
06-28 11:05:43.547 8008-8046/? E/chromium: [ERROR:gles2_cmd_decoder_autogen.h(1642)] [GroupMarkerNotSet(crbug.com/242999)!:7CE0A89F]GL ERROR :GL_INVALID_OPERATION : GetIntegerv: <- error from previous GL command
06-28 11:05:43.677 8008-8008/? W/AwContents: onDetachedFromWindow called when already detached. Ignoring
06-28 11:05:43.678 8008-8008/? D/CordovaWebViewImpl: showing Custom View
06-28 11:05:43.742 8008-8041/? E/chromium: [ERROR:buffer_manager.cc(340)] [GroupMarkerNotSet(crbug.com/242999)!:7C4CE7A0]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
06-28 11:05:43.760 1206-8101/? I/SampleTable: There are reordered frames present.
06-28 11:05:43.760 1206-8100/? D/NuPlayerDriver: notifyListener_l(0xb43ee9c0), (5, 640, 360)
06-28 11:05:43.760 1206-8100/? D/NuPlayerDriver: notifyListener_l(0xb43ee9c0), (3, 0, 0)
06-28 11:05:43.861 1206-8100/? D/NuPlayer: onSetVideoSurface(0xadb72a00, no video decoder)
06-28 11:05:44.625 1206-8105/? I/NuCachedSource2: caching reached eos.
06-28 11:05:44.762 1206-8100/? D/NuPlayerDriver: notifyListener_l(0xb43ee9c0), (3, 100, 0)
06-28 11:05:44.762 1206-8100/? D/NuPlayerDriver: notifyListener_l(0xb43ee9c0), (1, 0, 0)
06-28 11:05:44.818 8008-8008/? D/MediaPlayer: setSubtitleAnchor in MediaPlayer
06-28 11:05:44.889 1206-5229/? D/NuPlayerDriver: start(0xb43ee9c0), state is 4, eos is 0
06-28 11:05:44.889 1206-8100/? I/GenericSource: start
06-28 11:05:44.891 8008-8008/? D/MediaPlayer: getMetadata
06-28 11:05:44.897 1206-8100/? D/NuPlayerDriver: notifyListener_l(0xb43ee9c0), (3, 100, 0)
06-28 11:05:44.915 1206-8120/? D/SoftAVCDec: Number of CPU cores: 2
06-28 11:05:44.917 1206-8119/? E/OMXNodeInstance: setConfig(26:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
06-28 11:05:44.917 1206-8119/? I/ACodec: codec does not support config priority (err -2147483648)
06-28 11:05:44.925 1206-8117/? I/MediaCodec: [OMX.google.h264.decoder] setting surface generation to 1234956
06-28 11:05:44.926 1206-8120/? W/OMXNodeInstance: [27:google.h264.decoder] component does not support metadata mode; using fallback
06-28 11:05:44.926 1206-8120/? E/ACodec: [OMX.google.h264.decoder] storeMetaDataInBuffers failed w/ err -1010
06-28 11:05:44.926 1206-8119/? I/MediaCodec: MediaCodec will operate in async mode
06-28 11:05:44.928 1206-8120/? D/SoftAVCDec: Number of CPU cores: 2
06-28 11:05:44.928 1206-8120/? E/OMXNodeInstance: setConfig(27:google.h264.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
06-28 11:05:44.928 1206-8120/? I/ACodec: codec does not support config priority (err -2147483648)
06-28 11:05:44.928 1206-8120/? E/OMXNodeInstance: setConfig(27:google.h264.decoder, ConfigOperatingRate(0x6f800003)) ERROR: Undefined(0x80001001)
06-28 11:05:44.928 1206-8120/? I/ACodec: codec does not support config operating rate (err -2147483648)
06-28 11:05:44.928 1206-8117/? I/MediaCodec: MediaCodec will operate in async mode
06-28 11:05:44.952 1206-8100/? D/NuPlayerDriver: notifyListener_l(0xb43ee9c0), (5, 640, 360)
06-28 11:05:44.953 1206-8100/? D/NuPlayerDriver: notifyListener_l(0xb43ee9c0), (200, 3, 0)
06-28 11:05:44.953 1206-8121/? I/SoftAAC2: limiting to stereo output
06-28 11:05:44.953 1206-8100/? D/NuPlayerDriver: notifyListener_l(0xb43ee9c0), (6, 0, 0)
06-28 11:05:44.955 8008-8111/? W/MediaPlayer: info/warning (3, 0)

                                          [ 06-28 11:05:44.957  8008: 8047 D/         ]
                                          HostConnection::get() New Host Connection established 0xa0ce3140, tid 8047
                                          
                                          
                                          [ 06-28 11:05:44.962  1206: 8117 D/         ]
                                          HostConnection::get() New Host Connection established 0xad73f7f0, tid 8117

06-28 11:05:44.976 1206-8121/? I/SoftAAC2: Reconfiguring decoder: 0->44100 Hz, 0->2 channels

                                       [ 06-28 11:05:44.989  8008: 8106 D/         ]
                                       HostConnection::get() New Host Connection established 0xa0ce4a60, tid 8106
                                       
                                       
                                       [ 06-28 11:05:45.428  8008: 8107 D/         ]
                                       HostConnection::get() New Host Connection established 0x9c9b8d40, tid 8107

06-28 11:05:51.863 1206-1595/? D/NuPlayerDriver: notifyListener_l(0xb43ee9c0), (7, 0, 0)

                                             --------- beginning of system

06-28 11:05:53.110 1529-1961/? D/ConnectivityService: reportNetworkConnectivity(100, false) by 10007
06-28 11:05:53.110 1529-2259/? D/NetworkMonitor/NetworkAgentInfo [MOBILE (UMTS) - 100]: Forcing reevaluation for UID 10007
06-28 11:05:53.113 1529-2259/? D/NetworkMonitor/NetworkAgentInfo [MOBILE (UMTS) - 100]: Checking http://connectivitycheck.gstatic.com/generate_204 on epc.tmobile.com, connectivitycheck.gstatic.com=173.194.219.100
06-28 11:05:53.121 1529-2259/? D/NetworkMonitor/NetworkAgentInfo [MOBILE (UMTS) - 100]: isCaptivePortal: ret=204 headers={null=[HTTP/1.1 204 No Content], Content-Length=[0], Date=[Tue, 28 Jun 2016 15:05:44 GMT], X-Android-Received-Millis=[1467126353120], X-Android-Response-Source=[NETWORK 204], X-Android-Selected-Protocol=[http/1.1], X-Android-Sent-Millis=[1467126353117]}
06-28 11:05:53.121 1529-1582/? D/ConnectivityService: setProvNotificationVisibleIntent null visible=false networkType=MOBILE extraInfo=null highPriority=false
06-28 11:05:53.122 1529-1582/? D/ConnectivityService: NetworkAgentInfo [MOBILE (UMTS) - 100] validation passed


Running the app throws several errors:

06-28 10:49:34.888 7982-7982/? E/memtrack: Couldn’t load memtrack module (No such file or directory)
06-28 10:49:34.888 7982-7982/? E/android.os.Debug: failed to load memtrack module: -2

06-28 10:49:35.430 8008-8008/? E/SysUtils: ApplicationContext is null in ApplicationStatus

06-28 10:49:35.437 8008-8008/? E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)
06-28 10:49:35.437 8008-8008/? E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)

                                     [ 06-28 10:49:35.437  8008: 8008 D/         ]
                                     HostConnection::get() New Host Connection established 0xaabed9a0, tid 8008

06-28 10:49:35.467 8008-8008/? E/DataReductionProxySettingListener: No DRP key due to exception:java.lang.ClassNotFoundException: com.android.webview.chromium.Drp