-
1. Re: Nested captivate swfs for creating video slides with captions?
ElaKat May 2, 2013 11:50 AM (in response to milhousebarks)I am working on a project that will have a variety of content, including quite a lot of video. I need to provide closed captioning of the video and figured out how to do that by placing the video "on stage" on the slide and having the skin's player bar with the cc. The problem is that I only want the player bar on the video slides, so having the skin's player bar showing on all slides isn't an option.
If I understand correctly, you want to be able to have the playbar (with the closed caption button) visible on video slides, but not on the other slides. You can control the visibility of the captivate playbar with the variable cpCmndShowPlaybar. On slides you want the playbar, you can execute "assign cpCmndShowPlaybar with 1" upon entering the slide. On slides you don't want the playbar, you can execute "assign cpCmndShowPlaybar with 0" to hide it.
Your workaround technically works, but embedding a Captivate swf in another Captivate project can sometimes cause problems since they use the same variables and such. (Someone else can probably explain it better, but I think of it as the two swf files competing for control of the various system variables like cpCmndShowPlaybar.)
-
2. Re: Nested captivate swfs for creating video slides with captions?
Shekhar_Dhiman May 2, 2013 12:53 PM (in response to milhousebarks)Hi there,
Welcome to Adobe Community,
Unfortunately, the closed captioning is only available with the Mutli-Slide Video in CP6 as the CC options shows on the project playbar. You cannot enable it in the Event Video Skin in CP 6.
However, you can enable and disable the playbar on other slides with the help of a system variable called cpCmndShowPlaybar. Set the value of this variable to 1 to show the playbar. Set the value to 0 to hide the playbar.
You need to run an advanced action on Slide enter that hides the playbar and another advanced action on the exit that enables the playbar. Just use a conditional expression.
Check out the below scripts for OnEnter and OnExit.
Thanks!
-
3. Re: Nested captivate swfs for creating video slides with captions?
milhousebarks May 2, 2013 1:04 PM (in response to Shekhar_Dhiman)Thanks Elkat and Shekhar. That gets me almost there.
I thought it was the perfect fix, but then noted one problem. If captions are enabled and then we go to the next slide, the playbar disappears but the caption overlay is still showing (with no text since the captioning is only for the video. Is there anything to force the close of the caption overlay on entering the slide?
-
4. Re: Nested captivate swfs for creating video slides with captions?
ElaKat May 2, 2013 1:10 PM (in response to milhousebarks)There is another variable that controls the CC (sorry for forgetting about it!). It is cpCmndCC, and works the same way. Setting it to 0 hides the captions, setting it to 1 shows them.
To combine them, I would create two standard Advanced Actions (not sure why Shekhar went with a conditional one). One action that assigns cpCmndCC and cpCmndShowPlaybar both with 1 for the video slides, and one action that assigns cpCmndCC and cpCmndShowPlaybar both with 0 for the other slides. Then just execute the appropriate Advanced Action upon entering each slide.
I'd personally caution against using On Exit. As Lilybiri often points out, executing an action upon exiting a slide can be risky, since you have to reach the final frame for it to execute. If the user can navigate away from the slide before reaching the end of the side, or if there is a button pausing before the end that jumps to another slide, the action will not execute and the playbar/closed captions will remain visible.
-
5. Re: Nested captivate swfs for creating video slides with captions?
Shekhar_Dhiman May 2, 2013 2:13 PM (in response to milhousebarks)Hi again,
Yes you can use standard actions as well where you can assign the variables with the respective values and execute them on entering if you have buttons that pause the slide. Playing with the advanced actions depends upon you. You can use them in any way that suits you.
Thanks!
-
6. Re: Nested captivate swfs for creating video slides with captions?
milhousebarks May 3, 2013 8:27 AM (in response to Shekhar_Dhiman)Thank you both again for helping me with the caption conundrum. Looks like I have a solution.
I did a quick test and it worked great. Here is what I am doing.
For playbar:
I use the action to pull up the playbar on any video slides and then use the action to hide it on the first non-video slide following any video.
For the caption overlay:
I use the command to hide it on exit of any video slide. I understand the reasons to be cautious using on exit, but I don't think in this case it should be a problem. There is no next button and even with the playbar I will only show the play/pause, cc and audio buttons, since users have to watch the entire video to continue and we don't want to give them anyway to skip the video. Basically they have to watch the video(entire length of the slide) all the way through and then at the end it just goes to the next slide.
I need to start looking into the Advanced Actions as well and may use that when I do the final.
Thanks again for your help. Now I'm over to the quizes/LMS discussion to vet a few other things.
-
7. Re: Nested captivate swfs for creating video slides with captions?
ElaKat May 3, 2013 8:34 AM (in response to milhousebarks)I'm glad you found a solution that works for you!
I agree that "on exit" shouldn't be a problem for your particular case, especially how you've just described it.
-
8. Re: Nested captivate swfs for creating video slides with captions?
Shekhar_Dhiman May 3, 2013 8:49 AM (in response to milhousebarks)Hello,
Great to hear that you have found a solution. Also in future do share your resolutions on the forum as they can be of lot help to others and help us enhance our knowledge.
Please mark this post as resolved so that other users can also benefit from it.
Thanks!






