Custom eLearning and Digital Training Solutions Provider
  • Home
  • eLearning Services
    • Custom Elearning Solutions
    • Convert PowerPoint to eLearning
    • Rapid eLearning Development
    • Translation and Localization
    • Flash To HTML5 Conversion
    • Legacy Content Conversion
    • Mobile Learning
    • Gamified Learning Solutions
    • Blended Learning Solutions
  • Software Development
    • Learning Management System
    • Workforce Management System
    • Human Resource Management System
    • Bug Tracker Software
    • Custom Software Development
  • Contact Us
  • Blog
  • Search
  • Menu Menu
  • 0Shopping Cart
  • Home
  • eLearning Services
    • Custom Elearning Solutions
    • Convert PowerPoint to eLearning
    • Rapid eLearning Development
    • Translation and Localization
    • Flash To HTML5 Conversion
    • Legacy Content Conversion
    • Mobile Learning
    • Gamified Learning Solutions
    • Blended Learning Solutions
  • Software Development
    • Learning Management System
    • Workforce Management System
    • Human Resource Management System
    • Bug Tracker Software
    • Custom Software Development
  • Contact Us
  • Blog

Create Interactive Volume Controls in Storyline 360 with JavaScript in Just a Few Steps

When designing eLearning courses, providing learners with intuitive controls can significantly enhance the learning experience. One common request is the ability to add a custom volume slider. In Articulate Storyline 360, this can be achieved by combining a simple slider with JavaScript.

Click Preview to watch how to Create Interactive Volume Controls in Storyline 360 with JavaScript in Just a Few Steps.

Preview

In this article, we provide step-by-step instructions to create a fully functional custom volume slider in Articulate Storyline 360. This solution enables learners to control the audio directly, while giving you greater flexibility in course design and enhancing the overall user experience.

What is Articulate Storyline 360?

Articulate Storyline 360 is a powerful eLearning authoring tool used to create interactive, multimedia-rich online courses. It is part of the Articulate 360 suite, which includes other tools like Rise 360, Review 360 and Content Library. Storyline 360 is especially popular for creating custom, highly interactive courses for desktop, mobile and tablet learning.

Key Features of Articulate Storyline 360

✔ Slide-Based Authoring: Similar to PowerPoint, allowing you to design slides with text, images, audio and video.

✔ Interactive Elements: Add buttons, sliders, drag-and-drop interactions, quizzes and more.

✔ Triggers & Variables: Create dynamic interactions by controlling the course flow based on learner actions.

✔ Responsive Player: Courses automatically adjust to different screen sizes and devices.

✔ JavaScript Integration: Advanced users can use JavaScript to extend functionality, like custom sliders or analytics tracking.

✔ Built-in Templates & Assets: Access a library of characters, icons, backgrounds and prebuilt interactions.

✔ SCORM & xAPI Compliant: Easily publish courses for Learning Management Systems (LMS).

Why Create a Custom Volume Slider?

Before diving into the setup, here are some key reasons why adding a custom slider makes sense:

✔ User-friendly design: You can place the slider anywhere on the slide to match your layout.

✔ Consistent branding: Custom controls help your course align with your brand’s look and feel.

✔ Better accessibility: Learners can adjust volume without relying on Storyline’s default player.

Looking to Learn More About Articulate Storyline 360?

We offer free online training to help you master Articulate Storyline 360, whether you’re a beginner or looking to expand your skills.

Click the link below to access Free Articulate Storyline 360 training.

https://www.swiftelearningservices.com/articulate-storyline-360-free-tutorials/

Step-by-Step Guide to Creating a Custom Volume Slider in Storyline 360 with JavaScript in Minutes

Step 1: Insert a Slider

✔ Open your project in Articulate Storyline 360.
✔ After designing your slide, go to the Insert tab.
✔ Select Slider and place it on your slide.

This slider will act as the volume control for your course audio.

Step 2: Add a JavaScript Trigger at Timeline Start

✔ Create a new trigger to execute JavaScript when the timeline starts on this slide.
✔ Open the JavaScript editor.
✔ Paste in your JavaScript code (provided in below).

setVar(‘Slider1’,DS.appState.currentVolume() * 10);
let lastVolume = DS.appState.currentVolume();
setInterval(() => {
const currentVolume = DS.appState.currentVolume();
if (currentVolume !== lastVolume) {
lastVolume = currentVolume;
const sliderValue = Math.round(currentVolume * 10);
setVar(‘Slider1’, sliderValue);
}
}, 50);

✔ Click OK.

This initializes the audio system and prepares it for dynamic volume adjustments.

Step 3: Add a Trigger for Slider Value Change

✔ Create another trigger to run JavaScript when the slider value changes.
✔ Open the JavaScript editor again.
✔ Paste in the same JavaScript code (provided in below).

const progressbar = object(‘5XP2Qy682TN’);
const slider = getVar(‘Slider1’);
DS.appState.setVolume(slider / 10);
progressbar.state = slider.toString();

✔ Click OK.

This ensures the slider communicates directly with the audio system whenever the learner adjusts it.

Step 4: Add a Condition for Safe Volume Control

✔ In the trigger window, add a condition so the script only applies when the slider value is between 0 and 10.
✔ This ensures that learners cannot push the audio beyond intended limits.


Pro Tip: You can customize this range depending on your course needs, but 0–10 is a safe, balanced setup.

Step 5: Test Your Course

✔ Preview your slide in Storyline 360.
✔ Drag the slider to increase or decrease the volume.
✔ Confirm that the slider directly controls your course audio.

If everything is set up correctly, your custom volume slider will function seamlessly.

Best Practices for Using JavaScript in Storyline 360

✔ Keep code snippets simple: Avoid overly complex JavaScript that may cause conflicts.

✔ Test across browsers: Preview in Chrome, Edge and Firefox to ensure smooth playback.
✔ Use consistent slider design: Make the slider visually clear, so learners know it controls volume.

✔ Document your setup: If you hand off the project, clear notes will help others maintain it.

Looking for a Learning Management System (LMS) Solution?

We offer Learning Management System (LMS) solutions tailored to your organization’s unique training, compliance, and performance management goals.

Whether you’re a corporate organization, educational institution, or non-profit, we’re here to help you deliver engaging, scalable, and measurable learning experiences.

Click on the Sign Up button to Sign Up and get instant access to our LMS — absolutely FREE!

Sign Up

Conclusion

Adding a custom volume slider in Articulate Storyline 360 using JavaScript is a powerful way to improve learner experience and maintain control over your course design. By following these simple steps, insert a slider, add JavaScript triggers. You can deliver a polished, professional audio control system that goes beyond the default Storyline player.

With this customization, your eLearning projects will not only look more professional but also offer learners greater flexibility and accessibility.

Frequently Asked Questions (FAQs)

Q1. What is a custom volume slider in Articulate Storyline 360?
A. Custom volume slider is an interactive element added to a Storyline 360 slide that allows learners to adjust audio volume directly, providing a more user-friendly alternative to the default player controls.

Q2. How can I create custom mute & unmute buttons in Storyline 360?
A. You can create custom mute and unmute buttons in Storyline 360 using shapes or buttons linked to JavaScript triggers.

For a step-by-step demonstration, check out this short video tutorial: 

https://www.youtube.com/watch?v=LWRSHvhx1Rg

Q3. Is a custom volume slider compatible with Storyline 360 mobile courses?
A. Yes. By using HTML5 and JavaScript, the slider can work on mobile devices, but it’s important to test responsiveness and touch controls for optimal performance.

Q4. How do custom volume sliders improve learner engagement in Storyline 360?
A. Custom volume sliders give learners control over their experience, allowing them to adjust narration or background music. This increases engagement, reduces frustration and supports accessibility by accommodating different learning environments.

Q5. Are custom volume sliders supported in SCORM or LMS packages?
A. Yes. When published as SCORM or xAPI, custom volume sliders work in most Learning Management Systems, provided the JavaScript and HTML5 audio functions are supported by the LMS environment.

Our Articulate Storyline 360 courses are engaging, visually rich, and compatible with SCORM/xAPI for easy LMS deployment.
https://www.swiftelearningservices.com/articulate-storyline-360-free-tutorials/

ARTICULATE STORYLINE POSTS

  • step-by-step guide to customize quiz feedback colors in rise 360
    How to Customize Correct and Incorrect Answers Feedback Colors in Articulate Rise 360June 27, 2025 - 4:40 PM
  • removing labels and numbers from process blocks in articulate rise 360
    How to Remove Labels and Numbers from Process Blocks in Articulate Rise 360June 20, 2025 - 3:07 PM
  • easy-online-course-creation-ispring-suite-swift-elearning-services
    Create Online Courses with Ease Using iSpring Suite – The All-in-One eLearning Authoring Tool for PowerPointJune 16, 2025 - 11:18 AM
  • how to adjust padding in articulate rise 360 content blocks for custom e-learning
    How to Adjust Padding in Articulate Rise 360 Content Blocks for Custom E-LearningJune 9, 2025 - 5:23 PM
  • swift elearning services focuses on crafting custom elearning courses that enhance digital learning experiences.
    How to Use Snapshots to Recover Deleted Lessons in Articulate Rise 360April 23, 2025 - 3:58 PM
  • swift elearning services provides articulate 360 localization, offering tailored elearning solutions that adapt your content for global audiences.
    Articulate 360 Localization: Create, Translate, and Manage Training with EaseApril 17, 2025 - 11:24 AM
  • custom elearning solution with jump-to-time video control in storyline 360 for interactive video navigation.
    How to Use Jump-to-Time Trigger to Control Video in Storyline 360April 11, 2025 - 10:51 AM
  • how to import slides from other storyline projects
    Articulate Storyline 360 – How to Import Slides from Other Storyline ProjectsMarch 25, 2025 - 5:52 PM
  • ohs-traffic-control-training-for-construction-workers-featured-image
    OHS – Traffic Control Training Course for Construction WorkersSeptember 9, 2024 - 5:56 PM
  • ohs-road-traffic-control-training-for-road-maintenance-workers-featured-image
    OHS – Traffic Control Work Zone Safety Training for Road Maintenance WorkersAugust 1, 2024 - 3:22 PM

Get a Free Prototype Customized with Your Content.

Our Portfolios Explore Our Extensive Collection of eLearning Courses.

GET A FREE ELEARNING SAMPLE

We transform your training material into engaging, SCORM-compliant courses.

Request a Free Sample  

Our Services


  • Rapid eLearning Solutions

  • Custom eLearning Development

  • Flash to HTML5 Conversion Services

  • Mobile Learning Solutions

  • Translation and Localisation Services

  • Gamification eLearning

Our Office Address

Asia: 704, Topaz Plaza, Punjagutta, Hyderabad, Telangana, India 500082

Australia: P.O. Box 107, Brisbane, Queensland, 4030

Canada: 750 Oakdale Rd Suite 56, North York, ON M3N 2Z4, Canada

USA: 12218 Old Gage Ranch, San Antonio, Texas 78245

Copyright ©2026 Swift eLearning Services.
  • Facebook
  • Twitter
  • LinkedIn
  • Youtube
Boost Learner Engagement with Rise 360 Custom Blocks in eLearning Lessonsenhance elearning rise 360 custom blockscoffee training elearning sampleHow to Brew the Best Espresso Drinks – Interactive eLearning Example
Scroll to top