09-22-2006 5:47 AM
hello all,
I am intrested to know how to make this class work, i need to build a small applcation where i need to display a movie, i tried using different methods
If any one could tell me how to make this work, to browse a file and display a movie.
Thanks,
Raju N.
09-22-2006 5:53 AM
There is no cl_gui_movie class, there is a class called
CL_GUI_PICTURE
Using the method LOAD_PICTURE_FROM_URL u can load picture.
I have not tried yet.
09-22-2006 6:59 AM
This class is definetly there, i know about the class
'picture' and even used it
thanks
raju N
10-13-2006 1:52 PM
Hi,
if YOU HAVE FOUND THE SOLUNTION TO YOUR QUERY.PLEASE LET ME KNOW,I AM ALSO INTERESTED IN USING THIS CLASS AND EVEN TRIED BUT FAILED.;
10-14-2006 8:12 AM
Hi Raju,
You can go through this weblog of Thomas Jung to work with Windows Media Player to view videos in ABAP.Though I didn't give the code for Play , Stop and other options, it worked.
/people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework
<b>Award points if found useful.</b>
Regards,
SP.
10-14-2006 12:59 PM
you cannot use CL_GUI_MOVIE.
check the code in the consutructor method of the class.
first its checks whether system supports activex
call function 'GUI_HAS_OBJECTS'
exporting
object_model = sfes_obj_activex
importing
return = return
exceptions
others = 1.
if sy-subrc ne 0.
raise error.
endif.
and set a variable
if return = 'X'.
guitype = 1.
endif.
later it explicitly raises error message means you cannot use it at all
case guitype.
<b> when 1.</b>* Vorlaeufig
<b> raise error.</b> clsid = 'SAPGUI.MovieCtrl.1'.
when 2.
clsid = 'com.sap.components.controls.sapMovie.SapMovie'.
when others.
raise error.
endcase.
where the german comment
Vorlaeufig
means "Provisionally"
we are on was 6.40 sp11 may be in later sps/releases it will be working.
Regards
Raja