Hi all
my problem is that i want to play a sequence of videos
with the same player
my question is do i have to initialize the player every time i play a different video
in another way do i have to repeat this code every time i play a different code
can i initialize the player just once and change its input stream when i play multiple video clips ?Code:byte [] recordedvideo=out.toByteArray(); ByteArrayInputStream in=new ByteArrayInputStream(recordedvideo); Player pl2=Manager.createPlayer(in,"video/3gpp"); pl2.realize(); pl2.prefetch(); VideoControl vc2=(VideoControl)pl2.getControl("VideoControl"); this.append((Item)vc2.initDisplayMode(GUIControl.USE_GUI_PRIMITIVE,null)); pl2.start();
thanks

Reply With Quote

