Announcement

Collapse
No announcement yet.

Embedded Audio Attachments Player

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • glennrocksvb
    replied
    No. You can't totally prevent the audio file (or video or any other web resource for that matter) from being downloaded by the user. You can make it harder but it would require custom coding.

    See this same discussion in Stack Overflow

    https://stackoverflow.com/a/9756909/1250735

    Leave a comment:


  • lange
    replied
    Hi,

    Is it possible to disable the 'Save the MP3 URL as' or 'send the MP3 link by email' by using the right click (under FireFox by example) ?

    Right now, the audio files are inside a directory above the web ...

    Best Regards

    Leave a comment:


  • lange
    replied
    Hi,

    Just bought your installation add-on. Email sent.

    Regards

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    Glad you figured it out.

  • lange
    replied
    Fixed by set the Forum Viewing Permissions/Can Download Non-Image Attachments permission to Yes for the Usergroup Guest Users.

    Leave a comment:


  • lange
    replied
    Oh, I am getting an issue. Online, I see two players. Offline, only one (the last one in the last post). See the attached files.

    A audio player + an image (uploaded or remote) in the same time/post are not showing for the guests (no problen for a connected member).

    Any idea?
    Attached Files

    Leave a comment:


  • lange
    replied
    It works!

    I can live with the black color. I am very happy with this product.

    Thank you very much!

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    To change width, you can do this:
    Code:
    .audio-attach-player {
        width: 320px;
    }
    But to fully customize the colors and the controls, you need Javascript not just CSS.

  • glennrocksvb
    commented on 's reply
    This mod only converts existing file attachment (mp3 in this case) in a post into an audio player instead of displaying it as a link like in other non-image attachments.

  • lange
    replied
    Originally posted by glennrocksvb View Post
    Ok, here's how to center:
    Code:
    .audio-attach-player {
    margin-left: auto;
    margin-right: auto;
    }
    .audio-attach-filename {
    text-align: center;
    }
    Add the above custom CSS in css_additional template in AdminCP or in CSS Editor in Sitebuilder.
    Done! Thank you very much !

    Last question:

    How to change the colors (from black to a light grey) and how to decrease the size of the player (by example 20%)

    Regards

    Leave a comment:


  • Fleiding
    replied
    This is really interesting as I’ve been looking for this quite some time. Do you think it is possible to embed only the audio of a YouTube video instead of uploading an MP3 file?

    Leave a comment:


  • glennrocksvb
    replied
    Ok, here's how to center:
    Code:
    .audio-attach-player {
        margin-left: auto;
        margin-right: auto;
    }
    .audio-attach-filename {
        text-align: center;
    }
    Add the above custom CSS in css_additional template in AdminCP or in CSS Editor in Sitebuilder.

    Leave a comment:


  • glennrocksvb
    replied
    I will take a look at what CSS to use to center the player when I get home in about an hour or so.

    Leave a comment:


  • lange
    replied
    OK it works well from the database. I will re-test the storage in the file system later.

    Question: Is it possible to center (custom) the player from the left side. Is there a template?

    See the included attachment
    Attached Files

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    Thanks for the purchase. Please see my responses below.
Working...
X