{"id":15297036,"url":"https://github.com/sprylab/texturevideoview","last_synced_at":"2025-10-07T10:30:49.456Z","repository":{"id":17320945,"uuid":"20091861","full_name":"sprylab/texturevideoview","owner":"sprylab","description":"A VideoView based on the official Android 7.1.1_r13 sources using a TextureView instead of a SurfaceView by sprylab technologies GmbH.","archived":true,"fork":false,"pushed_at":"2019-02-05T09:52:21.000Z","size":1522,"stargazers_count":278,"open_issues_count":3,"forks_count":93,"subscribers_count":16,"default_branch":"master","last_synced_at":"2023-12-07T23:41:36.193Z","etag":null,"topics":["android","textureview","video"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sprylab.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-23T08:12:37.000Z","updated_at":"2023-07-24T07:00:00.000Z","dependencies_parsed_at":"2022-08-22T18:31:19.705Z","dependency_job_id":null,"html_url":"https://github.com/sprylab/texturevideoview","commit_stats":null,"previous_names":[],"tags_count":7,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprylab%2Ftexturevideoview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprylab%2Ftexturevideoview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprylab%2Ftexturevideoview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprylab%2Ftexturevideoview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sprylab","download_url":"https://codeload.github.com/sprylab/texturevideoview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219877408,"owners_count":16554889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","textureview","video"],"created_at":"2024-09-30T19:14:44.311Z","updated_at":"2025-10-07T10:30:49.037Z","avatar_url":"https://github.com/sprylab.png","language":"Java","readme":"TextureVideoView for Android\n============================\n\nA `VideoView` based on the official Android 7.1.1_r13 sources using a `TextureView` instead of a `SurfaceView` by [sprylab technologies GmbH][1]. It will work on Android 4.0+ (API level 15 and above).\n\nThe main advantages of this drop-in replacement compared to the original `VideoView` are the following:\n\n* extends `android.view.TextureView` instead of a `android.view.SurfaceView` thus allowing proper view animations as described in the [Property Animation API guide][2]\n* API addition: Call `setShouldRequestAudioFocus(true)` to programmatically disable audio focus request before opening a video file -\n  default behaviour is unchanged and complies with the current `VideoView` implementation (thanks to @ezaquarii)\n* clears the underlying `Surface` on API level 16+ when calling `stopPlayback()` (thanks to @hithere1985)\n* fixes a sizing bug when auto-starting the video with view size != video size (thanks to @lhunath)\n* fixes various memory leaks\n  * potential leak by releasing surface when destroyed\n  * potential activity leak when streaming videos over HTTP(S) (thanks to @koral)\n  * potential activity leak caused by AudioManager on Android pre-6.0 devices (thanks to @hzsweers)\n\nUnfortunately, code that uses hidden APIs and thus is not publicly available had to be removed (e.g. subtitle support).\n\nDownload\n--------\n\nDownload [the latest JAR][3] or grab via Maven:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.sprylab.android.texturevideoview\u003c/groupId\u003e\n  \u003cartifactId\u003etexturevideoview\u003c/artifactId\u003e\n  \u003cversion\u003e1.2.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\nor Gradle:\n```groovy\ncompile 'com.sprylab.android.texturevideoview:texturevideoview:1.2.1'\n```\n\nLicense\n=======\n\n    Copyright 2014-2016 sprylab technologies GmbH\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\nNote: The sample application includes a trailer for [Big Buck Bunny][4], which is released under the [Creative Commons Attribution 3.0][5] license.\n\n [1]: https://sprylab.com\n [2]: https://developer.android.com/guide/topics/graphics/prop-animation.html\n [3]: http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy\u0026g=com.sprylab.android.texturevideoview\u0026a=texturevideoview\u0026v=LATEST\n [4]: http://www.bigbuckbunny.org\n [5]: http://creativecommons.org/licenses/by/3.0/\n","funding_links":[],"categories":["video"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsprylab%2Ftexturevideoview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsprylab%2Ftexturevideoview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsprylab%2Ftexturevideoview/lists"}