hi
the next simple code play a video
Player player = Manager.createPlayer(_url);
player.realize();
player.prefetch();
VideoControl vc = (VideoControl)player.getControl("VideoControl");
if (vc != null){
vc.initDisplayMode(VideoControl.USE_DIRECT_VIDEO , canvas);
vc.setDisplayLocation(0,0);
vc.setDisplaySize(100,100);
vc.setVisible(true);
}
player.start();
I want to draw on top of the video, can some amend the code in a way that when drawing on canvas it will be on top the video.
I saw in other threads here that OverlayControl can do the trick somehow.if I am not mistaken OverlayControl is relevant for imageeffect and not video.
Can someone assist?
I am using n95
Tamir

Reply With Quote



