1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Audio Plus 1.7

Audio player which plays attached .mp3 audio files.

  1. AndyB

    AndyB Well-Known Member

    AndyB submitted a new resource:

    Audio Plus - Audio player which plays attached .mp3 audio files.

    Read more about this resource...
     
  2. kontrabass

    kontrabass Well-Known Member

    Will certainly have to check this out. Looks cool :)

    Will this add the audio player to any previous posts with .mp3 attachments?
     
  3. AndyB

    AndyB Well-Known Member

    AndyB updated Audio Plus with a new update entry:

    See description

    Read the rest of this update entry...
     
  4. Hi Andy!

    I tried this Andy and it installed; but there is no player to press play on.

    Could you clarify what you mean with "first two variables" please?

    Also where exactly do you place this misc folder:
    a) before "forum" or
    b) parallel to "forum" or
    c) into "forum" in a path=root/hpttdocs/forum/andy

    <?php

    // define tmpUrl
    $tmpUrl = 'http://www.example.com/tmp/';

    // define tmpPath
    $tmpPath = '/home/path/public_html/tmp/';

    //########################################
    // Chrome and Firefox can run attachment
    // URL's directly. If another browser we
    // need to download the attachment
    // and save it to the /tmp/ folder where
    // we use the <audio> tag to play it.
    //########################################

    // get url
    $url = $_GET['url'];



    Thanks, Tony B.

    Set up:



      • Create a /misc/ folder in your web root and set permissions to 0777.
      • Upload the following file from the Andy/AudioPlus/ folder to your /misc/ folder:

        audio_plus.php
      • Edit the /misc/audio_plus.php file and update the first two variables.
      • In the Admin Control Panel, update "Maximum Attachment File Size (KB)" to 3072, this will allow a maximum of 3MB audio files to be uploaded.
      • In the Admin Control Panel, update "Allowed Attachment File Extensions" to include mp3 files.
     
  5. AndyB

    AndyB Well-Known Member

  6. asusforo

    asusforo Member

    Can you add a playlist in the next updates? For example: when i add more than 1 mp3 file, it shows in playlist
     
  7. AndyB

    AndyB Well-Known Member

    AndyB updated Audio Plus with a new update entry:

    See description

    Read the rest of this update entry...
     
  8. AndyB

    AndyB Well-Known Member

  9. adwolf1

    adwolf1 Active Member

    Andy -- having a little problem getting this to work. Perhaps this is because we are an https only site?

    When the post goes up, i get:

    Warning: file_get_contents(https://www.odwire.org/attachments/attachment-name-mp3.6575/): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /srv/www/host/public_html/misc/audio_plus.php on line 47

    The perms look right:
    drwxrwsrwx 2 www-data www-data 4096 Apr 9 22:30 tmp
    drwxrwsrwx 2 www-data www-data 4096 Apr 9 22:12 misc

    and the paths set in the misc file are right:
    // define tmpUrl
    $tmpUrl = 'https://www.mysite.com/tmp/';

    // define tmpPath
    $tmpPath = '/srv/www/host/public_html/tmp/';

    All I can think of is that because it is https, it is bombing?
     
  10. pmflav

    pmflav Active Member

    Callback Andy_AudioPlus_Listener::loadClassDatawriter is invalid (Invalid Class).
     
  11. AndyB

    AndyB Well-Known Member

  12. AndyB

    AndyB Well-Known Member

  13. Mr Lucky

    Mr Lucky Well-Known Member

    I would love this to have usergroup permissions to allow some usergroups to use it and not others.
     
  14. Alfa1

    Alfa1 Well-Known Member

    Any chance of bringing this to the RM/MG so we can host audio files?
     
    Last edited: Aug 7, 2015
    rexxxy likes this.
  15. Mr Lucky

    Mr Lucky Well-Known Member

    Unless I'm misunderstanding, this addon does mean we can host audio files, just that it's a 3rd party addon, not an official XenForo addon such as RM

    I think that is a separate issue and there is already a suggestion/request for audio in Media Gallery:

    See here: Audio Player for XF media Gallery
     
  16. Alfa1

    Alfa1 Well-Known Member

    My feature request for this addon is to bring support for this audio player to the Resource Manager. The media gallery would also work.
     
  17. oO5 Dynasty

    oO5 Dynasty Active Member

    How much to custom develop a Audio player for profile pages?
     
  18. xomp

    xomp Member

    Is there any way to have this work for other audio formats such as wma?
     
  19. Claudio

    Claudio Well-Known Member

    Same error. Did you fix it?

    Edit: file_get_contents must be enabled on hosting
     
    Last edited: Jun 3, 2016
  20. Claudio

    Claudio Well-Known Member

    @AndyB do you know if there is any way to start loading the .mp3 file once the play button is pressed? If you attach three mp3 files they will be loaded at the same time and there is no way to stop them.
     

Share This Page