Podcasting w/ s9y (was: Podlove integration)
Podcasting w/ s9y (was: Podlove integration)
First of all, this is intended as a discussion/brainstorming thread; that's why it's in General discussions although a certain plugin will likely be mentioned quite a bit. The topic at hand is podcasting support, and it's based on a feature request by Dirk (Lux) to integrate/port the Podlove player. For those who don't know, Podlove is the podcasting solution for Wordpress (although I have heard people complain about that as well).
There is a plugin for podcasting in s9y (additional_plugins), serendipity_event_podcast. I know we're using an outdated version of it (afraid to break it with the update, although I already forgot what the update changes) for S9yCamp, I assume Dirk has used this, too. I guess the first order of business would be to round up if this plugin works, if it needs fixes or how and if it should be improved. Also round up what it doesn't support yet.
I think we should be open to starting a new podcasting plugin from scratch if that's a better MO (if Garvin has “given up” on Podlove integration, it must be quite a hassle). This is also probably a really good way to add a unique selling point to s9y (without it becoming a “podcast CMS”, of course).
I'll add Dirks starting points in the next post.
YL
There is a plugin for podcasting in s9y (additional_plugins), serendipity_event_podcast. I know we're using an outdated version of it (afraid to break it with the update, although I already forgot what the update changes) for S9yCamp, I assume Dirk has used this, too. I guess the first order of business would be to round up if this plugin works, if it needs fixes or how and if it should be improved. Also round up what it doesn't support yet.
I think we should be open to starting a new podcasting plugin from scratch if that's a better MO (if Garvin has “given up” on Podlove integration, it must be quite a hassle). This is also probably a really good way to add a unique selling point to s9y (without it becoming a “podcast CMS”, of course).
I'll add Dirks starting points in the next post.
YL
Re: Podcasting w/ s9y (was: Podlove integration)
Dirks original feature request/ideas
YL
- I only intended to use the player, which also has support for chapter marks.
- It would be nice to have a switch which enables the player instead of the standard html5- or flash-player.
- If you want to offer only one file type - either ogg or mp3 - you need any sort of plugin.
- Safari does not support ogg and Firefox (plus Opera) does not support mp3.
- Old, but still valid: https://dev.opera.com/articles/html5-au ... io-player/
- DeimHart - my former podcast - offered mp3 AND ogg files because of that, but in the end it is unnecessary work.
- The situation may change in 2017 because of the mp3-patents running out.
YL
Re: Podcasting w/ s9y (was: Podlove integration)
Notes by me:
YL
I would actually prefer to not offer a Flash player at all. Flash is dead, HTML5 audio works quite well and there are JS solutions to improve the HTML5 audio element like https://plyr.io – not sure about its podcast-specific feature at the moment, though.yellowled wrote:It would be nice to have a switch which enables the player instead of the standard html5- or flash-player.
We do the same thing at S9yCamp with a homegrown solution using extended entry properties. It is a hassle, and we also use PodSpot to assist with the feeds somehow.yellowled wrote:DeimHart - my former podcast - offered mp3 AND ogg files because of that, but in the end it is unnecessary work.
YL
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Podcasting w/ s9y (was: Podlove integration)
Thanks a lot for summing the discussion up.yellowled wrote:Notes by me:
Agreed!yellowled wrote:I would actually prefer to not offer a Flash player at all. Flash is dead, HTML5 audio works quite well and there are JS solutions to improve the HTML5 audio element like https://plyr.io – not sure about its podcast-specific feature at the moment, though.
We can be quite sure that mp3 is the most widely supported audio file format. It is by far not the best format but (nearly) every player will support it.yellowled wrote:We do the same thing at S9yCamp with a homegrown solution using extended entry properties. It is a hassle, and we also use PodSpot to assist with the feeds somehow.yellowled wrote:DeimHart - my former podcast - offered mp3 AND ogg files because of that, but in the end it is unnecessary work.
To cut a long story short, it would be great to have an audio or media player that plays mp3 from Firefox without the need of any operating system based support of mp3.
Everything else would be on top of that and there are many features I can think of:
- Chapter mark support
- OGG/AAC/FLAC/ALAC/WAV file support
- Video formats
- ...
A web based player would be great for visitors of the website.
Cheers
Dirk
Re: Podcasting w/ s9y (was: Podlove integration)
That part is already covered pretty well by the easy podcasting plugin, right? It does create the proper feeds including all the right images and whatever iTunes needs to accept the feed etc? It encloses(?) the audio files correctly etc.? The only issue with the plugin is basically the (missing/working) player?Lux wrote:In the end a podcast is "defined" as feed with an enclosed media file, that is the very basics.
I have not looked at this in quite a while, but the browser support for the <audio> element for MP3 is pretty great. OGG, of course, has license issue in MS + Apple browsers, which do, however, play AAC. And I don't think that this is in any way, shape or form related to the OS, is it?!Lux wrote:To cut a long story short, it would be great to have an audio or media player that plays mp3 from Firefox without the need of any operating system based support of mp3.
I think the general consensus is still to use <audio> this way (which is an example from S9yCamp, where we do this manually using extended entry options and template files:
Code: Select all
<audio controls>
<source src="/uploads/foo.ogg" type="audio/ogg">
<source src="/uploads/foo.mp3" type="audio/mpeg">
<p>Browser does not support the HTML5 audio player, please download the audio file manually.</p>
</audio>
I get that Podlove does add a lot of other nifty features like chapter marks, but those are just sugar on top. Does the audio player on S9yCamp not work in Firefox on some OSes? (If so, I'm not aware of that.)
YL
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Podcasting w/ s9y (was: Podlove integration)
Yes and no. The feed does not validate, but it works well enough.yellowled wrote:That part is already covered pretty well by the easy podcasting plugin, right? It does create the proper feeds including all the right images and whatever iTunes needs to accept the feed etc? It encloses(?) the audio files correctly etc.? The only issue with the plugin is basically the (missing/working) player?
Unfortunately it is. Firefox is only able to play OGG. MP3 is only supported with the help of the OS.yellowled wrote:I have not looked at this in quite a while, but the browser support for the <audio> element for MP3 is pretty great. OGG, of course, has license issue in MS + Apple browsers, which do, however, play AAC. And I don't think that this is in any way, shape or form related to the OS, is it?!
Yes, sure, but I don't want to have to include two files.yellowled wrote:I think the general consensus is still to use <audio> this way (which is an example from S9yCamp, where we do this manually using extended entry options and template files:
Cheers
Dirk
Re: Podcasting w/ s9y (was: Podlove integration)
Judging from the fact that my Firefox on macOS plays MP3 just fine, I'm pretty sure that is not related to Firefox, but to the OS. I assume this happens on Linux systems that do not ship with the MP3 codec because it's not free software? Because in general, the last Firefox that did not play MP3 was FF 21.Lux wrote:Firefox is only able to play OGG. MP3 is only supported with the help of the OS.
Sure, I get that, it's a lot of work and uploading.Lux wrote:Yes, sure, but I don't want to have to include two files.
Podlove does not – as far as I can tell – magically “make the OS play MP3” or something. It uses a Flash player in situations where MP3 is not playable. That means (but I think that's an acceptable trade-off) users with browser/OS combinations that are not able to play MP3 in <audio> get a Flash player. If they don't have Flash, they don't get a web player at all.
Technically (and that's a good thing for us) it's not even podlove that does it, it's http://mediaelementjs.com. Can you test/confirm if that works in a browser that does not usually play MP3 audio? (I don't have a browser/OS where that's the case.) I'm not sure if that's what Garvin gave up on trying to integrate, though.
YL
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Podcasting w/ s9y (was: Podlove integration)
Yes, exactly. Firefox does not offer MP3 support and free variants of Linux don't do either.yellowled wrote:Judging from the fact that my Firefox on macOS plays MP3 just fine, I'm pretty sure that is not related to Firefox, but to the OS. I assume this happens on Linux systems that do not ship with the MP3 codec because it's not free software? Because in general, the last Firefox that did not play MP3 was FF 21.
Works for me.yellowled wrote:Technically (and that's a good thing for us) it's not even podlove that does it, it's http://mediaelementjs.com. Can you test/confirm if that works in a browser that does not usually play MP3 audio? (I don't have a browser/OS where that's the case.) I'm not sure if that's what Garvin gave up on trying to integrate, though.
Cheers
Dirk
Re: Podcasting w/ s9y (was: Podlove integration)
I'm pretty sure Firefox does, but it is removed from the packaged Linux version, but that doesn't really matter.Lux wrote:Firefox does not offer MP3 support and free variants of Linux don't do either.
i can no “do” the changes to the podcasting plugin, we're going to need a “real” developer to help with that. I'll also have to look at it first to see what it really does and doesn't do. Not sure how long that might take. Also interested to hear what Garvin did already try to integrate, maybe it was mediaelement.js (that would be bad).
YL
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Podcasting w/ s9y (was: Podlove integration)
https://developer.mozilla.org/en-US/doc ... ia_formatsyellowled wrote:I'm pretty sure Firefox does, but it is removed from the packaged Linux version, but that doesn't really matter.Lux wrote:Firefox does not offer MP3 support and free variants of Linux don't do either.
Dirk
Re: Podcasting w/ s9y (was: Podlove integration)
Okay:
We'll have to see if/how that can be integrated in the podcast plugin.
YL
Same, but different. Doesn't matter – if we want a “universal” player that “always” plays MP3 without any other audio format, we need Flash/mediaelement.js. That should be okay since it's a “last resort” solution, but it's not perfect.The MP3 audio format […] is supported in <audio> by Firefox/Firefox for Android/Firefox OS when the operating system provides an MP3 decoder […]
We'll have to see if/how that can be integrated in the podcast plugin.
YL
Re: Podcasting w/ s9y (was: Podlove integration)
Alternative solution: Upload one file, .wav, .mp3, .ogg, it does not matter. Generate a .mp3 and an .ogg file the moment an entry is saved and add that to the audio tag, if an audio file is attached to the entry. Or have a new button where to add the file that does that via JS.
The problem of all this will be to find one developer that does podcasts and is interested in maintaining this. I don't, I'm just not into the field – but I can offer advice on how to do specific things.
The problem of all this will be to find one developer that does podcasts and is interested in maintaining this. I don't, I'm just not into the field – but I can offer advice on how to do specific things.
Re: Podcasting w/ s9y (was: Podlove integration)
While I think that would be awesome if it's possible, I'm not sure other people would like it.onli wrote:Upload one file, .wav, .mp3, .ogg, it does not matter. Generate a .mp3 and an .ogg fiel the moment an entry is saved and add that to the audio tag, if an audio file is attached to the entry.
I assume this is a “simple” server-side conversion from one audio format to one or multiple others, i.e. it would not be possible to “tweak” that conversion (think bitrate, volume etc.). A lot of podcast people are quite particular about sound quality, so I'm not sure automagic conversion would be what people want use … then there's ID3-Tags etc., I'd assume most podcasters would want more control over their audio?
I think you are right, we would need a developer who's quite an audiophile and/or podcast expert.
YL
Re: Podcasting w/ s9y (was: Podlove integration)
Sure, you can make this configurable in the plugin settings if need be. But otherwise you try to duplicate everything from the given audio file.yellowled wrote:i.e. it would not be possible to “tweak” that conversion (think bitrate, volume etc.).
A transformation coming from a high quality audio file would sound exactly the same. Which is of course not a guarantee that everyone will believe that ;)yellowled wrote:A lot of podcast people are quite particular about sound quality,