Viewing 4 replies - 1 through 4 (of 4 total)
  • I was wondering if this was possible, and I suppose it’s not. Our Sunday AM sermons are recorded and filmed, and I’d like to be able to display both the MP3 player and the embedded Vimeo video of the same sermon so people have a choice.

    Thread Starter Caleb

    (@cidesign)

    @jrothra, no one has gotten back to me for a month now. And I haven’t figured it out yet, I had to work around it. Sorry.

    @cldesign – Looking at the responses to other posts, a massive delay in responding to help requests seems to be common. Have you tried using Sermon Browser? If so, what are your thoughts on it?

    Technically yes you can have both audio and video display on the same page. To do it you have to modify the plugin code. The option does not come with the plugin.

    I’ve not tested this but as a starting point you could add the following before the if on line 222 of the includes/template-tags.php

    if ( get_wpfc_sermon_meta('sermon_video') && get_wpfc_sermon_meta('sermon_audio') ) {
                    echo '<div class="wpfc_sermon-video cf">';
                            echo do_shortcode( get_wpfc_sermon_meta('sermon_video'));
                    echo '</div>';
                    echo '<div class="wpfc_sermon-audio cf">';?>
                            <script>
                                    jQuery.noConflict();
                                    jQuery(document).ready(function(){
                                            jQuery('audio').mediaelementplayer();
                                    });
                            </script> <?php
                            echo '<audio controls="controls">';
                                    echo '<source src="' . get_wpfc_sermon_meta('sermon_audio') . '"  type="audio/mp3" />';
                            echo '</audio>';
                    echo '</div>';
            } else

    This says that if there is a video and audio for a sermon, display both of them. This will have a global effect on your sermons.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Audio and Video on sermon’ is closed to new replies.