<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>House of Laudanum &#187; Search Results  &#187;  Grandiflora</title>
	<atom:link href="http://houseoflaudanum.com/?s=Grandiflora&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://houseoflaudanum.com</link>
	<description>Bespoke solutions for creative people, Sydney Australia +61 412 116121</description>
	<lastBuildDate>Wed, 08 Sep 2010 05:13:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HTML5 video &#8211; no webm.</title>
		<link>http://houseoflaudanum.com/navigate/howtos/html5-video-no-webm/</link>
		<comments>http://houseoflaudanum.com/navigate/howtos/html5-video-no-webm/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 12:48:40 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[HowTos]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=723</guid>
		<description><![CDATA[Quick recipe for HTML5 video with Flash fallback. Used here.

Download (and fix) HTML5media
Your &#60;head&#62; will need flowplayer.js and html5media.js. Keep flowplayer.swf in the same directory.
Convert source videos to h264/mp4 and ogg. See ffmpeg switches below.
Add &#60;video&#62; tag. Add two &#60;source&#62; lines and an optional &#60;poster&#62; line. See below.

Once installed correctly, h264 will play in Chrome, [...]]]></description>
			<content:encoded><![CDATA[<p>Quick recipe for HTML5 video with Flash fallback. Used <a href="http://grandiflora.net/">here</a>.</p>
<ol>
<li>Download (and fix) <a href="http://github.com/etianen/html5media">HTML5media</a></li>
<li>Your <code>&lt;head&gt;</code> will need flowplayer.js and html5media.js. Keep flowplayer.swf in the same directory.</li>
<li>Convert source videos to h264/mp4 and ogg. See ffmpeg switches below.</li>
<li>Add <code>&lt;video&gt;</code> tag. Add two <code>&lt;source&gt;</code> lines and an optional <code>&lt;poster&gt;</code> line. See below.</li>
</ol>
<p>Once installed correctly, h264 will play in Chrome, Safari, Mobile Safari (iPad). Ogg will play in Firefox. Flash will play the H264 on Explorer (and Firefox if you don&#8217;t provide an ogg version).</p>
<p>Here are the ffmpeg switches for compressing these files. I&#8217;ve installed ffmpeg from <a href="http://debian-multimedia.org/">Debian multimedia</a>. These files are square pixel and square format. You can also check the input format by just calling <code>ffmpeg -i INPUT.mp4</code>. That might give you an idea of what -b (bitrate) and -bt (bitrate for libx264) should be like.</p>
<h3>ffmpeg</h3>
<p><code> rossetti@Wakatipu:~$ ffmpeg -version<br />
FFmpeg version SVN-r13582, Copyright (c) 2000-2008 Fabrice Bellard, et al.</code></p>
<p><code>rossetti@Wakatipu:~$  ffmpeg -i flower3_15_2.mp4 -cropright 210 -cropleft 210 -aspect 1 -s 544x544 -vcodec libx264 -r 25 -b 516k -bt 516k -crf 22 flower3_15_2-crop.mp4</code></p>
<p><code> </code></p>
<p><code>rossetti@Wakatipu:~$  ffmpeg -i flower3_15_2.mp4 -cropright 210 -cropleft 210 -aspect 1 -s 544x544 -r 25 -b 516k flower3_15_2-crop.ogg</code></p>
<h3>HTML5</h3>
<p>This code hides the builtin controller. You can easily control it from javascript however. This one will preload anyway (it will start buffering even if paused) and autoplay. The contents of the <code>&lt;video&gt;</code> tag is parsed by the browser looking for a file it can play. Firefox will stop parsing at <em>ogg</em> and play. Internet Explorer (without the html5media javascript library) will only see the <code>&lt;img&gt;</code> tag. If you&#8217;re not autoplaying, <code>&lt;poster&gt;</code> will show before play.</p>
<p>One thing to watch is that <code>&lt;video&gt;</code> may not respect the width/height attributes that you specify.</p>
<p><code>&lt;video width='540' height='540' autoplay='true' style='border : none;'&gt;<br />
&lt;source src='/sites/all/themes/grandiflora/libs/flower3_15_2-crop.mp4' autoplay preload type='video/mp4'&gt;<br />
&lt;source src='/sites/all/themes/grandiflora/libs/flower3_15_2-crop.ogg' autoplay preload type='video/ogg'&gt;<br />
&lt;poster src='/sites/all/themes/grandiflora/libs/magnolia-still.jpg' width='540' height='540' /&gt;<br />
&lt;img alt='Grandiflora of Sydney delivers roses and beautiful native and seasonal flowers and specialises in bridal flowers, weddings and events.' src='/sites/all/themes/grandiflora/libs/magnolia-still.jpg' width='540' height='540' /&gt;<br />
&lt;/video&gt;</code></p>
<h3>HTML5media</h3>
<p>The fix I mention is in the regular expression that detects compatibility. It fails (for me) in Firefox on mp4s. Here&#8217;s a patch.</p>
<p><code>// Extracts the mimetype from a format string.<br />
function getMimeType(format) {<br />
-        return format.match(/\s*([\w-]+\/[\w-]+);|\s/)[1];<br />
+		if ( format.match(/\s*([\w-]+\/[\w-]+)|\s/)[1] )<br />
+			return format.match(/\s*([\w-]+\/[\w-]+)/)[1];<br />
+		else<br />
+//	this fails if you pass in a raw mimetype ( ie firefox passing in type="video/mp4"<br />
+	        return format.match(/\s*([\w-]+\/[\w-]+);|\s/)[1];<br />
}</code></p>
<p><code> </code></p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/howtos/html5-video-no-webm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grandiflora</title>
		<link>http://houseoflaudanum.com/work/grandiflora/</link>
		<comments>http://houseoflaudanum.com/work/grandiflora/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 05:01:46 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Social media]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[florist]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[ubercart]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=698</guid>
		<description><![CDATA[
Client : grandiflora / Saskia Havekes
Job type : Website, mailing lists, and other marketing strategies.
Year : 2002. Redesign &#38; new back end 2010.
Designer : Yolande Gray
Link : grandiflora.net

For Sydney florist grandiflora&#8217;s recent redevelopment we&#8217;ve built a gorgeously designed Drupal theme incorporating custom Drupal &#38; Ubercart modules. The site is lavishly illustrated with photographs by Gary [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li><em>Client : </em>grandiflora / Saskia Havekes</li>
<li><em>Job type :</em> Website, mailing lists, and other marketing strategies.</li>
<li><em>Year : </em>2002. Redesign &amp; new back end 2010.</li>
<li><em>Designer : </em>Yolande Gray</li>
<li><em>Link : </em><a href="http://grandiflora.net/">grandiflora.net</a></li>
</ul>
<p>For Sydney florist grandiflora&#8217;s <a href="http://grandiflora.net/">recent redevelopment</a> we&#8217;ve built a gorgeously designed <a href="http://drupal.org/">Drupal</a> theme incorporating custom Drupal &amp; <a href="http://www.ubercart.org/">Ubercart</a> modules. The site is lavishly illustrated with photographs by <a href="http://garyheery.com/">Gary Heery</a>, designed by the lovely Yolande Gray with a timelapse of a magnolia opening by <a href="http://ianhobbs.net/">Ian Hobbs</a>. Needless to say Saskia and all the flowers are loving the new site!</p>
<p>Store keepers can now sell seasonal flowers that are on the floor today. With a couple of clicks roses are out and tulips are in. Photos from the morning markets go up straight away to <a href="http://twitter.com/realgrandiflora">Twitter</a> where they are syndicated to the <a href="http://blog.grandiflora.net/">grandiflora blog</a>. Customers can log in to the site and create reminders for their future special events – never forget another anniversary! Still underway are a social style guide to help the staff communicate their brand effectively and an upgrade to their electronic profile including forthcoming EDMs.</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/work/grandiflora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
