Announcement

Collapse
No announcement yet.

Embedded Audio Attachments Player

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

  • lange
    commented on 's reply
    Thank you, I will install this mod then. I will also install the Video Play mod under 5.6.6.

  • glennrocksvb
    replied
    Originally posted by lange View Post
    Hi,

    Does the mod work under 5.6.6 / PHP 8?

    Regards
    lange I tested it and this mod works in vB 5.6.6. and PHP 8. This mod just uses pure JavaScript to convert audio file attachments into an audio player. It doesn't involve any PHP coding that requires PHP version compatibility. This is the same case with the Video Player mod.

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    I will check.

  • lange
    replied
    Hi,

    Does the mod work under 5.6.6 / PHP 8?

    Regards

    Leave a comment:


  • 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

    How can I disable "Save Video As..." from a browser's right-click menu to prevent clients from downloading a video? Are there more complete solutions that prevent the client from accessing a file ...

    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:

Users Viewing This Page

Collapse

There is 1 user viewing this forum topic.

  • Guest Guest

Latest Posts

Collapse

Working...
X
Searching...Please wait.
An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

Please push the back button and reload the previous window.'
An unexpected error was returned: 'Your submission could not be processed because the token has expired.

Please push the back button and reload the previous window.'
An internal error has occurred and the module cannot be displayed.
There are no results that meet this criteria.
Search Result for "|||"