Viewing 15 replies - 391 through 405 (of 530 total)
  • I have a problem here. I’m using your plugin (downloaded/installed today) with WP 2.7 and for purpose of using with Sermon Browser (Version: 0.40.2). For some reason, where the audio player should show up – it shows blank and if you right click it shows “movie not loaded”.

    The path for audio folder is correct and verified. I’m using Flash 10 plugin, Firefox 3.

    Example: https://pointwestbury.com/?page_id=11

    Right below sermon title there is a Scripture verse to. Below the Scripture verse, there is blank space where you can right click to see the movie not loaded error message.

    Then, if you click a specific sermon (example: https://pointwestbury.com/?page_id=11&sermon_id=25) it shows a download link still, instead of player. Right click, same error.

    Screenshots:
    https://img228.imageshack.us/img228/3688/17111652xu0.png
    https://img89.imageshack.us/img89/8110/18263299ws8.png

    Is there any way to get the audio player to play files with commas in the file name without thinking it’s a separate file?

    I’ve tried replacing instance of commas with it’s encoded version, but this still causes endless buffering.

    Hi Martin,

    We have a sophisticated use of your player at notalone.com, where the stories page pulls data from custom fields to play various chapters of podcasts. See, for example this page. The backend is WordPress.

    To make the player stand out more, we’d love to put a 3 pixel white border around the player. Is this something we could engage you to do?

    Another big issue for us is to count the number of plays for each mp3. Would it be a big project to engage you to create a counter that allows us to put the aggregate number of clicks on the play button for each mp3 into our database table of mp3’s?

    I looked for the *.fla file on the source code to see if I could do it myself, but I didn’t see it.

    Thanks for your help!

    Carter Andrews carter at notalone.com

    Would appreciate help on my problem, last few posts.

    hello!
    i’m new here, please don’t shoot as I haven’t been reading the 14-something pages. Simple question:

    How can I align the audio player? To make it sit on the center of the page, rather than just left-bound.

    <p style=”text-align: center;”>[audio:test.mp3]</p>
    isn’t gonna do it!

    any ideas how I could center it?!

    many thanks in advance!

    I wrote a little fix to get the media library button to work with WP 2.7. I’m new to WP so the code is probably not very good, but works for me. Here is a diff of the audio-player.php (applies to version 2.0b6 of audio player)

    149a150
    >       add_filter("media_send_to_editor", array(&$this, "stripLinkTagAtEditorInsert"));
    326a328,339
    >     /**
    >      * Strips the link tag wrapped around the audio insert statement
    >      * @return the filtered html
    >      * @param $html String
    >      */
    >     function stripLinkTagAtEditorInsert($html) {
    >       if (preg_match("/href='(\[audio:.*\])'/", $html, $matches)) {
    >         return $matches[1];
    >       }
    >       return $html;
    >     }
    >
    647,650c660
    <                               $form_fields["url"]["html"] .= "<button type='button' class='button audio-player-" . $post->ID . "' value='[audio:" . attribute_escape($file) . "]'>Audio Player</button>";
    <                               $form_fields["url"]["html"] .= "<script type='text/javascript'>
    <                               jQuery('button.audio-player-" . $post->ID . "').bind('click', function(){jQuery(this).siblings('input').val(this.value);});
    <                               </script>\n";
    ---
    >                               $form_fields["url"]["html"] .= "<button type='button' class='button' title='[audio:" . attribute_escape($file) . "]'>Audio Player</button>";
    817c827
    < ?>
    \ No newline at end of file
    ---
    > ?>

    Hope it’s usefull for anyone.
    Great plugin btw.

    Hi again.
    Alexleonard, the point is make the developer to able to deactivate or not some script.

    For example: If you have a compressor for your JS files, maybe you want, or already have, all this files in only one. So, you have one single JS file compressed – that’s it good ?? – Now, assume I have, f.e, swfobject in my collection of compressed scripts and I don’t need another and single petition of swfobject, obviously we have a conflict:

    <script src="theme/mycompress.js" /> (already include swfobject.js)
    <script src="plugin/swfobject.js" /> (via inject pure code)

    WordPress can’t resolve this.

    Solution:
    Using the WP Scripts object in ours plugins, we left the option to the developer for deactivate the scripts through a so simple way as: wp_deregister_script() or enqueue a false script. He can calling these functions from anywhere of his code.

    <script src="theme/mycompress.js" /> (already include swfobject.js)
    <script src="plugin/swfobject.js" /> (via wp_enqueue_script)

    Now, I can delete the double swfobject script with:
    wp_deregister_script(‘swfobjetc’); and
    wp_enqueue_script(‘swfobjetc’, ”);

    Cheers ??

    I’m using Audio player plugin for WordPress. And I have an error in Internet Explorer. When I switch off Audio player plugin this error dissapeare. Screenshot: https://savepic.ru/447268.jpg
    URL of my blog (sorry, but it contains Russian content): https://ghostbear.ru/obrien/

    @ Covi: what you explain, is that a solution for https://www.ads-software.com/support/topic/179225/page/13?replies=397#post-954680 ? My knowledge of this is close to zero, so some context for your post would be very much appreciated!

    Hi, does anyone know a fix for my problem: Whenever I upload a mediafile, in WP2.7 and press the audioplayer-button, It empties my fileurladress-box. Highly annoying…

    Thx in advance, Koads…

    @koads
    as I posted before I wrote a fix for that problem. I think the diff I posted is not working. Try to patch the audio-player.php in the plugin root with the following diff

    --- audio-player/audio-player.php       2008-08-25 16:06:18.000000000 +0200
    +++ audio-player.php    2009-02-01 22:28:05.000000000 +0100
    @@ -147,6 +147,7 @@
                            add_filter("the_excerpt_rss", array(&$this, "processContent"));
    
                            add_filter("attachment_fields_to_edit", array(&$this, "insertAudioPlayerButton"), 10, 2);
    +      add_filter("media_send_to_editor", array(&$this, "stripLinkTagAtEditorInsert"));
                    }
    
                    /**
    @@ -324,6 +325,18 @@
                    // Sets a flag so we know we are in an automatically created excerpt
                    // ------------------------------------------------------------------------------
    
    +    /**
    +     * Strips the link tag wrapped around the audio insert statement
    +     * @return the filtered html
    +     * @param $html String
    +     */
    +    function stripLinkTagAtEditorInsert($html) {
    +      if (preg_match("/href='(\[audio:.*\])'/", $html, $matches)) {
    +        return $matches[1];
    +      }
    +      return $html;
    +    }
    +
                    /**
                     * Sets a flag when getting an excerpt
                     * @return excerpt text
    @@ -644,10 +657,7 @@
    
                            // Only add the extra button if the attachment is an mp3 file
                            if ($post->post_mime_type == 'audio/mpeg') {
    -                               $form_fields["url"]["html"] .= "<button type='button' class='button audio-player-" . $post->ID . "' value='[audio:" . attribute_escape($file) . "]'>Audio Player</button>";
    -                               $form_fields["url"]["html"] .= "<script type='text/javascript'>
    -                               jQuery('button.audio-player-" . $post->ID . "').bind('click', function(){jQuery(this).siblings('input').val(this.value);});
    -                               </script>\n";
    +                               $form_fields["url"]["html"] .= "<button type='button' class='button' title='[audio:" . attribute_escape($file) . "]'>Audio Player</button>";
                            }
    
                            return $form_fields;
    @@ -814,4 +824,4 @@
            echo $AudioPlayer->processContent($source);
     }
    
    -?>
    \ No newline at end of file
    +?>

    If that doesn’t work I can upload or email you the patched file.

    This script not compatible with 2.7 and every time not work properly. Sounds like scratched music disks. You are developed good script but not follow it!

    @abird, how do i patch it ? Is there a software or should i paste it into the code ? And if the latter, how do i do it ? Cheers, Koads…

    @koads
    Hi, you can patch the file by pasting the code in an empty textfile and then run
    patch audio-player.php < textfile
    on a *nix system in the terminal. I don’t know how to do this on a windows machine, but there’s probably a tool for that too.
    I just uploaded the patched file at https://claas.cabird.de/files/audio-player.php.txt
    You just have to rename it to audio-player.php and replace the old file in the root directory of the audio-player plugin. Please let me know if that works for you. Greetings, abird

    @abird, sorry ’bout the language but it works like a fuckin’ charm. You are truly a good man ! Thank you so much…

    Cheers, Koads

Viewing 15 replies - 391 through 405 (of 530 total)
  • The topic ‘[Plugin: Audio Player] Version 2.0 beta released’ is closed to new replies.