We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22815
    • 1,097 Posts
    FlashAudioPlayer 0.2 attached - a basic snippet that can be called like so:
    [[FlashAudioPlayer? &audio=`test.mp3`]]

    Other settings can be made or changed in the snippet code itself.
    Audio files should go in assets/files - although you can change that in the snippet.

    STILL TO DO:
    1) Stuff for having multiple audio players on one page - the Wordpress plugin has some JS that stops the other.
    2) Allow for sites with subfolders.

    But it works. Feedback appreciated.
      No, I don't know what OpenGeek's saying half the time either.
      MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
      Forum: Where to post threads about add-ons | Forum Rules
      Like MODx? donate (and/or share your resources)
      Like me? See my Amazon wishlist
      MODx "Most Promising CMS" - so appropriate!
      • 6726
      • 7,075 Posts
      Waow, that’s a great addition, I don’t think I’ll be able to try it out right now, but I’ll sure give this a try ASAP once I am done with the two websites I have to deliver in the next two weeks... Of course, I’ll report there about my test run smiley
        .: COO - Commerce Guys - Community Driven Innovation :.


        MODx est l'outil id
        • 30223
        • 1,010 Posts
        Thanks for doing this. I was just looking for some flash player and now there’s a snippet to go with one already! Excellent.

        One small remark though,.. you might want to make the test.mp3 a little less blank. I honestly thought something wasn’t working properly when I didn’t hear anything. embarrassed
          • 22815
          • 1,097 Posts
          Test MP3 is taken from the original Wordpress plugin. If anyone wants to contribute a short copyright-free MP3, please let me know. "MODx and Martin’s audio player.. they collectively whip the asses of llamas", or somesuch.

          Martin’s flash MP3 player is really nice.
          If you like this snippet, please donate to the original author - there’s a PayPal link on:
          http://www.1pixelout.net/code/audio-player-wordpress-plugin/

          I’d be interested in all feedback on the snippet - I intend to revisit it in about a month to tidy things up and add it to the Repo.
            No, I don't know what OpenGeek's saying half the time either.
            MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
            Forum: Where to post threads about add-ons | Forum Rules
            Like MODx? donate (and/or share your resources)
            Like me? See my Amazon wishlist
            MODx "Most Promising CMS" - so appropriate!
            • 30223
            • 1,010 Posts
            Yes it’s a truly awesome little player. I had a look at the original emmf (or was it emff?) player he used as a codebase. Works as well but is pretty ugly and a bit more basic (we do love a bit of eyecandy)

            I’m using your snippet in a very basic way so don’t have a lot to comment really it works of the shelf, no hassle. I’m intending to use it with lot’s of old sound clips with only one player on the page. I’ll let you know if I’ve hacked your code to do it. smiley
              • 22815
              • 1,097 Posts
              A choice of audio but with one player? That would be quite advanced actually. That would involve sending a playlist to the player after the page has loaded. Not impossible but it depends a lot on what the flash player is geared up to do. If you’ve found some emff/emmf documentation that covers that, then great.
                No, I don't know what OpenGeek's saying half the time either.
                MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
                Forum: Where to post threads about add-ons | Forum Rules
                Like MODx? donate (and/or share your resources)
                Like me? See my Amazon wishlist
                MODx "Most Promising CMS" - so appropriate!
                • 22730
                • 14 Posts
                I really like the snippet. It works well with an audio gallery that I needed for my site. I made some minor changes to loop through all mp3 files in a folder. This will display a player for each file. My goal is to have it read the meta data of the mp3 file and display it as well. The final version will be formatted html that looks nice along with titles. Anyway. thanks for the snippet. Attached is my version
                http://216.70.102.151/79.html is an example of the output. Note this page may change
                  • 13993
                  • 100 Posts
                  Wow very nice. Now to find a way to integrate this with a Text To Speech engine to make every article availible for your listening pleasure.
                    • 7923
                    • 4,213 Posts
                    Are you using friendly alias paths by any chance? is the snippet parsing ok? does it output anything to page source? if not, do you have maybe spelling error on the snippet name?


                      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                      • 22289
                      • 41 Posts
                      I deleted my post when I figured out what it was- which is that the snippet seems not to work with the actual <php declaration at the top of the txt file