Skip to content

Instantly share code, notes, and snippets.

@maks
Last active December 17, 2015 12:38
Show Gist options
  • Save maks/5610810 to your computer and use it in GitHub Desktop.
Save maks/5610810 to your computer and use it in GitHub Desktop.
fixing ICS webview html5 video playback

Thoughts

Problem seems to be due to the texture that I think is "shared" between android framework which uses SurfaceTexture to write video frames into it and webkit which must then use the texture to apply whatever CSS layout it needs to the video element.

References

github aosp mirror src: https://github.com/android/platform_frameworks_base/commits/master/core/java/android/webkit/HTML5VideoInline.java

Playback on Amlogic Tablet devices running ICS

Stagefright playback works fine in software-decode mode, so only needed to set the system properties:

Media.HTML5.WindowPlayEnable=true
media.amsuperplayer.enable=false
media.amplayer.enable=false

x86

https://android.googlesource.com/platform/external/webkit/+/a88a02318873ea1ed00398091f92d6ebe1dc1139/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment