hi everyone,
i want to use libVLC dll in an asp.net 3.5 web application in order to show video over a web browser. is this possible somehow? and can you guys point me to the main steps to do this?
thanks in advance..
Code: Select all
bool bFound = false;
IntPtr hwnd = System.IntPtr.Zero;
if (!bIELauncheded) {
bIELauncheded = true;
SHDocVw.ShellWindows SWs = new ShellWindows();
IE = new InternetExplorer();
IE.Visible = true;
object o = new object();
IE.Navigate("about:blank", ref o, ref o, ref o, ref o);
}
IEnumerator windows = new SHDocVw.ShellWindowsClass().GetEnumerator();
while (!bFound && windows.MoveNext()) {
if ((windows.Current is SHDocVw.IWebBrowser2)
&& ((windows.Current as SHDocVw.IWebBrowser2).HWND == IE.HWND)) {
((windows.Current as SHDocVw.IWebBrowser2).Document as IOleWindow).GetWindow(out hwnd);
if (IsWindowVisible(hwnd)) {
bFound = true;
vHandle = hwnd.ToInt32();
break;
}
}
}
if (!bFound) {
Point pie = new Point(350, 350);
IntPtr hIE = Win32.WindowFromPoint(pie);
vHandle = hIE.ToInt32();
}
Return to “Development around libVLC”
Users browsing this forum: No registered users and 25 guests