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
- 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