1
deka87
Play audio on the page
  • 2009/2/28 12:11

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


Hi,

I want to play a certain mp3 file on the page avoiding downloading it. Like let's say I've got a song "Someband - Somesong >> LINK TO PLAY IT ONLINE". Is there any module that could suit my needs?
Mind anchors

2
Runeher
Re: Play audio on the page
  • 2009/2/28 12:51

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


There are probably many solutions and here is one of them...

3
deka87
Re: Play audio on the page
  • 2009/2/28 13:53

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


maybe anythign else cos it looks to heavy
Mind anchors

4
Peekay
Re: Play audio on the page
  • 2009/2/28 17:26

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


XSPF Player is a simple solution for single tracks or a playlist.

More info in this thread

@runeher
I like the iPod mod
A thread is for life. Not just for Christmas.

5
ghia
Re: Play audio on the page
  • 2009/2/28 21:11

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Or dewplayer ...
<object type="application/x-shockwave-flash" data="dewplayer.swf?mp3=../../uploads/medias/mp3/youraudiofile.mp3&autoplay=1" width="200" height="40"><param name="movie" value="dewplayer.swf?mp3=../../uploads/medias/mp3/youraudiofile.mp3&autoplay=1" />object>

6
Peekay
Re: Play audio on the page
  • 2009/3/1 0:36

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


dewplayer is cool too.

Let the music play...
A thread is for life. Not just for Christmas.

7
deka87
Re: Play audio on the page
  • 2009/3/1 8:08

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


ok thanks guys
Mind anchors

8
deka87
Re: Play audio on the page
  • 2009/3/3 13:02

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


I like dewplayer and it works alright but only if it's in a block or html file. I wanted to put the audio on the smartsection page, is this possible? thanks in advance
Mind anchors

9
urbanspacema
Re: Play audio on the page

I have developed a plugin for new XOOPS 2.3.3

This hack allows you to insert an audio player by putting the name of the file between the tags [mp3]

example

[code]
[mp3] http://www.mysite/file.mp3 [/ mp3]
[/ code]

Go in class/textsanitizer/config.php and chenge this
"mp3" => 0,

with this
"mp3" => 1,


should suffice
Urban

10
urbanspacema
Re: Play audio on the page

Please update the player.swf in images/form with this

I hope to be updated in the 2.3.3 final

Urban

Login

Who's Online

303 user(s) are online (205 user(s) are browsing Support Forums)


Members: 0


Guests: 303


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits