home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Unable to playback fullscreen
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="sporn" data-source="post: 1015776" data-attributes="member: 121788"><p>I'm writing an update to my plugin but video playback is refusing to go fullscreen - i get a black screen with the video playing at native resolution. I want it to play zoomed/ stretched. I've tried everything I can think of and nothing seems to make a difference. I've cleaned my system, I have a fresh install of mediaportal and i'm testing with the Titan skin and here is a snapshot of my desperation:</p><p> </p><p> public bool PlayVideoStreamInFullScreen(string url, string name)</p><p>{</p><p>// Stop player if already playing</p><p>if (g_Player.Playing)</p><p>{</p><p>g_Player.Stop();</p><p>}</p><p>g_Player.FullScreen = true;</p><p> g_Player.ARType = Geometry.Type.Zoom;</p><p> </p><p> Log.Debug("Playing: " + url);</p><p> </p><p>if (g_Player.PlayVideoStream(url, name))</p><p>{</p><p> //Log.Debug("showing fullscreen");</p><p> g_Player.ShowFullScreenWindowVideo();//.ShowFullScreenWindow();</p><p> g_Player.PlayBackStarted += new g_Player.StartedHandler(g_Player_PlayBackStarted);</p><p> </p><p>//Log.Debug("done");</p><p>return true;</p><p>}</p><p> </p><p>return false;</p><p>}</p><p> </p><p> void g_Player_PlayBackStarted(g_Player.MediaType type, string filename)</p><p> {</p><p> g_Player.ARType = Geometry.Type.Zoom;</p><p> }</p><p> </p><p>please let me know where i'm going wrong - this used to work fine in an older version of MP. I can right click on the playing video and select the zoomed aspect ratio and that then expands to fullscreen but i just can't get it working by default.</p></blockquote><p></p>
[QUOTE="sporn, post: 1015776, member: 121788"] I'm writing an update to my plugin but video playback is refusing to go fullscreen - i get a black screen with the video playing at native resolution. I want it to play zoomed/ stretched. I've tried everything I can think of and nothing seems to make a difference. I've cleaned my system, I have a fresh install of mediaportal and i'm testing with the Titan skin and here is a snapshot of my desperation: public bool PlayVideoStreamInFullScreen(string url, string name) { // Stop player if already playing if (g_Player.Playing) { g_Player.Stop(); } g_Player.FullScreen = true; g_Player.ARType = Geometry.Type.Zoom; Log.Debug("Playing: " + url); if (g_Player.PlayVideoStream(url, name)) { //Log.Debug("showing fullscreen"); g_Player.ShowFullScreenWindowVideo();//.ShowFullScreenWindow(); g_Player.PlayBackStarted += new g_Player.StartedHandler(g_Player_PlayBackStarted); //Log.Debug("done"); return true; } return false; } void g_Player_PlayBackStarted(g_Player.MediaType type, string filename) { g_Player.ARType = Geometry.Type.Zoom; } please let me know where i'm going wrong - this used to work fine in an older version of MP. I can right click on the playing video and select the zoomed aspect ratio and that then expands to fullscreen but i just can't get it working by default. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Unable to playback fullscreen
Contact us
RSS
Top
Bottom