Need help with web object
Jul 17, 2013
I really need help in understanding why my web object isn't working. I've attached the SL file which is VERY straight-forward; it only has 1 slide. My web object has 2 buttons that call two JS functions. They reference the SL player and change one SL variable. When the variable is adjusted, it's supposed to toggle the states of a popup that I made (Passed or Failed). This works 100% accurately in Chrome & IE. In FF and Safari, the variable changes consistently BUT it doesn't trigger the state change. Can someone help me understand why it doesn't work in FF and Safari as expected, yet it does in Chrome & IE?
EDIT: I should add, I tested all of these browsers with the files on SCORM Cloud; they don’t seem to work locally. I wish they did.
20 Replies
Hi Jason
I checked this on IE10, Safari, Chrome and FF and it works everytime
http://www.test.elearninglaboratory.co.uk/testprint/story.html
Nice job!
I checked which version of FF I was using (15) and update it also worked with 16 and 22 (latest for Mac)
Chrome is v28
Safari is v5.05
Phil, thanks for checking. When you say it worked, what's your definition? I see the variable updating with every click via the text field at the bottom, however the popup doesn't show//change state??? As a reminder, I have a trigger on my slide that is supposed to change the state of the popup when the 'dummyVar' variable is adjusted. At my link (which I'll include), it works for Chrome & IE but not FF & Safari. At your link, it works only in Chrome. Again, by working I'm referring to the popup changing state. It's clearly updating the variable every time. Ideas?
Here's my link on SCORM Cloud: https://cloud.scorm.com/sc/InvitationConfirmEmail?publicInvitationId=da926ee5-9acd-43c3-bf4f-0e43ca3251fb
the popup changed and variable updated on all browsers
IE10 was PC
Safari, chrome and FF were Mac
Just checked all four again all show popups changing as the variable changes
checked your link and safari and ff work fine (popup changes with the variable
Works for me too.
Phil, any ideas why it's not for me? Here are my versions:
ALL WINDOWS 7
Chrome v28
IE9
FF v22 (doesn't work)
Mobile Safari v6 (iOS 6) (doesn't work)
Were you able to test on an iPad? Anyone? That's important to my project. Thanks again for checking.
Sorry no idea why is sint working for you
On the iPad the variable changes but the popups dont work
the communication to change the variable is ALWAYS working so the failure is not in the web object or the variable or any of the logic BUT the trigger that listens for the variable change seems to expire or something...it just doesn't fire. Anyone out there have any suggestions of ideas? FF & Safari on Mac seem to work (according to Phil, thanks!) but FF on Windows 7 and Mobile Safari on iPad does not.
Any chance a tech support rep from Articulate can find the technical reason...I really need this to work and there doesn't seem to be a reason on my end why it doesn't. I'd even pay for tech support if it's an option because this project is time-sensitive.
Hi Jason,
Have you submitted a Support case for this yet? I would say that's the next step as it looks like you've tested it and are getting one results, while some other community members are able to have it work correctly.
Thank you all for your responses! I have paid to have it looked at by an Articulate engineer but your continued efforts are appreciated and maybe can help blaze a trail for other users. It seems like this may be an issue of it working in Flash but not in HTML5. Can you guys confirm this?
This appears to be an issue of HTML5 vs. Flash. I tried it in Firefox v22 with Flash enabled and it worked; then I disabled Flash and it didn't work. And by "worked", I mean the web object is always communicating correctly and updating the variable but the SL triggers don't respond to the variable being updated.The Flash version works 100% and the HTML5 version works...99%. Which is frustrating. I just can't figure out why the SL trigger is firing in the Flash version but not in the HTML5 version, especially since the web object is communicating with the SL player correctly. It's like the HTML5 version doesn't listen for the event. This is definitely FIXABLE I gotta believe. Ideas?
Try a different variable, number or text. I can see the variable is changing but wonder if it is getting screwed up, try setting a number as 1 or 0.
There has been talk that html5 doesn't handle booleans well, and yes I am clutching at straws
I'll try that and let you know. thx!
Phil, that was a great suggestion and it did help solve the issue. The issue is definitely the way iFrame's get processed in HTML5 vs. Flash. I changed the boolean variable to a number variable and used -1 (init), 0 (fail), 1 (pass). I also tried text variables as a test and I think it could work like that with hard-coded strings but I didn't feel as confident with that. Also, it seems to have an issue with the trigger to "Show Layer". When I tried that trigger, it seemed to lock up the web object but when I leave it as "change state of" and just create different states for my object (in place of layers), it seems to work fine. I'll attach my test file.
Thanks for updating us Jason, and glad you got it figured out!
It does seem to be a bug. If anyone else is trying to do something similar, I recommend using numeric values instead of boolean values and avoiding layers in your triggers in lieu of objects with different states.
Glad you got it figured out and thanks for sharing your file
Its Nice Work
This discussion is closed. You can start a new discussion or contact Articulate Support.