Home

Stacey

News & Updates

November 10, 2009
at 12:29pm
home

Version 1.1 Released

Updates

  1. With this version support has been added for .mov, .mp4, .html & .swf files. This means you can now use Quicktime movies, Flash and Youtube/Vimeo videos within your site.
    The new asset variables are:
    @Video
    – Any .mov or .mp4 files attached to the page.
    @Html
    – Any .html files attached to the page. This is used to embed Youtube/Vimeo videos.
    @Swfs
    – Any .swf files attached to the page.
    @Media
    – Any .mov, .mp4, .swf, .html or image files attached to the page.
    The default templates have all been updated with examples using the new asset types.
  2. The @Images partial now has access to a new variable @name, which is taken from the filename of the image and can be useful for setting short captions or alt text.
  3. The @Category_Lists variable now has access to any variables inside the the category it is currently referencing within the loop. The partials within the third template have been updated to take advantage of this addition.

Video sizes

As .swf and .mov/.mp4 files require a fixed width and height, your files need to be named to a specific format (widthxheight.mov).

ie. ‘300x150.mov’ – where 300 is the width of the video and 150 is the height.

Including Youtube/Vimeo movies

Within your page’s folder, create a file named youtube-include.html (it can be named whatever you like as long as it ends in .html). Within that file cut and paste the embed code from Youtube.
ie.

<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/8NzMsktBcmI&hl=en&fs=1&"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/8NzMsktBcmI&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed>
</object>

Then in your page’s template, replace @Images with @Media.

Thanks

With this release the code behind the app has been cleaned up immensely. For this I have to thank stacey’s main Github contributors:
Justin Ridgewell – http://github.com/somedumbme91/
Ian Yamey – http://github.com/ianyamey/
BigEthan – http://github.com/bigethan/

Notes

  1. staceyapp posted this