Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Wonderful – it fixed my problem in frontend.php by putting those changes in.

    When you signed up for the API key, was it for v2 of the API or v3. I signed up the other day, but it was for v3, and v2 didn’t recognise it.

    I just followed the link and got your Bible verses. Has something changed?

    • This reply was modified 6 years, 9 months ago by spalmstr.
    Thread Starter spalmstr

    (@spalmstr)

    The issue was with the title, not the file name. The file names are standard Windows ones.

    I ended up recovering the site from backup, and won’t be updating Sermon Browser in a hurry.

    Sorry, audio shortcode still not working, not even in 0.45.19! You get buffering at 0% forever. The fix I had to put into previous version to get round this is not working, any longer. I want to roll back.

    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 6 replies - 1 through 6 (of 6 total)