I figured out how to get D.tube videos to play on Steemit

in #dtube6 years ago

Hello everyone :)

I'm not sure if this is helpful information or not, but I had previously been facing this issue and now that I figured out a fix, I would like to let people know.

When you post to D.tube, it shares a post on the Steem blockchain with an image linked at the top of the post to the D.tube video. Most people don't seem to want to have to open that up to play the video, and I understand that. As I had been cross posting to YouTube, I would just share the embed link from there, and it works fine.

However, apparently if you simply paste the URL of the D.tube video in your post, it will put in a player that is viewable on Steemit. I'm not sure if this is a recent development or not, but it certainly is nice. The only issue then is that you'll have to edit a post and add this in, unless there is some way to generate the URL prior to posting on D.tube that I don't know about.

To provide an example:

This is what is put at the top of the post from D.tube:
<center><a href='https://d.tube/#!/v/nmcdougal94/dgg56pc4'><img src='https://ipfs.io/ipfs/QmUdjGAXZBp2c5h67eaCaM1bKtz6EWegXw7qQ337tmcsnV'></a></center><hr>

What that shows up as is an image, the snapshot of the video, that links to the D.tube page. In order to get a player on Steemit, you simply put the URL that is after the "href" above, like so:

https://d.tube/#!/v/nmcdougal94/dgg56pc4

Here is what happens when I do that:

Hopefully this helps someone else who encountered this problem.

Until next time,

Aloha

Sort:  

stares in disbelief

oh wow... this is awesome...

you're actually "exploiting" the <img> tag's multimedia capabilities there by just pointing the source directly to the video on IPFS [further reading]

This might not work on all browsers and devices, but it's probably working for the majority of users.

I would hope dtube will make that a standard in their original post-format asap, but I guess they do appreciate getting traffic on their own site too much?!

P.S.: I just tried steempeak, partiko and busy, they all don't allow the video source and just show a clickable text-link

P.P.S.: I did some further digging... and I've been talking out of my arse apparently... the truth is: STEEMIT (condenser) has actually integrated support for dtube embeds and this isn't a html hack at all!! -> https://github.com/steemit/condenser/commit/45b635eea1b7525b51a78f5e1ce7d4a2d8cf3cb6

So Steemit has supported this since May, and D.tube is just a rude site haha.

Weird that Partiko can properly display the D.tube videos for the normal posts, but Steemit does not. I wonder why that is. Do the other front ends display the video?

Posted using Partiko Android

🏆 Hi @nmcdougal94! You have received 0.05 SBD reward for this post from the following subscribers: @carolkean
Subscribe and increase the reward for @nmcdougal94 :) | For investors.

Your post should be REQUIRED READING  for anyone who uses Dtube, as this video played more smoothly and cleanly than any Dtube video I have seen thus far. There were no frequent pauses and stutters, which have been present on every other Dtube video I have ever seen. I don't know if it is simply your embed-technique which fixed the issue, or if there is something else you have done, but you're the king! "Bravo!" for sharing this!

now I am going to tag a few people who use Dtube quite often, for which I've not been able to watch their videos, in hopes they try this...

@dtube @xcountytravelers @enginewitty @clixmoney @raj808 @coruscate @steemsistershow @daltono @jeronimorubio

...and I hope that this post will be resteemed and the tip passed on to all the other Dtube users!

Yeah, they added that option recently. Now we can embed links in steemit. I started to add that in the end of my posts.

Thanks Kitty! Love learning new things! Why was there never a tutorial on this before???

Well thank you, that is much appreciated.

D.tube has a way to actual get the HTML embed for the videos, you just need to click on the three dots in the corner under the video. Why the platform refuses to embed the videos, either with the embed code or simply a link, is beyond me.