My Authors
Read all threads
Day 18: Let me show you how to make a video preview clip with a couple lines of code 😁🥰😇 #25DaysOfMediaMagic

And Oh, there's the URL & #NoCodeApproach
Let me outline the steps:

1. Upload a video to @cloudinary
2. Set your total duration for the preview video you want to create.
3. Layer on additional copies of the video with the corresponding beginning/end of each clip
4. Set the desired dimensions of the preview video
@cloudinary 5. Remove the audio. Well, that's optional and totally dependent on you!

So, with code, this is how you go about it. Using Node.js as an example:

Breaking it down:

- "MLB2" is the public id of the video
- duration of the clip is set to 12
- specify start offset & end offset Image
@cloudinary - Specify the "spice" layer_apply parameter to ensure the short clips of the repeating video are layered against each other.

With the URL option, this is how it will look:

That's it!

Lol, it's that easy. So, go ahead and try yours! #25DaysOfMediaMagic 🔥🚀 Image
Missing some Tweet in this thread? You can try to force a refresh.

Enjoying this thread?

Keep Current with #25DaysOfMediaMagic 🔥🚀

Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!