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

Android: Second time a webview is loaded with a HTML5 video the video does not play


    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Release 3.2.0
    • Fix Version/s: None
    • Component/s: Android
    • Environment:

      Android, Target API 19, webview


      The new HTML5 video support with Android is a blessing. After testing it out on different API levels and device I found the following result

      Steps to reproduce:

      • Load this app which holds a home screen, a button which launches a new window with a webview (https://dl.dropboxusercontent.com/u/1849335/WebviewTest.zip)
      • Click the button
      • Play the video
      • The video plays
      • Go back (do not press pause before hitting the back button)
      • Click the button again
      • Click the play button

      Expected result:

      • Video plays

      Actual result 4.1:

      • Video indicates it start to play, but it doesn't. Spinner loads but only plays when pressing the play and pause button several times.

      Actual result 4.2/4.3/4.4

      • Video does not play at all. When hitting the fullscreen button the video appears in the fullscreen view and when pressing the pause/play button three times it will start to play.

      This youtube video shows the behavior on a Samsung Tab 3: http://www.youtube.com/watch?v=0MpSpfJNyOk

      It seems that when closing the activity while playing the video does not or clear to much processes/resources for it the second time to fail. It might be that some kind of state is captured which withholds the video form playing a second time.

      Hope this report contains sufficient information for analyses. Let me know if you need any help.

      This issue was reported in response fixing the following issue: https://jira.appcelerator.org/browse/TIMOB-16044


          Issue Links



              • Assignee:
                wgiezeman Wienke
              • Watchers:
                0 Start watching this issue


                • Created:

                  Backbone Issue Sync

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

                    Git Integration