Skip to content

Commit 2afd2ef

Browse files
Merge pull request #4 from hogangnono/feature/HGNN-2054
[HGNN-2054] Android video poster 이미지 제거
2 parents 774c4b8 + 0462823 commit 2afd2ef

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-plugin-inappbrowser",
3-
"version": "5.0.10-hogangnono",
3+
"version": "5.0.11-hogangnono",
44
"description": "Cordova InAppBrowser Plugin",
55
"types": "./types/index.d.ts",
66
"cordova": {

plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
2222
id="cordova-plugin-inappbrowser"
23-
version="5.0.10-hogangnono">
23+
version="5.0.11-hogangnono">
2424

2525
<name>InAppBrowser</name>
2626
<description>Cordova InAppBrowser Plugin</description>

src/android/InAppChromeClient.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Licensed to the Apache Software Foundation (ASF) under one
2525
import org.json.JSONException;
2626

2727
import android.annotation.TargetApi;
28+
import android.graphics.Bitmap;
2829
import android.os.Build;
2930
import android.os.Message;
3031
import android.webkit.JsPromptResult;
@@ -131,7 +132,7 @@ public boolean onJsPrompt(WebView view, String url, String message, String defau
131132
}
132133
else {
133134
// Anything else with a gap: prefix should get this message
134-
LOG.w(LOG_TAG, "InAppBrowser does not support Cordova API calls: " + url + " " + defaultValue);
135+
LOG.w(LOG_TAG, "InAppBrowser does not support Cordova API calls: " + url + " " + defaultValue);
135136
result.cancel();
136137
return true;
137138
}
@@ -179,4 +180,9 @@ public boolean shouldOverrideUrlLoading(WebView view, String url) {
179180

180181
return true;
181182
}
183+
184+
@Override
185+
public Bitmap getDefaultVideoPoster() {
186+
return Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888);
187+
}
182188
}

0 commit comments

Comments
 (0)