create account

Embedding Youtube videos vs Dtube by davidhay

View this thread on: hive.blogpeakd.comecency.com
· @davidhay · (edited)
$4.97
Embedding Youtube videos vs Dtube
Why is it so easy to embed youtube videos on Steemit like this 

<iframe width="560" height="315" src="https://www.youtube.com/embed/mijj8ZQxdy8" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>



But completely impossible to do the same for DTube videos?
https://d.tube/v/davidhay/hv0apgwd

I want to promote and use dtube but...
If someone visits my steemit page from youtube and wants to see a video the last thing they want is to be re-directed to the dtube webite to watch. If dtube could embed videos directly in steemit post like Youtube I think a lot more people would use it.
šŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authordavidhay
permlinkembedding-youtube-videos-vs-dtube
categorydtube
json_metadata{"tags":["dtube"],"image":["https://img.youtube.com/vi/mijj8ZQxdy8/0.jpg"],"links":["https://www.youtube.com/embed/mijj8ZQxdy8","https://d.tube/v/davidhay/hv0apgwd"],"app":"steemit/0.1","format":"markdown"}
created2018-02-19 18:22:42
last_update2018-02-19 18:27:06
depth0
children13
last_payout2018-02-26 18:22:42
cashout_time1969-12-31 23:59:59
total_payout_value3.928 HBD
curator_payout_value1.042 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length612
author_reputation3,180,429,910,229
root_title"Embedding Youtube videos vs Dtube"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,853,265
net_rshares885,608,146,458
author_curate_reward""
vote details (46)
@michaelhebo ·
$0.03
It gets embedded on busy.org, so I don't see why Steemit can't make it happen too. [Here's your video embedded on busy](https://busy.org/@davidhay/hv0apgwd).
šŸ‘  , ,
properties (23)
authormichaelhebo
permlinkre-davidhay-embedding-youtube-videos-vs-dtube-20180219t205204216z
categorydtube
json_metadata{"tags":["dtube"],"links":["https://busy.org/@davidhay/hv0apgwd"],"app":"steemit/0.1"}
created2018-02-19 20:52:06
last_update2018-02-19 20:52:06
depth1
children1
last_payout2018-02-26 20:52:06
cashout_time1969-12-31 23:59:59
total_payout_value0.029 HBD
curator_payout_value0.003 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length157
author_reputation68,834,946,430
root_title"Embedding Youtube videos vs Dtube"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,881,453
net_rshares6,334,041,846
author_curate_reward""
vote details (3)
@davidhay · (edited)
Checked out the link, this is perfect. If steemit could embed dtube videos this easily I know a lot of people will switch over.
properties (22)
authordavidhay
permlinkre-michaelhebo-re-davidhay-embedding-youtube-videos-vs-dtube-20180219t212650355z
categorydtube
json_metadata{"tags":["dtube"],"app":"steemit/0.1"}
created2018-02-19 21:26:51
last_update2018-02-19 21:27:06
depth2
children0
last_payout2018-02-26 21:26:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length127
author_reputation3,180,429,910,229
root_title"Embedding Youtube videos vs Dtube"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,887,491
net_rshares0
@neilster · (edited)
$0.04
It really shouldn't be that hard, some simple javascript could easily generate an embed link, maybe its on the roadmap, bearing in mind DTube/Steemit are in their infancy 

#patienceisavirtue
šŸ‘  
properties (23)
authorneilster
permlinkre-davidhay-embedding-youtube-videos-vs-dtube-20180219t184929084z
categorydtube
json_metadata{"tags":["dtube","patienceisavirtue"],"app":"steemit/0.1"}
created2018-02-19 18:49:33
last_update2018-02-19 18:50:09
depth1
children5
last_payout2018-02-26 18:49:33
cashout_time1969-12-31 23:59:59
total_payout_value0.029 HBD
curator_payout_value0.006 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length191
author_reputation590,706,376
root_title"Embedding Youtube videos vs Dtube"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,858,631
net_rshares6,697,589,726
author_curate_reward""
vote details (1)
@davidhay ·
It seems to be such a simple feature that would make both sites so much more usable. 

I understand the projects in beta. Shout out to all the hard working devs!
šŸ‘  
properties (23)
authordavidhay
permlinkre-neilster-re-davidhay-embedding-youtube-videos-vs-dtube-20180219t185322259z
categorydtube
json_metadata{"tags":["dtube"],"app":"steemit/0.1"}
created2018-02-19 18:53:21
last_update2018-02-19 18:53:21
depth2
children3
last_payout2018-02-26 18:53:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length161
author_reputation3,180,429,910,229
root_title"Embedding Youtube videos vs Dtube"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,859,366
net_rshares0
author_curate_reward""
vote details (1)
@neilster · (edited)
Hmm, ok, my apologies, looking at the source code, it seems to only currently support embedding YouTube and Vimeo. It's open source, so i guess someone could fork the source and add more supported platforms, then submit the changes..

![Screenshot_20180219-222946.jpg](https://steemitimages.com/DQmZmyRwUAZZsV62gZhpa2ruF5UoNg21A2e2kUJuLzo4YgM/Screenshot_20180219-222946.jpg)

Line 140-170 https://github.com/steemit/condenser/blob/master/src/app/components/cards/MarkdownViewer.jsx
properties (22)
authorneilster
permlinkre-davidhay-re-neilster-re-davidhay-embedding-youtube-videos-vs-dtube-20180219t223308205z
categorydtube
json_metadata{"tags":["dtube"],"image":["https://steemitimages.com/DQmZmyRwUAZZsV62gZhpa2ruF5UoNg21A2e2kUJuLzo4YgM/Screenshot_20180219-222946.jpg"],"app":"steemit/0.1","links":["https://github.com/steemit/condenser/blob/master/src/app/components/cards/MarkdownViewer.jsx"]}
created2018-02-19 22:33:12
last_update2018-02-20 11:00:27
depth3
children1
last_payout2018-02-26 22:33:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length481
author_reputation590,706,376
root_title"Embedding Youtube videos vs Dtube"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,899,425
net_rshares0
@neilster · (edited)
I took the liberty of making the code change to allow for D-Tube embedding, I have submitted the changes for approval, if all goes to plan, you should be able to embed D-Tube videos shortly... 

https://github.com/WeeNeilster/condenser/pull/1/commits
properties (22)
authorneilster
permlinkre-davidhay-re-neilster-re-davidhay-embedding-youtube-videos-vs-dtube-20180220t134452050z
categorydtube
json_metadata{"tags":["dtube"],"links":["https://github.com/WeeNeilster/condenser/pull/1/commits"],"app":"steemit/0.1"}
created2018-02-20 13:44:51
last_update2018-02-20 13:52:51
depth3
children0
last_payout2018-02-27 13:44:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length250
author_reputation590,706,376
root_title"Embedding Youtube videos vs Dtube"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id39,074,701
net_rshares0
@neilster · (edited)
I'd imagine there is some code preventing the embedding on purpose, so you have to visit d-tube directly, rather than view through an iframe, thereby incrseasing site traffic stats and could also have implications/difficulties paying users via iframes and all their cross domain security issues
properties (22)
authorneilster
permlinkre-neilster-re-davidhay-embedding-youtube-videos-vs-dtube-20180219t185259540z
categorydtube
json_metadata{"tags":["dtube"],"app":"steemit/0.1"}
created2018-02-19 18:53:03
last_update2018-02-19 18:56:00
depth2
children0
last_payout2018-02-26 18:53:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length294
author_reputation590,706,376
root_title"Embedding Youtube videos vs Dtube"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,859,298
net_rshares0
@neneandy · (edited)
would there be any eay to suggest changes on Utopian.io ? I’m thinking this is possible.
Good point David! I will find out.
Thanks for your informative videos!
šŸ‘  
properties (23)
authorneneandy
permlinkre-davidhay-embedding-youtube-videos-vs-dtube-20180219t183020277z
categorydtube
json_metadata{"tags":["dtube"],"app":"steemit/0.1"}
created2018-02-19 18:30:21
last_update2018-02-20 01:40:21
depth1
children2
last_payout2018-02-26 18:30:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length159
author_reputation119,982,527,427
root_title"Embedding Youtube videos vs Dtube"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,854,878
net_rshares1,746,240,914
author_curate_reward""
vote details (1)
@davidhay ·
I'm not sure what that is.
properties (22)
authordavidhay
permlinkre-neneandy-re-davidhay-embedding-youtube-videos-vs-dtube-20180219t185411914z
categorydtube
json_metadata{"tags":["dtube"],"app":"steemit/0.1"}
created2018-02-19 18:54:12
last_update2018-02-19 18:54:12
depth2
children1
last_payout2018-02-26 18:54:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length26
author_reputation3,180,429,910,229
root_title"Embedding Youtube videos vs Dtube"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,859,539
net_rshares0
@neneandy ·
Utopian.io I believe is the site that runs on the Steem blockchain for open source contributors. There you may suggest changes or contribute, I'm not computer savvy but it wouldn't hurt to ask around or maybe  we can come across someone that can.
properties (22)
authorneneandy
permlinkre-davidhay-re-neneandy-re-davidhay-embedding-youtube-videos-vs-dtube-20180220t014449202z
categorydtube
json_metadata{"tags":["dtube"],"app":"steemit/0.1"}
created2018-02-20 01:44:48
last_update2018-02-20 01:44:48
depth3
children0
last_payout2018-02-27 01:44:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length246
author_reputation119,982,527,427
root_title"Embedding Youtube videos vs Dtube"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,933,842
net_rshares0
@shikibyakko ·
$0.06
I agree with you. YouTube just works straight forward in the Steemit portal page.
From what I can see, the main problem comes from the fact that DTube does not have any embeding tool as the one that YouTube has.
If there was one, it would be very easy to just add it to https://github.com/steemit/condenser , as a JSX element like the YouTube one.
But first there is a need to create an embeding tool for DTube. I will try to take a look at the DTube code at GitHub latter, and see if there is anything I can do.
šŸ‘  ,
properties (23)
authorshikibyakko
permlinkre-davidhay-embedding-youtube-videos-vs-dtube-20180219t190730451z
categorydtube
json_metadata{"tags":["dtube"],"links":["https://github.com/steemit/condenser"],"app":"steemit/0.1"}
created2018-02-19 19:07:33
last_update2018-02-19 19:07:33
depth1
children1
last_payout2018-02-26 19:07:33
cashout_time1969-12-31 23:59:59
total_payout_value0.046 HBD
curator_payout_value0.009 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length512
author_reputation4,364,468,100
root_title"Embedding Youtube videos vs Dtube"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,862,254
net_rshares10,471,887,717
author_curate_reward""
vote details (2)
@neneandy ·
Right on!
properties (22)
authorneneandy
permlinkre-shikibyakko-re-davidhay-embedding-youtube-videos-vs-dtube-20180220t020847067z
categorydtube
json_metadata{"tags":["dtube"],"app":"steemit/0.1"}
created2018-02-20 02:08:48
last_update2018-02-20 02:08:48
depth2
children0
last_payout2018-02-27 02:08:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length9
author_reputation119,982,527,427
root_title"Embedding Youtube videos vs Dtube"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,938,465
net_rshares0