Problem Description
Our video is not playing in a webview inside our project. If you test the same url in the android browser, it works properly.
Steps to reproduce
1. Create a new mobile project (classic Titanium)
2. Paste the code into app.js
var win = Titanium.UI.createWindow({
fullscreen: true,
navBarHidden: true,
});
var scrollView = Titanium.UI.createScrollView({
contentWidth: 'auto',
contentHeight: 'auto',
top: 0,
showVerticalScrollIndicator: true,
showHorizontalScrollIndicator: true
});
// Add Webview
var webview = Titanium.UI.createWebView({
url: 'http://www.suedostschweiz.ch/services/webview/video',
top: 0,
backgroundColor: '#fff',
});
scrollView.add(webview);
win.add(scrollView);
win.open();
3. Build this into an android device
Extra info
LOG
[WARN] : AwContents: nativeOnDraw failed; clearing to background color.
[ERROR] : E/Adreno-ES20: <gl_external_unsized_fmt_to_sized:2379>: QCOM> format, datatype mismatch
[ERROR] : E/Adreno-ES20: <get_texture_formats:3009>: QCOM> Invalid format!
[WARN] : AwContents: nativeOnDraw failed; clearing to background color.
[INFO] : chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
[INFO] : chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
[ERROR] : qdutils: FBIOGET_FSCREENINFO failed
[INFO] : chromium: [INFO:simple_index_file.cc(397)] Simple Cache Index is being restored from disk.
[INFO] : chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
[ERROR] : MediaResourceGetter: Invalid url: java.lang.RuntimeException: setDataSource failed: status = 0x80000000
[ERROR] : OpenGLRenderer: GL_INVALID_OPERATION
[INFO] : SnapScrollController: setSnapScrollingMode case-default no-op
[INFO] : SnapScrollController: setSnapScrollingMode case-default no-op
[INFO] : TiAnalyticsSvc: (Thread-16395) [30004,30261] Analytics Service Started
[INFO] : TiAnalyticsSvc: (Thread-16395) [915,31176] Stopping Analytics Service
Hello Ursin! Does your player has the configuration to fallback to m4v? Check this: http://support.jwplayer.com/customer/portal/questions/5496622-streaming-on-android Best Regards
Hi Mauro Thank you for your answer. Our Player JWPlayer have a fallback to m4v. Our source list ist saved under http://www.suedostschweiz.ch/multimedia/json/all/mam_video How I write to you, if you call the URL http://www.suedostschweiz.ch/services/webview/video into the Android Browser it works perfekt. If you call it over a WebView it dosent works. Can you help us? Thank you for your help
Issue reproduces Titanium SDK version 3.4.0 master, 3.3.0.GA, 3.2.3.GA Titanium Studio, build: 3.3.0.201407100905 Titanium Command-Line Interface CLI version 3.3.0, Android device : Motorola Moto G, Android version : 4.4.4