Play video on Iphone or WIZ

Previous topic - Next topic

mentalthink

Hi, in a near future will be a command for play video on WIz and/or Iphone.
Because I  tried to put the actuals commands and donÃ,´t work except on windows.
you can make it, Gernot?Ã,¿... will be a great.

Best Regards.
Iván.


Kitty Hello

hm. maybe a command to start mplayer? If anyone has that, I can make it in the code. But I'm very short on time. I'm sick, too.  :sick:

MrTAToad


trucidare

Something like this:
Code (glbasic) Select

NSString* thePath = [[NSBundle mainBundle]pathForResource:@"meinMovie" ofType:@"mov"];

MPMoviePlayerController *theMovie = [[MPMoviePlayerController alloc]initWithContentURL:[NSURL fileURLWithPath:thePath]];
theMovie.scalingMode = MPMovieScalingModeAspectFill;
theMovie.movieControlMode = MPMovieControlModeHidden;

[theMovie play];



Create an observe call to - it continues the game after closing the video.

regards
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

bigsofty

Quote from: Kitty Hello on 2009-Nov-30I'm sick, too.  :sick:

Yep, hope your feeling better soon Gernot.


Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)