Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14337] iOS7: HTML5 Video - video is not displayed until orientation change

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-09-05T22:16:33.000+0000
Affected Version/sRelease 3.1.1
Fix Version/s2013 Sprint 18, 2013 Sprint 18 API, Release 3.2.0
ComponentsiOS
Labelsqe-3.1.1, qe-ks, qe-testadded, regression
ReporterOlga Romero
AssigneeVishal Duggal
Created2013-06-21T20:12:55.000+0000
Updated2015-02-02T20:46:54.000+0000

Description

While testing HTML5 Video, I encountered the issue, when video displays only after device rotation. It happens only on first launch. Once the movie dsplayed, the issue cannot be reproduced. Note: Before rotation it is possible to slide to the right to bring the movie. We used the iOS simulator to display the web view before rotation. Here is what you see when you make the web view background red: screenshot.
<html>
<head>
<title>html5video</title>
</head>
<body bgcolor="red">
<video controls>
<source src="movie.mp4"></source>
</video>
</body>
</html>

Test ssteps: 1. Install and run KS> Base UI> Views> Web Views> HTML5 Video 2. Rotate device or slide to the right Actual result: 1. No video id displayed 2. Video is displayed Expected: Video should be displayed as test launched

Attachments

FileDateSize
expected.png2013-06-21T20:14:00.000+000053856
log.txt2013-06-21T20:12:55.000+00005896
Screen Shot 2013-06-21 at 12.38.05 PM.png2013-06-21T20:12:55.000+000027838

Comments

  1. Olga Romero 2013-08-27

    The issue still occurs, HTML5 Video can be brought by device rotation and by clicking Reload in the navbar. Environment: Mac osx 10.8.4 Mountain Lion Appcelerator Studio, build: 3.1.3.201308252005 Titanium SDK, build:3.1.3.v20130822140128 alloy:1.2.1-cr CLI:3.1.2 Devices: Ipad4 iOS 7 beta6(11A4449d) iPnone5 iOS 7 beta6
  2. Sabil Rahim 2013-09-05

    This is not a iOS 7 issue. was able to reproduce this on iOS 5.1 iphone4s device. removing iOS 7 labels from it.
  3. Vishal Duggal 2013-09-05

    master - https://github.com/appcelerator/titanium_mobile/pull/4652
  4. Pragya Rastogi 2013-10-11

    Tested with: OSX: 10.8.5 Xcode:5.0 Appcelerator Studio: 3.2.0.201310091613 SDK:3.2.0.v20131009134844 acs:1.0.7 alloy:1.2.2 npm:1.3.2 titanium:3.2.0 titanium-code-processo:1.0.3 Device: iPod touch2 (viOS7)

JSON Source