Code Monkey home page Code Monkey logo

sketch-gifme-plugin's Introduction

gif.me logo

Gif.me for Sketch

Embed gifs and videos in your Sketch files!

Animated cat in Sketch file

Installation

  1. Open Terminal
  2. Install Homebrew
  3. Run brew install ffmpeg
  4. Download and install the latest plugin release
  5. Select Gif me from the Plugins menu

Usage

  1. Select an existing shape (if you'd like it filled with the gif or video. If you just want the gif dropped into your file then no need to select anything!)
  2. Run Plugins โ€บ ๐Ÿ–ผ Gif me
  3. Select the gif or video you want to add (Gif.me supports all video formats that are supported by ffmpeg.
  4. That's it! Have fun overloading your files with cat gifs, and hopefully easing the pain of designing for accessibility when gifs and video are involved.

More info

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.

Animated gif.me team dancing like chickens

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.

The text gif.me with an animated fire texture

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.

sketch-gifme-plugin's People

Contributors

eliasjulian avatar kannonboy avatar skpm-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sketch-gifme-plugin's Issues

Sketch 52: does it work?

When I use the plugin, nothing is happening. Is there any issues with the latest Sketch update?

I can't export the artboard with the gif playing

Hello to all! I can't export the arboard with the GIF inserted... It doesn't exist the option to export in .gif one only artboard? When I upload the artboard to Invision by Craft, it doesnt works too... Do you know the solution?

If I use another plugin called " Export more" it's also imposible... It only for create Gifs with diferents artboards ;)

gifme doesn't work in Sketch 46.x

Hello!

I use Sketch, Version 46.2.

Downloaded latest Homebrew and installed latest gifme-plugin.
The gifme plugin shows up in sketch and I can select a mp4 file. After selecting the file, nothing happens. I also tried it with selecting a rectangle first.

Can the videos play in Preview mode?

I'm aware that they can play in the sandbox, while you're designing, but when you're in the preview mode, can the videos play there as well?

I've also seen on the forums somewhere that if the system doesn't have gifme and there's a video attached to the sketch document, it just shows a still snapshot of the video.

Can someone let me know if having the video play in preview mode is possible? I've managed to get the video to play in design mode, trying to get it to play in preview mode.

Forgive my apparent repetitiveness, I'm recovering from a client request.

Plug in isn't working

Does the plug in not work with Sketch 48.2? I've followed all the steps, but when I click on plugins --> gif me --> select one, nothing pops up on Sketch.

Issue with 47?

Hi!

Using Sketch 47, latest update.

  1. Downloaded latest Homebrew and installed latest Gif.me-plugin.
  2. Creates an artboard, adds a rectangle. Selects it.
  3. Opens up Sketch > Plugins > Gif Me. Choose a random GIF-anim (tried several).

Nothing is revealed in Sketch. No gif-anim, no nothing.

GIFs stop playing after closing and reopening file

If I close a file and reopen it, all the GIFs will show a static image of the first frame. I can re-insert the GIFs by running the plugin again, but it's a bit of a hassle.

I wasn't sure if this is just part of the plugin or an issue I'm having.

Thanks!

Installing without using Homebrew

Hey,

Is there a way to install this plugin without using Homebrew as I'm not able to use it due to admin rights at work.

Also I'm pretty new to this so sorry if I've missed of any key info needed. Ta

Zoom cutting out

After adding a gif, zooming in and out causes the canvas to go blank (white) temporarily.

Export interactive PDF

Hello,

how is it possible to export artboards including the gifs / videos as an interactive PDF file?

Thank you.
Best,
Martina

Not working on Sketch 47.1

Hi all,

I love the idea but the plugin is not working for me on Sketch 47.1 (latest stable version).
I've followed the steps indicated but nothing happens: no gif, no error.

Videos stop playing after a certain number of repeats

Working with sketch 47.1 and ~5mb video file on MacOs Sierra.

Video loops correctly approx. for a minute then stops on first frame. Deleting and replacing the video is required to have it loop again for a minute.

EDIT : Bug isn't consistent, some video inclusions repeat indefinitely.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.