Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3713] Confirm TIMOB-2029

GitHub Issuen/a
TypeSub-task
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-04-26T16:13:04.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-17
ComponentsAndroid
Labelsn/a
ReporterDon Thorp
AssigneeBill Dawson
Created2011-04-26T09:34:30.000+0000
Updated2011-04-26T16:13:04.000+0000

Description

Comments

  1. Bill Dawson 2011-04-26

    Titanium 1.7.0 6b80fd9 HTC Desire, Android 2.2 Tested KS as described by Don. Indeed, tapping the "Don't try this at home" label while the video is running will make the controls disappear. I also created my own test app.js that sets the control style "none" right away, just to be sure that works. To use this test app.js, be sure to copy KS's movie.mp4 to the test project's Resources folder.
       
       /*global Ti, Titanium, alert, JSON, require, setTimeout, setInterval */
       Titanium.UI.setBackgroundColor('#000');
       var win = Titanium.UI.createWindow({  
           title:'Test',
           backgroundColor:'#000',
       	fullscreen:true,
       	exitOnClose: true
       });
       
       var activeMovie = null;
       
       win.addEventListener('open', function() {
       	var options = {
       		contentURL:'movie.mp4',
       		backgroundColor:'#111',
       		scalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL,
       		mediaControlStyle: Titanium.Media.VIDEO_CONTROL_NONE
       	};
       	activeMovie = Ti.Media.createVideoPlayer(options);
       	activeMovie.play();
       });
       
       win.addEventListener('close', function() {
       	activeMovie.stop();
       });
       	
       
       win.open();
       

JSON Source