Posted by: mattmole | October 2, 2010

Playing audio files as part of a layout with Xibo

For a time now I have wanted to use Xibo to play audio files as either a background track for a layout, or as part of a layout.

After chatting to one of the developers I realised that it would probable be possible.

THIS IS NOT AN OFFICIAL FEATURE / MODIFICATION. ANY QUESTIONS SHOULD BE MADE TO ME AND NOT THE DEVELOPERS.

First of all a small change needs to be made to the DB. This is in the modules table and is to include mp3 as a valid extension for uploading videos. We use the video region type for this:

After this it is as simple as creating the video region on a layout and uploading the mp3 file. Because media player is embedded into the player, when playing mp3 files the embedded player displays a visualisation of the track. This is not ideal and can be changed by making the region 1×1 pixels in size. The region is still easy to alter, drag and change the timeline.

This by no means answers the question of background music playing throughout multiple layouts etc, and it does not solve the problem of multiple tracks playing audio at the same time, but for my purposes, it is useful!

Advertisement

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.