Forum Discussion
Audio not playing in Review 360 or S3
- 1 month ago
Here is where I landed...
After battling with this all day with no fix, I realized I could just use a "Play media" trigger to play the audio in the base layer and then use a JS trigger at the very end, just before the timeline ends, to reset the audio, in the case that the user clicks "replay".
💥 In summary: Storyline takes care of the audio start, JS takes care of the fade and reset. That creates no issues when published to Review 360 or S3.
Thank for you help PhilMayor and I hope this saves someone out there a lot of time in the future!
First thing I would check is the console do you have any errors, if one piece of code goers down they all go down
Thanks for your response PhilMayor!
I did what you suggested and discovered that Storyline isn't compiling the JavaScript triggers when I publish. The code works fine in preview mode, but when I publish to Review 360 or web (Amazon S3), I get 'Script not defined' errors - even for a simple one-line test. This appears to be a file corruption or Storyline software issue, not a problem with the actual JavaScript code.
I closed the project and created a simple slide with a test button with a simple Javascript test and that worked. So it looks the issue is somewhere/somehow within my project itself.
So I'm thinking I need to try to maybe copy everything into a fresh project in SL and redo the Javascript triggers from scratch. Do you think this will solve what appears to be a corrupted project file?
Thank you!
Related Content
- 11 months ago
- 1 year ago