Files, play mp3

Hello everyone,

In files app, when uploading a mp4 video, it shows the video and plays it.

If you upload a mp3 file, it says no preview available, and you must download the file to listen.

How to get Plyr to play the mp3 in the preview box like it does for video?

  • 167
  • More
Replies (12)
    • From my understanding, the Plyr module is for integration with the Plyr video player, I don't think it supports MP3.

      As it stands, from my brief research, UNA does not have an OOBE for MP3 files or any audio files for that matter.

      • From my understanding, the Plyr module is for integration with the Plyr video player, I don't think it supports MP3.
        As it stands, from my brief research, UNA does not have an OOBE for MP3 files or any audio files for that matter.

        @LoneTreeLeaf plyr definitely plays audio.

        https://plyr.io/

        I was hoping there was a setting somewhere for what files to preview with what player, etc etc.... Otherwise we are back to modify core. Lol

        • Ah so it does support it! I dunno why this wasn't added in the settings for this module then.

          • Looks like an oversight on the devs part, when an audio file is submitted, it should use the HTML5 AUDIO tag, instead it just renders an unsupported image with a direct link to the MP3 file, if the script already knows the direct path to the MP3 file, just use the dang AUDIO tag devs.....

            https://www.w3schools.com/html/html5_audio.asp

            image_transcoder.php?o=sys_images_editor&h=1962&dpx=1&t=1713847656@LeonidS @Andrey Yasko @Alex T⚜️

              • Hello

                In files app, when uploading a mp4 video, it shows the video and plays it.

                Could you please provide an example (URL to the page and/or a screenshot) with an example of Video player in Files module.

                • @Alex T⚜️ @Anton L Also, what we definitely need here and it has been missing in UNA is a dedicated Audio module similar to the Videos module where users can play, upload and download audio files. It's very handy for podcasts, music/songs, Business conferences/meetings/workshops, church services, classes/courses, tutorials etc.

                  We already have a photos and videos module, Why can't we also have a dedicated Audio module? Please leave the files module for files like: .pdf, .docx, xlsx, .txt etc only.

                  Please, please, please consider this message as a feature request for a separate Audio module in UNA 14. It shouldn't be difficult to implement as it's basically a clone of the video module and the plyr player supports audio files as you can see see here:

                  https://github.com/sampotts/plyr

                  https://codepen.io/pen?template=rKLywR

                  Thanks in advance for hearing us.

                  • There is one in the market. I agree, should be included. But I still think files should preview all uploaded content.

                    • The mp3 player (Sounds) in the market works fine and is well backed for updates and service. I've used it for several years with no issues.

                      The last I checked, the audio (mp3) did not play in the home page feed. I cannot check this feature because there are presently no audios in the feed. Was that feature ever added? @Anton L

                      • The last I checked, the audio (mp3) did not play in the home page feed. I cannot check this feature because there are presently no audios in the feed. Was that feature ever added? @Anton L

                        Hello. Yes, the current verison of Timeline doesn't have a separate feature (action) to attach Sound, but you may do it via attach File one.

                        • @Alex T⚜️ @Anton L Also, what we definitely need here and it has been missing in UNA is a dedicated Audio module similar to the Videos module where users can play, upload and download audio files. It's very handy for podcasts, music/songs, Business conferences/meetings/workshops, church services, classes/courses, tutorials etc.
                          We already have a photos and videos module, Why can't we also have a dedicated Audio module? Please leave the files module for files like: .pdf, .docx, xlsx, .txt etc only.
                          Please, please, please consider this message as a feature request for a separate Audio module in UNA 14. It shouldn't be difficult to implement as it's basically a clone of the video module and the plyr player supports audio files as you can see see here:
                          https://github.com/sampotts/plyr
                          https://codepen.io/pen?template=rKLywR
                          Thanks in advance for hearing us.

                          Dear @Alex T⚜️ and @Anton L , please any chance to see an Audio module implemented in UNA 14 as requested above? Thanks.

                          • Hey dear Anton. Please consider adding the "play in the Timeline feature" so that users will not have to click/tap over to another page and back. Doing so gives some users the feeling that they are needlessly wasting their time.

                            The videos play in the Timeline. For the sake of convenience and site uniformity, so should mp3 player. IMO.

                            For me, I do not want to intermingle my Files, which are PDF's, with the audio files. Most people do not associate Files, when it appears in a site menu, with podcasts or music. Therefore, that is no solution.

                            A programmer such as yourself could easily make this adjustment and probably wrote all the code... in your sleep. :)

                            Login or Join to comment.