[TIMOB-13679] Android: embeded video in a webview does not load when anyDensity=false
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Reopened |
Resolution | Unresolved |
Affected Version/s | Release 3.0.2 |
Fix Version/s | Release 3.2.0 |
Components | Android |
Labels | android, video, webview |
Reporter | Meenakshi Pathak |
Assignee | Unknown |
Created | 2013-04-26T09:39:01.000+0000 |
Updated | 2018-02-28T20:03:18.000+0000 |
Description
Embeded video in a webview does not load when anydensity=false.
Made anydensity=false in Tiapp.xml and tested:
<android xmlns:android="http://schemas.android.com/apk/res/android">
<manifest>
<supports-screens android:anyDensity="false"/>
</manifest>
</android>
Video did not load in a webview.
Here is the sample code which was used for the testing:
Titanium.UI.setBackgroundColor('#000');
var win1 = Titanium.UI.createWindow({
title:'Window',
backgroundColor:'#fff',
fullscreen: true,
navBarHidden: true
});
var webview = Titanium.UI.createWebView({
url: 'http://www.youtube.com/embed/ATJlxjC4-n0',
touchEnabled: true,
scalesPageToFit:true,
pluginState : Titanium.UI.Android.WEBVIEW_PLUGINS_ON,
});
win1.add(webview);
win1.open();
This issue can't be reproduced with TISDK 3.2 or higher. Therefore, marking it as resolved.
Issue is reproducible using the following environment. Tested on: Device: LG-P970, Android version: 4.0.4 Device : Google Nexus 4, Android Version: 4.1.1 SDK: 3.2.3.v20140310185916 CLI version : 3.2.1 OS : MAC OSX 10.9 Alloy: 1.3.1 ACS: 1.0.14 npm:1.3.2 Appcelerator Studio, build: 3.2.2.201403061827 titanium-code-processor: 1.1.0 XCode : 5.1 Beta 5
Still not working with 5.1.2 SDK.