Link actions

I have two videos in my lesson. When one is launched it should auto play as well as stop and hide the other video. This was working perfectly. But now is not.

Video 1 actions: Upon selecting video 1 link - video1 is launched

  1. Upon video1 launch change var1 to true
  2. Upon video1 launch change var2 to false
  3. play video1 if var1 = true, else stop video1
  4. Upon show hide video 2
  5. Upon show stop video 2

Video 2 actions: Upon selecting video 2 link - video2 is launched

  1. Upon video2 launch change var2 to true
  2. Upon video2 launch change var1 to false
  3. Play video2 if var2 = true, else stop video2
  4. Upon show hide video 1
  5. Upon show stop video 1

I'm testing in IE - this is a requirement. Until yesterday this worked perfectly.

undefined

Discussion (4)

Jason... the reverse was the issue.

The website was not listed; however, once I added the site the actions worked.

Not sure how the client will handle this, as I am not sure of their settings.

Thank you for your assistance.

~Z

undefined

Thank you for the information Jason.

I did test in IE 11 - same browser version, computer, set up, etc. The variables seems to be problematic with IE. I tested in Chrome and Firefox - just to see if I set things up correctly. All good with those browsers.

undefined

~Z

When you said it worked the other day, were you testing it within Lectora or in Internet Explorer?

Another way you might try is using action groups rather than variables. If each video link calls an action group when clicked.

Action group1

  • hide video 2
  • stop video 2
  • show video 1
  • play video 1

Action group 2

  • hide video 1
  • stop video 1
  • show video 2
  • play video 2

Hope that helps,

Jason

One of the problems with IE is the compatibility settings. Alt-T will open the tools menu, then click on Compatibility View settings. See if your CBT's website is listed. If it is try removing it. I know my company uses IE9, but the compatibility settings make it IE7, so problems do occur.

Discussions have been disabled for this post