Skin development: obtain more advanced examples
Author | Message |
Hi,
|
We do not provide source code of Advanced Skin. However, we are glad to give you some recommendations.
|
Thanks for your kind reply.
|
RowenaTheWitch wrote: Thanks for your kind reply. Should I also implement IPresenterVideoController? I haven't found a way to get an instance of it from the IPlayer interface. No, you don't have to implement the IPresenterVideoController interface. This interfaces is implemented within player core and its instance is passed to the initialize method of the IPresenterVideoWindow interface. RowenaTheWitch wrote: Does "provide player core with fsplayer.ui.skins.IPresenterVideoWindow interface." mean that I have to extend the current player core? (sorry, english is not my first language) You need to create a class which implements the IPresenterVideoWindow interface: Code: import fsplayer.ui.skins.IPresenterVideoWindow; class MyPresenterVideoWindowimplements IPresenterVideoWindow { function initialize(presenterVideoController:IPresenterVideoController):Void { // here you need to make some initialization // for example, to store the passed presenter video controller // and listen to its events } function getPresenterVideoTarget():MovieClip { // this method should return a MovieClip where player core will render presenter video } } You need also to implement the fsplayer.ui.skins.ISkinEx interface. Something like this: Code: import main.CNullSkin; import fsplayer.ui.skins.IPresenterVideoWindow; import fsplayer.ui.skins.ISkinEx; class MySkin extends CNullSkin implements ISkinEx { private var m_presenterVideoWindow:MyPresenterVideoWindow; function MySkin(target:MovieClip) { super(target); m_presenterVideoWindow = new MyPresenterVideoWindow(); } function hasPresenterVideoWindow():Boolean { return true; } function getPresenterVideoWindow():IPresenterVideoWindow { return m_presenterVideo; } } We also provide consulting services - contact sales@ispringsolutions.com for more details.
|
Thanks a lot, you really helped me :)
|
Hello,
|
Hello again,
|
Quote: iSpring.Presenter permits to load a photo presenter as follows : loadPhoto(path) And i have been looking for a similar way to load a video presenter but don't find any methods like loadVideo(path). Could you tell me please how i could do that ? Currently you can only load presenter's photo via API. Video can be added using iSpring Presenter add-in in PowerPoint.
|
Hi,
|
||||
|
Who is online | |
---|---|
![]() |
In total there are 7 users online :: 1 registered, 0 hidden and 6 guests (based on users active over the past 5 minutes) Most users ever online was 803 on Sat Dec 12, 2020 9:21 am Registered users: Google [Bot] |