Skip to content

Commit 606f06b

Browse files
Enable basic GitHub Actions CI
1 parent b81c8c1 commit 606f06b

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: ci
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: gradle/wrapper-validation-action@v1
9+
- run: ./gradlew build

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
VideoEnabledWebView
2-
===================
1+
# VideoEnabledWebView
2+
3+
[![ci][1]][2]
34

45
Android's WebView and WebChromeClient class extensions that enable fully working, cross-device, HTML5 video support in Android 4.0.3 (API level 15) onwards. Actively maintained and tested up to Android 10 (API level 29) with its new Chromium webview.
56

@@ -33,3 +34,6 @@ Finally, you need to define all the views that you will be using in your layout
3334
4. Remember to override your Activity's __onBackPressed()__ and pass the event to the VideoEnabledWebChromeClient. Follow the example in ExampleActivity.java.
3435
5. Remember to specify and/or programmatically inflate the __videoLayout__, __nonVideoLayout__, and, optionally, __loadingView__. Follow the example in ExampleActivity.java and the xml layout files in res/layout.
3536
6. If you are using __ProGuard__, remember to add the fully qualified name of the Javascript interface to the rules file: `-keepclassmembers class name.cpr.VideoEnabledWebView$JavascriptInterface { public *; }`
37+
38+
[1]: https://github.com/cprcrack/VideoEnabledWebView/workflows/ci/badge.svg
39+
[2]: https://github.com/cprcrack/VideoEnabledWebView/actions

0 commit comments

Comments
 (0)