How to get rid of playback controls when playing a video?
by Simon Almqvist Pettersson · in iTorque 2D · 01/31/2012 (7:37 am) · 2 replies
I have managed to get a video playing by using the following: (according to the documentation)
playiPhoneMovie("data/movies/MyMovie", "mp4", %scalemode, %controlstyle);
But i don't get rid of the control-buttons (pause, next, prev and timeline) no matter what value I send in as %controlstyle. When reading the documentation I get the impression that having %controlstyle = 0 shall hide the playback-controls, but it doesn't seem to work for me. Does anyone know what might cause this or am I doing something wrong here?
playiPhoneMovie("data/movies/MyMovie", "mp4", %scalemode, %controlstyle);
But i don't get rid of the control-buttons (pause, next, prev and timeline) no matter what value I send in as %controlstyle. When reading the documentation I get the impression that having %controlstyle = 0 shall hide the playback-controls, but it doesn't seem to work for me. Does anyone know what might cause this or am I doing something wrong here?
About the author
Game Developer at Dohi Sweden
Recent Threads
#2
www.garagegames.com/community/resources/view/21472
I play video without button play,pause,stop but only when I tapped show skip button ....
I think y need to add this :
hope can be useful for y
Bye
06/06/2013 (9:06 am)
In my resource :www.garagegames.com/community/resources/view/21472
I play video without button play,pause,stop but only when I tapped show skip button ....
I think y need to add this :
[movieController setControlStyle:MPMovieControlStyleNone];
hope can be useful for y
Bye
Torque 3D Owner Andrew Deters
3dDeters