Having multiple states on a (video) web object plays all states in parallel
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&showsearch=0&showinfo=0&wmode=transparent" 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&showsearch=0&showinfo=0&wmode=transparent&cc_load_policy=1" frameborder="0" allowfullscreen=""></iframe> |
