We’ve talked about this:
Now redmatrix can do that.
Is it a good idea to look as it redmatrix does and make in Diaspora?
This seems to me a very imporant business, I have no knowledge of code enough to put my hands, is there anything I can do?
Do you think that this is a priority for diaspora?
How complicated is it?
Note: This discussion was imported from Loomio. Click here to view the original discussion.
I would like this feature. I often spread podcast episodes on diaspora*, but they aren’t listened to or shared as much as videos.
ok, I will seek help from my friends.
Where are the rewards for diaspora code published?
I don’t think this would be complicated. It’d be basically a little tweak of the MD parsing to make
!() syntax to detect and embed the media directly. But, as diaspora uses a gem to parse the MD, it’d be more an upstream issue.
Hello. I have a functioning workaround for this featue.
I implemented just like @augier said. You can find a working example here:
How to install this feature:
Does it work with
<audio> tags also, @nolcip ?
html5 players </ video> also play audio formats such Ogg , we can assume that run, but, good question.
@augier sure, technically it should work. Aesthetically, though, Itd show an ugly black box.
I added ogg support to the script. You can see it working here:
@juansantiago what’s the syntax used by RedMatrix?
Redmatrix uses a kind of BBcode itself, but I haven’t managed to get the integration with diaspora work and to see what comes to our side.
Proposal: Use the link syntax for embedding
Outcome: Though it would be technically the easiest, I don’t think we should accept this proposal, because we don’t have anything close to consensus.
Note: This proposal was imported from Loomio. Vote details, some comments and metadata were not imported. Click here to view the proposal with all details on Loomio.
@comradesenya I think you should detail a bit the pro and the cons of the link syntax (
()) versus the embedding syntax (
!() is not a standard and not even an extension. The CommonMark people are still discussing the syntax as we do. And they have alternative proposals like
!audio() syntax. I also have an idea just now come to my head - to use text inside the square brackets to mark media type like
I’ll try to sum up details a little bit later.
The link syntax(
Will look nice even with software, which doesn’t support embedding.
Will be unable to post a link without embedding.
The image syntax
The syntax is unambiguous if the software supports it. Proposed and used by somebody in the CommonMark community.
Looks bad if used with unsupported software (e.g. older versions of diaspora). Require more work to deal with tumblr export and mobile versions of diaspora.
I mean, that if you post
[title](http://example.com/file.webm), then it’ll be replaced with embed, and you can’t have it as a usual link.