How to using takesnapshot in IE through activex

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
eric.gl.CN
Blank Cone
Blank Cone
Posts: 51
Joined: 19 Mar 2009 03:18

How to using takesnapshot in IE through activex

Postby eric.gl.CN » 01 Apr 2009 11:53

Hi all,
I find an method called takesnapshot in activex. I think that I can takesnapshot in IE by using activex.
I use JS as follow:
var vlc = document.getElementById("vlc");
LPPICTUREDISP * Cpicture;
vlc.video.takeSnapshot(Cpicture);
any other initial has done. and my COM can play MTV, then I want to take a snapshot, but I find that can't be run. the way is wrong or something else I haven't done?


Also I find another topic said that:

My trouble is with the ActiveX takeSnapshot method. Has anyone else noticed that the ActiveX control is hard coded to work with a .bmp file (see projects/activex/vlccontrol2.cpp : line 2501) but the underlying vlc code is hard coded to work with .png files (see src/control/video.c : line 133)? This seems to prevent the snapshot from being generated successfully.

Is this a known incompatibility? Does anyone have a work-around? :?:

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 97 guests