2014-10-26, 13:18
Here's a video player GUI control (software decode). It works exactly the same as "image" in a skin like so:
You should be able to use any tag that works on "image" control (Not that I've tried it)
Here's a demo video (https://***) showing the Confluence background replaced with 4 "ffmpeg" controls. The background/left/middle videos are .avi/.swf/.mp4 respectively. The right blue is a bad filename to show that fallback= works.
Make me something awesome with it! But you gotta patch/recompile xbmc to play with it.
Patch against Helix
GitHub commit
Screenshot (but you should really watch the demo):
*https://github.com/xbmc/xbmc/pull/5575
Code:
<control type="ffmpeg">
<left>480</left>
<top>100</top>
<width>320</width>
<height>180</height>
<texture fallback="whateves.jpg">/some/video/file.mp4</texture>
</control>
You should be able to use any tag that works on "image" control (Not that I've tried it)
Here's a demo video (https://***) showing the Confluence background replaced with 4 "ffmpeg" controls. The background/left/middle videos are .avi/.swf/.mp4 respectively. The right blue is a bad filename to show that fallback= works.
Make me something awesome with it! But you gotta patch/recompile xbmc to play with it.
Patch against Helix
GitHub commit
Screenshot (but you should really watch the demo):
*https://github.com/xbmc/xbmc/pull/5575