Loomio
Sun 20 Apr 2014 11:44AM

markdown to play videos html5

JS Juan Santiago Public Seen by 120

For a free system does not seem good thing to embed youtube videos and not free to embed video formats, now that we think good idea implemetarlo html5 video and audio.

In this way we could play videos hosted on our own servers or some mediaglobin server.

We need this output:

   Your browser does not implement html5 video.
video>

Could a markdown used like this?

!!! Alt text

JH

Jonne Haß Thu 24 Apr 2014 8:38AM

And disabling preloading might not be enough, rendering a dozen audio/video players might already quite increase the load on the client.

DU

rekado Fri 25 Apr 2014 7:20AM

@jonnehass what makes you think rendering these minimalist players would increase load any more than rendering embedded YouTube video or SoundCloud audio players (or even regular image tags)?

JH

Jonne Haß Fri 25 Apr 2014 12:08PM

Personal experience, I had it quite a few time that page became sluggish with many video players on them. It's one of the main reasons we have click to play for Youtube videos already.

DU

rekado Sat 26 Apr 2014 8:01AM

To avoid these problems (that I have not experienced myself) you could extend your markdown renderer to only create a dummy UI element which, on click, would be replaced with the appropriate HTML5 snippet.

Either way: the JS renderer would have to be extended.

IGM

Ivan Gabriel Morén Sun 27 Apr 2014 1:21PM

What is used to create the preview of youtube/vimeo videos? If it's possible to extend it, it would give us a unified way of presenting videos which would be good out of a design perspective. Moreover, all video previews could then be changed more easily as the diaspora design grows and changes.

JH

Jonne Haß Sun 27 Apr 2014 2:25PM

JS

Juan Santiago Sun 27 Apr 2014 2:57PM

I,m think to show youtube video diaspora using oEmbed . Is that so?

In that case I do not think it's the right choice, to implement previously we need know domains where files host and more data.

The idea is to take advantage of new HTML5 tags and to play media without depending on any platform,

The business able to upload webm or ogg file to any server and display them in diaspora, take advantage of html5 to not need youtube and other corporations. I think we should do it the most simple way possible.

TS

Trolli Schmittlauch Sun 21 Sep 2014 5:27PM

There's an effort going on about standardizing Markdown, called CommonMark (because Jon Gruber complained about them using his name "Markdown").

If we extend the MarkDown standard we should stay close to CommonMark which has some chances to become the dominant MarkDown standard. There's already a discussion about extensions for audio and video going on: http://talk.commonmark.org/t/embedded-audio-and-video/441/4

About the problem with changing the complex parser: Let's hope Common Mark succeeds, maybe then anybody will write some new parsers for Ruby and Javascript Diaspora* could just adopt.