Game Development Community

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?

#1
06/01/2013 (7:32 pm)
I too need help with this problem. Where you able to fix it? Or can anyone else explane the answer?
#2
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