• Resolved pauljnye

    (@pauljnye)


    For each sermon I see you can select one video file for playback. We would like to have 2 video formats available (an mp4 file, and also the youtube version) That way you give the visitors an option to watch and download the mp4, but also have the benefit of youtube playback. I have no idea how much work would be involved, but I figure no harm in asking the question.
    Here is how we currently offer 2 video playback options..
    http://bit.ly/1kqgajY
    Thanks.

    https://wordpress.org/plugins/church-theme-content/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Steven Gliebe

    (@stevengliebe)

    There is only one video field, either for a local file or service like YouTube.

    What I would do is provide the YouTube URL then add a link/button to the top of the content that points to the URL for your downloadable file.

    If you’re using a theme from http://churchthemes.com or one that uses the Church Theme Framework, you can pipe the file through a script that forces “Save As” by using a URL like this:

    yourname.com/?download=/2014/08/video.mp4

    This assumes you’re hosting files locally. Since you have so many sermons you might want to use something like Amazon S3 to host the files. It’s possible to force “Save As” on S3 by sending certain headers.

    You could also add the themename-button class the the <a> tag in order to make the link look like a button.

    For something more structured you could use a child theme or extend the Church Theme Content plugin.

    http://churchthemes.com/guides/developer/child-theming/
    http://churchthemes.com/guides/developer/church-theme-content/

    I hope this is helpful.

    Thread Starter pauljnye

    (@pauljnye)

    Steven,
    I like the idea of posting download link in the content.
    Im a newbie, but might try to make the download link look like a button, which I think looks better as it would stand out.
    Thanks for the response

    Plugin Author Steven Gliebe

    (@stevengliebe)

    If you’re using the Exodus or Resurrect theme, do something like this in “Text” mode (instead of “Visual” — see the tabs at the top-right of the editor):

    <a href="http://yourname.com/?download=/2014/08/video.mp4" class="exodus-button">Download</a>
    
    <a href="http://yourname.com/?download=/2014/08/video.mp4" class="resurrect-button">Download</a>

    Other themes may have a button class for links as well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is it possible to have 2 video links in the 'sermons' feature?’ is closed to new replies.