HTML5 media embed
![JS](/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBK0N6Q1E9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--a0ff2f0cf51786dfb5dfb821d7894cb67b736770/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDRG9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJrQmdHa0JnRG9LYzJGMlpYSjdCem9NY1hWaGJHbDBlV2xWT2dwemRISnBjRlE9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--e579049eb7f20fc1070cc24f3215f2949d184302/coco.jpeg%3F1380895050)
We've talked about this:
https://www.loomio.org/d/hAd4SHYa/enable-html5-video-audio-tags
https://www.loomio.org/d/L0GCaZqf/cross-posting-mediagoblin
https://diasp.org/posts/3518976
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?
![JR](https://secure.gravatar.com/avatar/20235a00efc20937c65da4b9ce11d625.png?d=retro&r=pg&s=128)
Jason Robinson Tue 30 Jun 2015 6:26PM
@juansantiago
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?
- Find a person who can code it
- Post a bounty to reward someone to code it
![JS](/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBK0N6Q1E9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--a0ff2f0cf51786dfb5dfb821d7894cb67b736770/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDRG9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJrQmdHa0JnRG9LYzJGMlpYSjdCem9NY1hWaGJHbDBlV2xWT2dwemRISnBjRlE9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--e579049eb7f20fc1070cc24f3215f2949d184302/coco.jpeg%3F1380895050)
Juan Santiago Tue 30 Jun 2015 9:17PM
ok, I will seek help from my friends.
Where are the rewards for diaspora code published?
Rich Wed 1 Jul 2015 5:24AM
You can find the details here https://www.bountysource.com/teams/diaspora/bounties
![JS](/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBK0N6Q1E9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--a0ff2f0cf51786dfb5dfb821d7894cb67b736770/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDRG9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJrQmdHa0JnRG9LYzJGMlpYSjdCem9NY1hWaGJHbDBlV2xWT2dwemRISnBjRlE9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--e579049eb7f20fc1070cc24f3215f2949d184302/coco.jpeg%3F1380895050)
Juan Santiago Sun 5 Jul 2015 12:08AM
Thanks @rich1
Deleted account Tue 7 Jul 2015 5:03PM
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.
![N](https://secure.gravatar.com/avatar/386d3d26848868e3058feb755ea50cff.png?d=retro&r=pg&s=128)
nolcip Sun 19 Jul 2015 6:44PM
Hello. I have a functioning workaround for this featue.
I implemented just like @augier said. You can find a working example here:
https://podricing.pw/posts/323
How to install this feature:
wget http://hastebin.com/raw/oyicomazeq -O app/assets/javascripts/html5Embed.js
echo "//= require html5Embed" >> app/asset/javascripts/main.js
This is an aditional javascript file thats embed to the rest of the pod's javascript code.
Deleted account Tue 21 Jul 2015 11:46AM
Does it work with <audio>
tags also, @nolcip ?
![JS](/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBK0N6Q1E9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--a0ff2f0cf51786dfb5dfb821d7894cb67b736770/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDRG9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJrQmdHa0JnRG9LYzJGMlpYSjdCem9NY1hWaGJHbDBlV2xWT2dwemRISnBjRlE9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--e579049eb7f20fc1070cc24f3215f2949d184302/coco.jpeg%3F1380895050)
Juan Santiago Tue 21 Jul 2015 11:53AM
@augier
html5 players </ video> also play audio formats such Ogg , we can assume that run, but, good question.
![N](https://secure.gravatar.com/avatar/386d3d26848868e3058feb755ea50cff.png?d=retro&r=pg&s=128)
nolcip Tue 21 Jul 2015 7:58PM
@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:
https://podricing.pw/posts/10426
Install:
wget http://hastebin.com/raw/xeqafeyile -O app/assets/javascripts/html5Embed.js
echo "//= require html5Embed" >> app/asset/javascripts/main.js
theradialactive · Sun 28 Jun 2015 11:08PM
I would like this feature. I often spread podcast episodes on diaspora*, but they aren't listened to or shared as much as videos.