Can you share the js code for "Resume presentation from las.
Author | Message |
Hi,
|
Thank you for posting here. Code: /* ... */ import CPlaybackResumer; class main.CNavigationPanelSkin extends CNullSkin { private var m_playbackResumer:CPlaybackResumer; /* ... */ function initialize(playerAPI:IPlayer):Void { /* ... */ m_playbackResumer = new CPlaybackResumer(playerAPI); if (m_playbackResumer.resumeAvailable()) { m_keyboardController.enabled = false; m_playbackResumer.beginResumeConfirmation(); showResumePlaybackConfirm(); } } function onResumePlaybackConfirmClosed(confirmed:Boolean):Void { m_playbackResumer.endResumeConfirmation(confirmed); m_keyboardController.enabled = true; } function showResumePlaybackConfirm():Void { var confirmed:Boolean = false; // TODO: show MessageBox and change 'confirmed' variable onResumePlaybackConfirmClosed(confirmed); } /* ... */ } The method showResumePlaybackConfirm() should call the window (specified in TODO comment). Depending on the user's choice, this variable will save the actual state: confirmed You can get it by the following link as well: https://dl.dropbox.com/u/70769820/Other/code/CNavigationPanelSkin.as
|
Hi Mikhail!
|
||||
|
Who is online | |
---|---|
![]() |
In total there are 12 users online :: 2 registered, 0 hidden and 10 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: Bing [Bot], Google [Bot] |