Controlling Slide Videos through AS2
Author | Message |
I'm programming a custom player. How do I access
|
Hi!
|
Thanks, please consider this option for future updates.
|
Made some progress on this. Code: // slides array
var slds = MyPlayer.m_skin.m_playbackController.m_presentation.m_slides.m_slides; // loop through each slide object for(var i=0;i<slds.length;i++){ // get the video controller var vpc = slds[i].m_slideInstancePlayer.m_listener.m_listener.m_videoPlaybackController; // list of active videos on this slide // note: careful this will be empty until slide fully initializes var avlist = vpc.m_activeVideos; if(avlist.length > 0){ // if list exists... for(var j=0;j<avlist.length;j++){ // loop through videos avlist[j].video.m_playbackIsEnabled = false; // disable mouse var v = avlist[j].video.m_target; //get movieclip reference v.useHandCursor = false; // hide hand cursor v.play(); // ... as a test manually play the current video }//j } }//i
|
FPChris wrote: Made some progress on this. For my purposes I can probably get by doing it this way. It may help others trying to directly control the slide videos. This also disabled mouse clicking of the videos within the slide. Good if it works for you. However, please take into account that you are using non documented features of the presentation player. There is no any guarantee that this trick will work fine with future versions.
|
True. The above was just a brute force method for testing.
|
Just thought I'd vote for this feature too. Looking to sync video and slide presentations.
|
||||
|
Who is online | |
---|---|
![]() |
In total there are 9 users online :: 1 registered, 0 hidden and 8 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] |