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
[HELP/C#] How do I start playback of a stream
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="Mavamaarten" data-source="post: 1007479" data-attributes="member: 142361"><p>I'm a rather experienced C# coder, and I really really feel bad for making this thread.</p><p>I have made a Noobroom API for C# before, and now I was making a plugin for MediaPortal. Everything is working great so far:</p><p> </p><p><img src="http://i.imgur.com/WQ5Xa8b.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p>Now the thing is, I cannot start the playback. I simply have no idea how! I have tried</p><p>[CODE]MediaPortal.Player.IPlayer player = new MediaPortal.Player.PlayerFactory().Create("URL");</p><p>player.Play("URL");[/CODE]</p><p>But other than showing a little loading circle it does nothing at all. I have checked and the URL my API generates is correct and leads to a .flv file. Can anyone tell me how to start video playback or stream a video? I suspect it's easy but the documentation doesn't say anything about controlling MediaPortal functionality.</p></blockquote><p></p>
[QUOTE="Mavamaarten, post: 1007479, member: 142361"] I'm a rather experienced C# coder, and I really really feel bad for making this thread. I have made a Noobroom API for C# before, and now I was making a plugin for MediaPortal. Everything is working great so far: [IMG]http://i.imgur.com/WQ5Xa8b.jpg[/IMG] Now the thing is, I cannot start the playback. I simply have no idea how! I have tried [CODE]MediaPortal.Player.IPlayer player = new MediaPortal.Player.PlayerFactory().Create("URL"); player.Play("URL");[/CODE] But other than showing a little loading circle it does nothing at all. I have checked and the URL my API generates is correct and leads to a .flv file. Can anyone tell me how to start video playback or stream a video? I suspect it's easy but the documentation doesn't say anything about controlling MediaPortal functionality. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
[HELP/C#] How do I start playback of a stream
Contact us
RSS
Top
Bottom