Viewing 1 replies (of 1 total)
  • Thread Starter spalmstr

    (@spalmstr)

    As no one replied to this, and following a suggestion in another posting, I looked at ../wp-content/plugins/sermon-browser/sb-includes/frontend.php and made the following change:

    # This patch file was generated by NetBeans IDE
    # It uses platform neutral UTF-8 encoding and \n newlines.
    — a/<html>frontend.php (<b>Yesterday 16:53:36</b>)</html>
    +++ b/<html><b>Current File</b></html>
    @@ -679,7 +679,7 @@
    $uicon = isset($filetypes[$ext][‘icon’]) ? $filetypes[$ext][‘icon’] : $uicon;
    if (strtolower($ext) == ‘mp3’) {
    // Default mp3 shortcode – use this – other shortcodes just give buffering forever.
    – if ((substr(sb_get_option(‘mp3_shortcode’), 0, 23) == ‘[audio mp3=”%SERMONURL%”‘) && function_exists(‘ap_insert_player_widgets’)) {
    \ No newline at end of file
    + if ((substr(sb_get_option(‘mp3_shortcode’), 0, 24) == ‘[audio mp3=”%SERMONURL%”‘) && function_exists(‘ap_insert_player_widgets’)) {
    \ No newline at end of file
    // audio expects a short code of audio:<mp3file>
    echo ap_insert_player_widgets(str_ireplace(‘ mp3=”%SERMONURL%”‘, ‘:’.$url, sb_get_option(‘mp3_shortcode’)));
    return;
    This made it possible to use the new default shortcode and play back mp3 files. Any other shortcode continues to get the buffering message ‘forever’.

    It would still be good if one could use an HTML5 compatible audio player as mobile phones don’t all support Adobe Flash, needed by the default audio player.

Viewing 1 replies (of 1 total)
  • The topic ‘Playback of recordings stay buffering 'forever'’ is closed to new replies.