Embed gifs and videos in your Sketch files!
Terminal
brew install ffmpeg
Plugins › 🖼 Gif me
What video formats are supported?
Gifs, mp4s, and lots more. Gif.me supports all video formats that are supported by ffmpeg.
Where are the videos stored?
The videos are saved as part of your Sketch file. Note that this can make your Sketch file rather large if you embed large videos! To remove the videos, simply delete the layer displaying the video. The video will be removed the next time you save.
What happens if I don't have gif.me installed, and I open a Sketch file containing embedded videos?
If you don't have the plugin installed, you will see a freeze frame in place of the video. You can continue to work with and save the Sketch file as normal. Videos will only be removed if you delete the layer associated them.
What trickery is this?
It turns out Sketch is really fast at drawing image fills. When you import a video using gif.me, it is split into frames (currently at a fixed rate of 25 frames per second). The video layer's fill is then updated 25 times per second using each frame in sequence. This technique has a nice side effect of the video being just a regular layer, so you can use Sketch's powerful vector manipulation to create some pretty cool effects.
You can also apply the video to an existing layer by selecting it before clicking Gif me. For example, you can convert text to vectors (CMD+SHIFT+O) and then add a gif to it for text with an animated texture effect.
Using gif.me with Abstract?
Since gif.me works by rapidly updating the layer fill, using gif.me in combination with a version control plugin or application such as Abstract, means that Abstract interprets those fill updates as file changes. Which results in a seemingly endless stream of commits despite not making any real visual changes to your file. While this isn't a bug, just know this is why you keep getting those Preview & Commit
messages even if you're not making any visual changes.