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

    Details

    • 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

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

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

                    Git Source Code