GifMovie site

I am trying to make a plugin that will:

  1. add sounds to a gif
  2. present a gif as a ‘movie’ starting and stopping on a click.

I do not really know what I am doing. I have seen a few plugins that ‘freeze’ a gif until clicked, they seem to generate a jpg from the the gif. The approach here is different:

  1. A shortcode [gifmovie gif=’gif-url’ mp3=’mp3-url’]eg: [gifmovie gif='http://38.media.tumblr.com/5704f412385f040cb6c7e232519867c7/tumblr_npstce4Hpp1rggurro1_500.gif' mp3='http://freesound.org/data/previews/157/157873_2836235-lq.mp3']
  2. The short code adds the gif with a class of gifmovie and an attribute of mp3
  3. Javascript then adds a canvas element, put a frame from the gif on and a play button, it hides the gif. Adds an audio element for the mp3. Clicking hide canvas, shows gif and play audio.

 

ScotEduBlogs is an aggregation of Scottish Educational Blogs.

If you blog about education in Scotland you can Submit Your blog to ScotEduBlogs.

If you use an RSS aggregator you can subscribe to all of the Entries.

You can read more About ScotEduBlogs on the site itself.

Here are the last few posts on the SEB stream:

 

  • by NomadWarMachine
    “102 Mask” flickr photo by NomadWarMachine shared under a Creative Commons (BY-NC-SA) license
  • by goodenoughmum
    Good people I have found Can seem Far and few between Or many maybe keep it hidden well. They shield their good with armour That keeps them safe from laughter Or hurt that bounces off their […]
  • by goodenoughmum
    Plastic or mat? Giving you choice. Dry or in comfort? Hearing your voice. My heart cracks to see this This no choice at all A coin tossed at your birth And how it did fall Has […]
  • by goodenoughmum
    Sunday Sunny day A day of rest Or not. How does your mind rest Full of things You wish that you forgot? The answer is It has to Or else there madness lies. Start where you […]
  • by NomadWarMachine
    “96 Prancing Stag” flickr photo by NomadWarMachine shared under a Creative Commons (BY-NC-SA) license