Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18158] iOS: Volume of video player does not change when controlled by slider

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-12-11T04:28:31.000+0000
Affected Version/sRelease 3.5.0
Fix Version/sRelease 3.5.0, Release 4.0.0
ComponentsiOS
Labelsqe-3.5.0, qe-noTestNeeded, regression
ReporterVisalakshi Chidambaram
AssigneeJon Alter
Created2014-12-09T09:46:09.000+0000
Updated2014-12-17T22:25:48.000+0000

Description

The volume of the video does not change when the position of the slider that controls the volume changes. According to the docs, the volume of the video player also controls the volume of the device. When the video in the attached sample app starts playing, the slider is shown to be at the maximum regardless of the volume of the device. When the device volume is not muted, the video starts playing with a volume, when it should actually be muted, and increasing the volume of the video via the slider has no effect. Currently the volume of the video is only controlled by the device volume (controlling using the hardware buttons). This is a regression as it works as expected with titanium sdk 3.4.1 Steps to reproduce: 1. Create a sample and include 'movie.mp4' under resources and replace app.js with the attached one 2. run app on device 3. Move the slider position towards the right 4. Move the slider position towards the left Actual results: 2. Video starts playing with maximum value shown on the slider for the volume regardless of the volume set on the device. If device volume is not muted, the video plays with sound. 3. no change in the volume of the video 4. no change in the volume of the video Expected results 2. Video should start playing without any sound, and the slider position should be at minimum, regardless of the device volume. The volume (speaker symbol) pops up showing that the volume has been muted. 3. volume of the video should increase and this should also increases the volume of the device. 4. volume of the video should decrease and the volume of the device should also decrease and should be muted when the slider reaches the end on the left.

Attachments

FileDateSize
app.js2014-12-09T09:46:09.000+00001380
movie.mp42014-12-09T09:46:09.000+00002549211

Comments

  1. Ingo Muschenetz 2014-12-09

    Not finding a lot of related tickets in 3.5.0: * TIMOB-1816 * TIMOB-17806 * TIMOB-17997
  2. Jon Alter 2014-12-10

    PRs master: https://github.com/appcelerator/titanium_mobile/pull/6461 3_5_X: https://github.com/appcelerator/titanium_mobile/pull/6462
  3. Chee Kiat Ng 2014-12-11

    CR and FT Passed. Pull requests merged.
  4. Ewan Harris 2014-12-17

    Verified fix on: Mac OSX 10.10.1 Appcelerator Studio, build: 3.4.1.201410281743 Titanium SDK build: 3.5.0.v20141217064917 Titanium CLI, build: 3.4.1 Alloy: 1.5.1 Xcode 6.1.1 iPhone 6 Plus (8.1), iPad Air 2 (8.2b2) Using the attached app.js and file, ran on both devices and the volume of the video player changes when moving the slider Closing ticket.

JSON Source