try {
p = Manager.createPlayer(location);
p.realize();
// Grab the video control and set it to the current display.
vc = (VideoControl)p.getControl("VideoControl");
if (vc != null) {
// vc.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, FW.m);
// vc.setVisible(true);
FW.F.setTitle("Video");
FW.F.append((Item)vc.initDisplayMode(vc.USE_GUI_PRIMITIVE, null));
vc.setDisplayFullScreen(true);
Display.getDisplay(FW.fw).setCurrent(FW.F);
}
p.start();
} catch (Exception ex) {last_err = ex.getMessage();}
Так сделано у меня в библиотеке для МР. Используется форма, для вывода на Canvas надо использовать закомментированную часть, но она не на всех телефонах работает. В location пишешь, например "file:///b/mobile/video/file.mp4"