Problem with g_Player.PlayVideoStream (1 Viewer)

fcsobel

Portal Pro
December 4, 2005
127
6
I'm working on a plugin and running into problems with playing video streams thru mp. Can anyone help or point me in the right direction. I checked the wiki but could not find any documenttaion for this. The way I'm calling it works most of the time but not always. Here is the code I'm using which I found in another plugin.
Code:
g_Player.FullScreen = true;
g_Player.PlayVideoStream(url)
GUIGraphicsContext.IsFullScreenVideo = true;
GUIWindowManager.ActivateWindow((int)GUIWindow.Window.WINDOW_FULLSCREEN_VIDEO);
When I tell mp to play files from some links it returns false. For example this call returns flase:
Code:
g_Player.PlayVideoStream(@"http://media.libsyn.com/media/gilville/GIDUT.ep08.wmv")
But the ones from dl.tv work like this one:
Code:
g_Player.PlayVideoStream(@"http://zdpub.vo.llnwd.net/o2/dltv/episode49/dl.tv.049.wmv")
Maybe there is some other magic that needs to be invoked.

Here is the link discussing the plugin and this issue

https://forum.team-mediaportal.com/viewtopic.php?t=14357
 

Users who are viewing this thread

Top Bottom