Problem with audio embedding

Problem with audio embedding

by sreeja gautam -
Number of replies: 1

Hi,

Am trying to embed an audio mp3 file in a page in a lesson. I work with Moodle 2.2.6. I enabled the filters for multimedia files after reading through the chapter on Audio. I work on an Ubuntu Linux machine. 

I uploaded an mp3 file onto moodle and want to use Moodle's in-built mp3 player to play it inline. However on creating a media item, I get a message that "QuickTime Plugin 7.6.6 needs your permission to run" .When I right click and select the option "Run this plugin", I get an error message as below

**********************

The parameters passed to the application had an invalid format. Please file a bug!The parameters were:--transient-for=20971772gstreamer|1.0|totem-plugin-viewer|text/html decoder|decoder-text/html

*********************

After saving, when I view the content, there is a black rectangular area corresponding to the media link, but the audio control don't appear.

Also, is QuickTime moodle's in-built mp3 player?

Kindly advice. TIA!

 

 

Average of ratings: -
In reply to sreeja gautam

Re: Problem with audio embedding

by Matt Bury -
Picture of Plugin developers

Hi sreeja,

The error is telling you that your Ubuntu OS doesn't have Apple Quicktime installed. AFAIK, Apple don't support Linux OS'. I'm not sure why Moodle is trying to embed MP3 audio as Quicktime.

Your best bet for media playback in Ubuntu is to use a Flash based player (make sure users have the "extras" package with all the non-free and open source apps installed: https://apps.ubuntu.com/cat/applications/ubuntu-restricted-extras/ )

See: http://docs.moodle.org/25/en/Multimedia_plugins_filter Moodle uses the FlowPlayer as its default media player: http://flowplayer.org/

Another solution is to embed the audio using the HTML5 audio tags: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio (See the section, "Audio element with source element").

I hope this helps! smile

Average of ratings: Useful (1)