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

How to play background music in loop: Articulate Storyline 360

Introduction

Elevate your eLearning game with the dynamic duo – Storyline 360 and JavaScript. Articulate Storyline, the industry-leading authoring tool, empowers you to craft engaging interactive experiences. But sometimes, its built-in functionalities just aren’t enough. Using JavaScript in articulate storyline 360, you unlock Pandora’s box of customization, personalization, and interactivity, taking your eLearning content development to the next level.

Follow our step-by-step tutorial video for a better understanding.

Table of Contents
1 How to play background music in loop: Articulate Storyline 360
2 Introduction
3 How to play background music continuously throughout the course in Articulate Storyline 2
4 How to add a continuous background music in a Storyline 2?
5 Conclusion

How to play background music continuously throughout the course in Articulate Storyline 2

Articulate Storyline provides maximum flexibility to customize interactivity with minimal effort. This web-based authoring tool enables you to add JavaScript, which can greatly enhance your eLearning courses. It’s relatively easy to extend and enhance the functionality of the built-in features in Storyline by default.

Get in Touch
Looking for eLearning solutions? Contact us today to learn more.

CONTACT US

Case Study:

We recently faced a challenge while developing a course for a Registered Training Organization (RTO). The course content was presented in a simple form without any voice-over, and the target audience was aged between 20 and 30 years. To make the content more engaging, the client requested that we add background music to the course.

We encountered an issue when we embedded music into individual screens of the course. Each time the user clicked on the next screen, the music would start playing from the beginning. Even when we added the audio to the Master slide, the problem continued. We have successfully overcome this limitation by customizing the course with the help of JavaScript.

How to add a continuous background music in a Storyline 2?

By following the instructions below, you can play a single audio file throughout the entire course.

Here are the steps to be followed:

Step 1

Created a file called index.html in text editor (Notepad) and added the code.

image_1

Step 2

Place the audio files in the same folder.

image_2

Step 3

Open Articulate Storyline 2. Click on “INSERT” tab and select “Web Object”. Browse the folder location and click “Ok”.

image_3

Step 4

Create a new trigger. You will see a “Trigger Wizard” pop-up appearing. Click on “Action” dropdown icon and select “Execute JavaScript”.

image_4

Step 5

From “Script” just below “Action”, write the JavaScript in the given whitespace and click “Ok”. In “When” field select “Timeline starts”.

image_5

Step 6

Create a new trigger and set action, jump to the next slide when timeline starts.

image_6

Step 7

Now select the “SLIDE MASTER” and insert buttons.

image_7

Step 8

Select button and create a new trigger. In “Script” field write the code and click “Ok”. In “When” field, select “Timeline starts”. You can do the same for second button.

image_8

var cl = $(‘iframe.item.webobject:eq(0)’).clone();

$(cl[0]).css({

‘postion’:’absloute’,

‘z-index’:0

})

$(‘body’).append(cl[0]);

$(‘.framewrap’).css({

‘postion’:’relative’,

‘z-index’:1

});

Button 1

stopAudio();

playAudio(‘Feel_Good.mp3’);

Button 2

stopAudio();

playAudio(‘ My_Presentation.mp3’);

Note:

  1. This does not work in preview mode
  2. This does not work in offline mode for chrome
  3. This functionality works only when you host the course on a server

Frequently Asked Questions (FAQs)

1. How do you loop audio in Articulate Storyline?

You can loop audio in Articulate Storyline by following these steps:

  1. Select the slide that contains the audio you want to loop.
  2. Go to the “Audio Tools” tab on the Storyline ribbon.
  3. Click on the “Edit” button in the “Audio” section to open the audio editor.
  4. Click on the “Loop” button in the audio editor. This will set the audio to loop continuously.
  5. Preview the slide to ensure that the audio is looping correctly.

2. How do you add music to Articulate Storyline?

To add music to Articulate Storyline, follow these steps:

  1. Go to the slide where you want to add music.
  2. Click on the “Insert” tab on the top menu.
  3. Click on the “Audio” option in the media group.
  4. Select “Audio from file” option and browse to the audio file you want to use.
  5. Select the audio file and click on the “Open” button.
  6. The audio file will be added to the slide, and you can preview it by clicking on the “Preview” button in the audio tools.

3. How do you loop a video in Articulate Storyline?

To loop a video in Articulate Storyline, follow these steps:

  1. Insert the video into your slide by going to the Insert tab and selecting Video.
  2. Once the video is inserted, click on it to select it.
  3. In the Video Tools Format tab, select Loop Playback under the Video Options group.
  4. Preview the slide to ensure the video is looping correctly.

4. What are the prerequisites for using JavaScript in Storyline 360?

Basic knowledge of JavaScript, understanding the Storyline 360 environment, and access to the JavaScript trigger.

5. Are there limitations to using JavaScript in Storyline 360?

While powerful, JavaScript integration in Storyline 360 has some limitations, such as potential security concerns and compatibility issues.

6. How can I troubleshoot JavaScript-related issues in Storyline 360?

Utilize debugging tools, check for syntax errors, and ensure your scripts comply with Storyline 360’s environment for effective troubleshooting.

7. Does Articulate support JavaScript integration in Storyline 360?

While Articulate doesn’t officially support custom JavaScript, developers can leverage the platform’s open environment to integrate and experiment.

Conclusion

Integrating JavaScript with Storyline 360 is a game-changer in eLearning content development, empowering developers to create interactive and personalized educational experiences. By understanding the intricacies and potential of this integration, creators can unlock new dimensions in the world of digital learning.

How to add custom course timer in articulate storyline 3 or 360?

State animations – How to add animations to images or shapes?

Articulate Storyline 360 – Free Training Tutorials

Swift ELearning Services provides a valuable opportunity for individuals who are enthusiastic about acquiring skills in the use of Articulate Storyline 360, a popular e-learning authoring tool. The company offers free tutorials that are designed to enhance the learning experience of users, making it easy for them to navigate the software and create high-quality e-learning content.

Get in Touch
Are you looking for custom content providers to outsource the e-learning course productions?

CONTACT US

Articulate Storyline 360 is a powerful tool that enables users to create interactive and engaging e-learning courses. However, it can be challenging for beginners to master the various features and capabilities of the software. Swift ELearning Services recognized this challenge and created a solution by providing free tutorials that aim to simplify the learning process.

Through these free tutorials, individuals can access valuable resources that will help them understand the intricacies of Articulate Storyline 360. The tutorials cover a wide range of topics, including how to create animations, interactions, and assessments, among others. By following the step-by-step instructions, users can learn how to create compelling e-learning courses that meet their specific needs.

Please click on the below link to view our Articulate Storyline training videos.

introduction to articulate storyline 360 – a quick overview

The last comment and 67 other comment(s) need to be approved.
8 replies
  1. Al
    Al says:
    September 8, 2017 at 10:35 PM

    Hi, I need to test it but I don’t own a server, may I try it on something like ScormCloud or TempShare ?
    https://blogs.articulate.com/word-of-mouth/get-your-storyline-projects-online-with-tempshare/

    Do I need to put the WebObject in the ZIP after?

    Reply
    • Swift Elearning Services
      Swift Elearning Services says:
      September 13, 2017 at 5:44 PM

      Hi Alexandre,
      Yes, it works on ScormCloud or TempShare.
      You only need to add the WebObject with Storyline.

      Reply
  2. Masoud
    Masoud says:
    January 12, 2018 at 2:12 AM

    Hello, how can I write a JavaScript code that creates random numbers from one to ten so that by clicking on a button, this JavaScript command does not repeat the code that it generates, for example, if it shows three for the first click, in the next click three are do not be shown. thanked

    Reply
    • Swift Elearning Services
      Swift Elearning Services says:
      January 19, 2018 at 6:53 PM

      Here is the link to one of our blog which should answer your requirement.
      https://www.swiftelearningservices.com/random-numbers-in-articulate-storyline-3/

      Reply
  3. Luisa
    Luisa says:
    March 26, 2020 at 8:49 AM

    Would this work if the deliverable needs to be launched in MindTickle (we can only add a zipped SCORM file in MindTickle)?

    Reply
    • Swift Elearning Services
      Swift Elearning Services says:
      April 30, 2020 at 10:54 AM

      Dear Luisa,

      Thanks for posting your comment.

      Yes, after making changes as per the blog steps output file can be hosted on your MindTickle platform.

      Hopefully you have followed the steps described on the blog.

      If you need any further information/ support then please let us know.

      Reply
  4. Tracy W
    Tracy W says:
    September 8, 2023 at 8:02 AM

    I followed your instructions, and now my course feels so much more engaging with background music. My students love it! Do you have any other tips for making e-learning courses more interactive and captivating?

    Reply
    • Custom eLearning Solutions
      Custom eLearning Solutions says:
      October 17, 2023 at 3:49 PM

      That’s fantastic to hear that your students are loving the background music in your custom e-learning course! Click here for a few more tips to make your Articulate Storyline courses even more interactive and captivating.

      Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Share this entry
  • Share on Facebook
  • Share on Twitter
  • Share on Pinterest
  • Share on LinkedIn

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
How to use Fluid Boxes – Web Responsive Design in Captivatetop 4 proven instructional design strategies for elearningInstructional Design Strategies: Enhance Corporate Training
Scroll to top