Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15090] iOS7: WebView - youtube video is not playing at first launch

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionNot Our Bug
Resolution Date2013-09-10T00:49:39.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 19, 2013 Sprint 19 API
ComponentsiOS
Labelsios7, module_webview, qe-3.1.3
ReporterOlga Romero
AssigneeSabil Rahim
Created2013-09-09T18:51:30.000+0000
Updated2014-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

FileDateSize
ipad_mini_Ios7.png2013-09-09T18:51:30.000+0000160261
iphone4_ios7.png2013-09-09T18:51:30.000+000021541

Comments

  1. Sabil Rahim 2013-09-09

    Looks like the test app works as expected in a standalone app. Will try to see the issue is reproducible in a tabgroup.
  2. Sabil Rahim 2013-09-10

    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.
  3. Olga Romero 2014-06-16

    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

JSON Source