Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Having multiple states on a (video) web object plays all states in parallel

Community Beginner ,
Nov 16, 2017 Nov 16, 2017

This has got to be a bug..

I create a web object to play a youtube video (with no subtitles). I create a second state that plays the same video (with subtitles switched on) and captivate plays both videos at the same time. When both videos are playing, one is in the background and can't be accessed through the UI - so can't be switched off!

I think I have broken the concept of State.

For clarity, the subtitles are part of the youtube video - and not Cp subtitles.

If anyone has any bright ideas about how I can amend the URL parameters of a youtube video based on a variable (toggle) then I'm all ears. I am running into one dead end after another...

Thanks

Example embed code... the only difference is the presence of cc_load_policy=1 in the second snippet.

State(normal)

  

<iframe class="video-frame" width="100%" height="500" src="https://www.youtube.com/embed/CYu7Dae54K8?autoplay=1&rel=0&iv_load_policy=3&modestbranding=1&showsea..." frameborder="0" allowfullscreen=""></iframe>

State(CC)

  

<iframe class="video-frame" width="100%" height="500" src="https://www.youtube.com/embed/CYu7Dae54K8?autoplay=1&rel=0&iv_load_policy=3&modestbranding=1&showsea..." frameborder="0" allowfullscreen=""></iframe>
186
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 16, 2017 Nov 16, 2017
LATEST

To be honest, I don't think this is the kind of use case for Object States that the Adobe developers would have been envisaging when they added the feature.

Full marks to you for being creative and thinking outside the box.  But I think you are correct that you've created a situation where the states don't actually work as you would like, probably because you are playing separate instances of the same streamed video inside an iframe on separate states of the same web object.  (I'd be amazed if there was such a use case proposed when Object States were implemented.)

If I had to try and do something like what you are currently doing, I think I would be branching the user to a different slide altogether that had another instance of the web object and video with captions. That sounds more controllable to me.

I'd be giving the user a button on both slides that then gave them the opportunity to jump from one slide to the other.  This button could then LOOK like it was the same button toggling the CC on and off when in reality it was a different button on a totally different slide.  But this solution would also mean that the video would probably start again from the beginning rather than just seamlessly playing.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources