ISSUE: Embedded mp3 files autoplay in D2L even when they are set not to autoplay
Users report that mp3 files uploaded to D2L and embedded in the course content autoplay even when they are set not to autoplay.
- The following browsers were tested:
- Firefox 42 (Windows 8.1 Enterprise, Windows 10 Education, and OSX 10.11)
- Chrome 46.0.2490.86 m (64-bit) (Windows 8.1 Enterprise, Windows 10 Education, and OSX 10.11)
As of 11/20/2015 this issue still exists.
Some workarounds to get your mp3 files to not autoplay:
Option 1: Upload your audio files to Kaltura MediaSpace and embed them in your D2L content pages
We generally recommend hosting video and audio files (including mp3 files) in Kaltura MediaSpace.
1. To upload your audio file from inside D2L please see Document 40548 is unavailable at this time. . Even though the kb article is using a video file in the example, you can also use an mp3 file. The downside of this method is that the embedded mp3 will look like a video:
If you want to use an audio player that looks more like a traditional audio player please see UW-Madison Kaltura - How to Embed Audio .
Option 2: Use an HTML5 player to embed your mp3 files
1. Upload your mp3 files to D2L. We suggest putting them in a directory to help keep your files organized. In this example that directory will be "audiofolder".
2. Create or edit a content page in D2L.
3. Inside the content page click HTML source editor. The icon is in the lower left of the content editing window:
4. After the <body> tag cut-and-paste the following code:
<source src="audiofolder/audiofile.mp3" type="audio/mpeg">
Your browser does not support the audio element.
Replace “audiofolder/audiofile.mp3” with the location and name of your mp3 file. Your HTML editor will look something like this:
5. Click Save.
6. Click Update.
7. Your Content page with the HTML5 mp3 player should look something like this: