[TIMOB-15090] iOS7: WebView - youtube video is not playing at first launch
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2013-09-10T00:49:39.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 19, 2013 Sprint 19 API |
Components | iOS |
Labels | ios7, module_webview, qe-3.1.3 |
Reporter | Olga Romero |
Assignee | Sabil Rahim |
Created | 2013-09-09T18:51:30.000+0000 |
Updated | 2014-06-16T23:33:23.000+0000 |
Description
It is an infinite activity indicator on iPad mini and a black screen on iPhone 4 as a result of launching a video at a very first time.
I was able to play a video on iPad mini, going back and force. iPhone4 behavior - black screen with control "play".
Sample code:
Titanium.UI.setBackgroundColor('#000000');
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#000000'
});
var webview = Ti.UI.createWebView({url:'http://www.youtube.com/embed/US7xaxyFETI?rel=0'});
win1.add(webview);
//Ti.Platform.openURL('http://www.youtube.com/embed/US7xaxyFETI?rel=0'); // use this to play the video
win1.open();
Attachments
File | Date | Size |
---|---|---|
ipad_mini_Ios7.png | 2013-09-09T18:51:30.000+0000 | 160261 |
iphone4_ios7.png | 2013-09-09T18:51:30.000+0000 | 21541 |
Looks like the test app works as expected in a standalone app. Will try to see the issue is reproducible in a tabgroup.
After a lot of testing and head scratching , this turns out to be a Apple bug. Tested with modifying apples own test code in UICatalog. Open this [project](https://www.dropbox.com/s/5wetye5vt2ytbxe/UICatalog%203.zip) in Xcode. Build it for iPad sim / device running iOS 7 Navigate to Webview and click on the red button on youtube video. Results are the same as that of this bug. Marking ticket as not our bug.
closing as not our bug. Tested and verified working with: Mac osx 10.9.3 Mavericks Appcelerator Studio, build: 3.3.0.201406111952 Titanium SDK, build: 3.3.0.v20140613161751 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-rc npm@1.3.2 titanium@3.3.0-rc titanium-code-processor@1.1.1 Device:iPhone5S iOS 7.1