Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23885

Android WebView Video stays black sound only

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.1.0
    • Component/s: Android
    • Labels:
    • Environment:

      Android 5.2

    • Story Points:
      8
    • Sprint:
      2016 Sprint 23 SDK

      Description

      Shows Homepage with videos, video stays black only sound.

      var homepage = Titanium.UI.createWebView(

      { url: 'http://sportclipone.at/', borderRadius: 1, modal:false, enableZoomControls: false, scalesPageToFit: false, scrollsToTop: false, showScrollbars: false }

      );
      if (isAndroid)

      { homepage.pluginState = Titanium.UI.Android.WEBVIEW_PLUGINS_ON; }

      else

      { homepage.borderRadius = 0.9; }

      homepage.width = Ti.UI.FILL;
      homepage.height = Ti.UI.FILL;

      var win1 = Titanium.UI.createWindow(

      { title: 'Homepage', backgroundColor: '#ffffff', layout: 'vertical' }

      );

      win1.add(homepage);
      win1.open();

      [WARN] : I/TiWebChromeClient.console(30462): (main) [15888,17877] Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture. (16:http://sportclipone.at//plugins/hwdmediashare/player_mejs/assets/mediaelement-and-player.min.js)
      [WARN] : I/TiWebChromeClient.console(30462): (main) [968,18845] Uncaught (in promise) NotAllowedError: play() can only be initiated by a user gesture. (16:http://sportclipone.at//plugins/hwdmediashare/player_mejs/assets/mediaelement-and-player.min.js)
      [WARN] : E/OMX-VDEC-1080P( 189): Extension: OMX.google.android.index.storeMetaDataInBuffers not implemented

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                FritzZetik Fritz Zetik
                Reviewer:
                Christopher Williams
                Tester:
                Samir Mohammed
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-10087
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration