<?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>DavidMeharey.com</title>
	<atom:link href="http://davidmeharey.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidmeharey.com</link>
	<description>Practical Business Coaching, SEO, Web Development and Marketing</description>
	<lastBuildDate>Mon, 13 Feb 2012 19:08:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Life Magazine Powered by&#8230;</title>
		<link>http://davidmeharey.com/blog/business/life-magazine-powered-by/</link>
		<comments>http://davidmeharey.com/blog/business/life-magazine-powered-by/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 17:20:46 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[content management]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[relaunch]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://davidmeharey.com/?p=652</guid>
		<description><![CDATA[You guessed it, WordPress. Time Life site has recently been relaunched running on WordPress. I know there are thousands big of businesses running WordPress but it&#8217;s nice to see yet [...]]]></description>
			<content:encoded><![CDATA[<p>You guessed it, WordPress.  <a href="http://life.time.com/" target="_blank">Time Life</a> site has recently been relaunched running on WordPress.  I know there are thousands big of businesses running WordPress but it&#8217;s nice to see yet another high profile public site using one of the best content management systems out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidmeharey.com/blog/business/life-magazine-powered-by/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The State of HTML5 Video</title>
		<link>http://davidmeharey.com/blog/coding/the-state-of-html5-video/</link>
		<comments>http://davidmeharey.com/blog/coding/the-state-of-html5-video/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 14:57:28 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://davidmeharey.com/?p=648</guid>
		<description><![CDATA[Excellent article by LongTailVideo on current (Jan 2012 article, Nov 2011 data) support of HTML5 video features on various devices and browsers. Keep in mind that this is specific research [...]]]></description>
			<content:encoded><![CDATA[<p>Excellent article by LongTailVideo on current (Jan 2012 article, Nov 2011 data) support of HTML5 video features on various devices and browsers.</p>
<p>Keep in mind that this is specific research and should be balanced using your own site analytics (eg. Your site gets mostly Firefox traffic vs IE you can move towards certain features sooner).</p>
<p><a href="http://www.longtailvideo.com/html5/" target="_blank">http://www.longtailvideo.com/html5/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://davidmeharey.com/blog/coding/the-state-of-html5-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QR Codes and vCards</title>
		<link>http://davidmeharey.com/blog/coding/qr-codes-and-vcards/</link>
		<comments>http://davidmeharey.com/blog/coding/qr-codes-and-vcards/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 20:09:17 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[qr code]]></category>
		<category><![CDATA[vcard]]></category>

		<guid isPermaLink="false">http://davidmeharey.com/?p=615</guid>
		<description><![CDATA[While playing around with QR Codes as discussed here and here I found myself wondering if I could throw together a dynamic QR Code for creating a vCard. The answer [...]]]></description>
			<content:encoded><![CDATA[<p>While playing around with QR Codes as discussed <a href="http://davidmeharey.com/blog/business/qr-codes/" target="_blank">here</a> and <a href="http://davidmeharey.com/blog/business/got-a-smartphone-get-a-qr-code-reader/" target="_blank">here</a> I found myself wondering if I could throw together a dynamic QR Code for creating a vCard.  The answer was yes.  With a couple small caveats, it looks ugly and I&#8217;ve tested it but you need to test it yourself before publishing the QR Code, I&#8217;m pretty happy with the results.  </p>
<p>I did find that my favorite QR Scanner I use on my iPhone was one of the many that suffers from poor vCard support so data was getting put in the wrong fields.  Once I tried QRafter (vCard support is good, but I&#8217;m still not sold on the rest of it) I was able to properly test the images.</p>
<p>Feel free to give it a try, right-click on the preferred image to save and post your comments or feedback here.  I get the feeling I will be updating this to make it more useful.</p>
<p><a href="http://davidmeharey.com/dynamic-vcard/">My Dynamic QR Code Creator for vCards</a></p>
]]></content:encoded>
			<wfw:commentRss>http://davidmeharey.com/blog/coding/qr-codes-and-vcards/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Emails and Newsletters</title>
		<link>http://davidmeharey.com/blog/business/emails-and-newsletters/</link>
		<comments>http://davidmeharey.com/blog/business/emails-and-newsletters/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 15:17:30 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Business]]></category>

		<guid isPermaLink="false">http://davidmeharey.com/?p=581</guid>
		<description><![CDATA[If you are collecting emails on your website for newsletters or email updates you&#8217;ll want to make sure that you are compliant with the US CAN-SPAM and/or Canadian C-28 regulations [...]]]></description>
			<content:encoded><![CDATA[<p>If you are collecting emails on your website for newsletters or email updates you&#8217;ll want to make sure that you are compliant with the <a href="http://www.ftc.gov/bcp/edu/pubs/business/ecommerce/bus61.shtm" target="_blank">US CAN-SPAM</a> and/or <a href="http://www2.parl.gc.ca/HousePublications/Publication.aspx?Language=E&#038;Parl=40&#038;Ses=3&#038;Mode=1&#038;Pub=Bill&#038;Doc=C-28_3" target="_blank">Canadian C-28</a> regulations depending on where your email servers and clients are located.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidmeharey.com/blog/business/emails-and-newsletters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using ShortCodes in WordPress Text Widgets</title>
		<link>http://davidmeharey.com/blog/coding/using-shortcodes-in-wordpress-text-widgets/</link>
		<comments>http://davidmeharey.com/blog/coding/using-shortcodes-in-wordpress-text-widgets/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 22:26:20 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[shortcodes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://davidmeharey.com/?p=574</guid>
		<description><![CDATA[Shortcodes can be incredibly useful in WordPress posts but have you ever tried to put them into a text widget? Not much luck there when all you get is the [...]]]></description>
			<content:encoded><![CDATA[<p>Shortcodes can be incredibly useful in WordPress posts but have you ever tried to put them into a text widget?  Not much luck there when all you get is the text showing the [shortcode] you entered.</p>
<p>Well, there is a quick and easy solution.  Just add this to your functions.php file:</p>
<pre class="brush: php; title: ; notranslate">
add_filter( 'widget_text', 'shortcode_unautop');
add_filter( 'widget_text', 'do_shortcode');
</pre>
<p>Source: <a href="http://sillybean.net/2010/02/using-shortcodes-everywhere/" target="_blank">using shortcodes everywhere</a></p>
<p>Simple.  Now you’ll be able to use your cool shortcodes within text widgets.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidmeharey.com/blog/coding/using-shortcodes-in-wordpress-text-widgets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Siri, Google Calendar and Unexpected Invitee Emails</title>
		<link>http://davidmeharey.com/blog/siri-google-calendar-and-unexpected-invitee-emails/</link>
		<comments>http://davidmeharey.com/blog/siri-google-calendar-and-unexpected-invitee-emails/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 15:25:46 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[iOS5 Tips and Tricks]]></category>

		<guid isPermaLink="false">http://davidmeharey.com/?p=561</guid>
		<description><![CDATA[I love my iPhone 4S. I love Siri. I love Google Calendar. However, using Google Calendar there doesn&#8217;t seem to be a way of turning off the automatic invite email [...]]]></description>
			<content:encoded><![CDATA[<p>I love my iPhone 4S.  I love Siri.  I love Google Calendar.</p>
<p>However, using Google Calendar there doesn&#8217;t seem to be a way of turning off the automatic invite email that gets sent when you tell Siri to &#8220;Schedule a meeting with [person's name] on Monday at 10am&#8221;. If the the person is in your contacts with an email address they are added as an invitee and Google Calendar automatically emails them the invite.  Of course, there are ways around this by changing what you tell Siri but that misses the point of the intuitive nature of Siri and impacts it&#8217;s usefulness.</p>
<p>I&#8217;ve had a few emails go out to unexpected invitees for tentative meetings I was just planning before contacting the client. I really wish Google would made the automatic sending of invite emails a setting based feature.</p>
<p>If you know of a fix, add-on or workaround that includes leaving the name of the person in the meeting request to Siri, please comment here.  Of course, if I find anything on the web I&#8217;ll be sure to post it here too.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidmeharey.com/blog/siri-google-calendar-and-unexpected-invitee-emails/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Multiple Google Calendars Using Sync</title>
		<link>http://davidmeharey.com/blog/multiple-google-calendars-using-sync/</link>
		<comments>http://davidmeharey.com/blog/multiple-google-calendars-using-sync/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 20:43:11 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[iOS5 Tips and Tricks]]></category>

		<guid isPermaLink="false">http://davidmeharey.com/?p=556</guid>
		<description><![CDATA[Are you using Google Sync but can&#8217;t get more than one Google calendar to appear on your iPhone? On your iPhone open safari browser and go to m.google.com/sync and login [...]]]></description>
			<content:encoded><![CDATA[<p>Are you using Google Sync but can&#8217;t get more than one Google calendar to appear on your iPhone?  </p>
<p>On your iPhone open safari browser and go to m.google.com/sync and login with your Google account.  Select all the calendars that you want to sync.  The default is to only sync the one calendar but from here you can select up to 25 calendars to sync.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidmeharey.com/blog/multiple-google-calendars-using-sync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Personal Hotspot Not Showing on iPhone 4S</title>
		<link>http://davidmeharey.com/blog/iphone-4s-and-personal-hotspot-not-showing/</link>
		<comments>http://davidmeharey.com/blog/iphone-4s-and-personal-hotspot-not-showing/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 20:09:42 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[iOS5 Tips and Tricks]]></category>

		<guid isPermaLink="false">http://davidmeharey.com/?p=550</guid>
		<description><![CDATA[On my main settings screen under Airplane mode and Wi-Fi, Personal Hotspot wasn&#8217;t showing so I just assumed my carrier (Virgin Mobile Canada) was blocking it. Turns out the reason [...]]]></description>
			<content:encoded><![CDATA[<p>On my main settings screen under Airplane mode and Wi-Fi, Personal Hotspot wasn&#8217;t showing so I just assumed my carrier (Virgin Mobile Canada) was blocking it.  Turns out the reason it wasn&#8217;t showing was it wasn&#8217;t turned ON under Settings->General->Network->Personal Hotspot.  Once I turned it on, it showed up on the main settings screen.</p>
<p>It&#8217;s available via USB, Wi-Fi and Bluetooth.</p>
<p>Sorry I doubted you, Virgin Mobile. <img src='http://davidmeharey.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://davidmeharey.com/blog/iphone-4s-and-personal-hotspot-not-showing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Got a Smartphone, Get a QR Code Reader</title>
		<link>http://davidmeharey.com/blog/business/got-a-smartphone-get-a-qr-code-reader/</link>
		<comments>http://davidmeharey.com/blog/business/got-a-smartphone-get-a-qr-code-reader/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 21:22:24 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Business]]></category>

		<guid isPermaLink="false">http://davidmeharey.com/?p=541</guid>
		<description><![CDATA[Further to my popular post about QR Codes, I figured it was time to talk about reading these codes. QR Codes are starting to gain a little ground in advertising, [...]]]></description>
			<content:encoded><![CDATA[<p>Further to my popular post about <a href="http://davidmeharey.com/blog/business/qr-codes/" target=_blank>QR Codes</a>, I figured it was time to talk about reading these codes.</p>
<p>QR Codes are starting to gain a little ground in advertising, who am I kidding, they are popping up everywhere.  One of the early adopters of this technology was Real Estate agents and like most implementations you have a broad mix of excellent use to useless.  I&#8217;ve seen lawn sign with QR Codes in front of a home for sale that link me directly to the house details (photos, price, agent contact info) and location-aware functionality that shows me other homes the agent lists in the area.  I&#8217;ve also seen the same kind of placement that send me to the agent&#8217;s website with no easy way to find details about the house I&#8217;m standing in front of.  I have clients using them for newsletter signups at their retail counter, others with them on their front door to send after hours visitors to their website and some using them on all their print marketing to engage that &#8220;younger audience&#8221;.  No matter what they are doing with them, it&#8217;s up to the viewer to have some way of using the QR Code.<br />
<span id="more-541"></span><br />
Enter the smartphone.  Just about everyone has one, be it iPhone, Android, Blackberry or Windows 7, but how many have a QR Code reader installed?  Do you?  If you don&#8217;t, you should.  QR Codes aren&#8217;t just limited to sending you to a website, they can:</p>
<ul>
<li>Link to website (targeted content specific to what you are scanning the code for)</li>
<li>Text (larger blocks of text information)</li>
<li>Enter a Phone Number</li>
<li>Send an Email</li>
<li>Prepare a SMS Message</li>
<li>Enter business card contact info using vCard</li>
<li>Link to Google Maps for directions</li>
<li>Paypal Buy Now</li>
<li>Connect to Social Media (Facebook Like, Twitter Tweets, etc)</li>
<li>Get music through iTunes link</li>
<li>Show a Youtube video</li>
<li>Connect to WIFI network for Android Devices</li>
</ul>
<p>Pretty cool, huh?</p>
<p>Depending on your smartphone, here are some of the available QR Code scanners, most of which are free.</p>
<h3>iPhone</h3>
<p>Scan (Free) &#8211; this is one of my favorites so far (<a href="http://itunes.apple.com/ca/app/scan/id411206394?mt=8">iTunes</a>)<br />
Qrafter (Free and Paid versions) &#8211; (<a href="http://itunes.apple.com/us/app/qrafter-the-ultimate-qr-code/id416098700">iTunes</a>)<br />
Optiscan ($1.99) &#8211; (<a href="http://itunes.apple.com/us/app/optiscan-qr-code-scanner-generator/id304099767">iTunes</a>)</p>
<h3>Android</h3>
<p>ScanLife (Free)<br />
Barcode Scanner (Free)<br />
QuickMark (Free)<br />
QR Pal (Free)</p>
<h3>Blackberry</h3>
<p>ScanLife (Free) &#8211; up until I switched to an iPhone recently, this is one I used on my Blackberry.<br />
BeeTagg (Free)<br />
QR Code Scanner Pro (Free)</p>
<h3>Windows 7</h3>
<p>Quickmark (Free)<br />
BeeTagg (Free)<br />
PhraseMeme</p>
<p>There are many, many more so make sure you read the comments in the app store and feel free to post your favorites here in the comments.</p>
<p>The sooner you get an app, the sooner you can start taking advantage of those funky codes and business owners and marketers will love you for it.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidmeharey.com/blog/business/got-a-smartphone-get-a-qr-code-reader/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPhone, 1 Pixel Out Audio Player and HTML5 &#8211; The Prequel</title>
		<link>http://davidmeharey.com/blog/coding/iphone-1-pixel-out-audio-player-and-html5-the-prequel/</link>
		<comments>http://davidmeharey.com/blog/coding/iphone-1-pixel-out-audio-player-and-html5-the-prequel/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 15:44:08 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://davidmeharey.com/?p=501</guid>
		<description><![CDATA[Lots of response to my original article about HTML5 and the 1 Pixel Out Audio Player. Unfortunately, most of it was because the original code and links died. I was [...]]]></description>
			<content:encoded><![CDATA[<p>Lots of response to my <a href="http://davidmeharey.com/blog/coding/iphone-html5-audio/">original article</a> about HTML5 and the 1 Pixel Out Audio Player.  Unfortunately, most of it was because the original code and links died.  I was able to get in touch with the author and he was kind enough to send all his files for me to repost and host here.  Below is Ryan&#8217;s original article (with a couple minor edits requested):<br />
<span id="more-501"></span></p>
<blockquote><h4>The Problem</h4>
<p>As just about everyone knows the iPhone is incapable of playing any sort of Flash through the mobile Safari browser and generally speaking everyone has adapted and found work arounds or changed their sites accordingly as to not require Flash for certain things.</p>
<p>One of the most used plugins I have installed is the <a href="http://www.1pixelout.net/code/audio-player-wordpress-plugin/">1 Pixel Out flash MP3 player</a>. And by the number of downloads and searches I&#8217;ve seen it&#8217;s one of the most popular ways to quickly play an mp3 inline to a blog post. It&#8217;s customizable, looks great and most of all it works perfect! That is until you try to view the post from your iPhone.</p>
<h4>The Solution</h4>
<p>So I hacked around the plugin and created the following patch that will detect if your viewer is using an iPhone, and if so it will serve the MP3 with a clickable &#8220;Play&#8221; image. This allows your viewer to play the mp3 straight through the iPhone! Your viewers will no longer get the no-flash error but instead get this:<br />
<img src="http://davidmeharey.com/wp-content/uploads/iphone_play.png" alt="" /></p>
<h4>Installation [version 2.0.4.1]</h4>
<p>Just download this zip and go to your plugins folder for WordPress. Replace your audio-player.php file with the one provided and put the iphone_play.png image in the assets folder. That&#8217;s it!</p>
<p><a href="http://davidmeharey.com/wp-content/uploads/audio-player-iphone-2041.zip">Download</a><br class = "clear" /></p>
<p>Please note that this is based on version 2.0.4.1. The older version I have ported are listed below.Also, I haven&#8217;t tested all the different methods so you may see an issue here or there. Just hit me up if you have a problem and I&#8217;ll try to fix it. I&#8217;m hoping that 1 Pixel Out will integrate this into the release officially at some point. <em>BTW, The user agent detection function was borrowed from <a href="http://www.bravenewcode.com/wptouch/" target=_blank>WPtouch</a>.</em></p>
<p>For you folks that want to manually do it or see what has been changed just have a look below. In the audio-player.php file you will need to make the following changes:</p>
<p><strong>ETA:</strong> added ipad as a user agent as per MartyW&#8217;s comment below (not in zip file).</p>
<p>Add the following to line 320:</p>
<pre class="brush: php; title: ; notranslate">
		/**
		 * Detects if the user agent is an iPhone or iPod
		 * returns true or false
		 */
		function detectAppleMobile($query = '') {
			$container = $_SERVER['HTTP_USER_AGENT'];
				$useragents = array(
				&quot;iphone&quot;,  				 // Apple iPhone
				&quot;ipod&quot;, 					 // Apple iPod touch
				&quot;ipad&quot;, 					 // Apple iPad
				&quot;aspen&quot;, 				 // iPhone simulator
				&quot;incognito&quot;, 			 // Other iPhone browser
				&quot;webmate&quot; 			 // Other iPhone browser
			);
			$applemobile = false;
			foreach ( $useragents as $useragent ) {
				if ( eregi( $useragent, $container ) || file_exists($devfile) ) {
					$applemobile = true;
				}
			}

			return $applemobile;
		}
</pre>
<p>after inserting that code around line 562 you will see:</p>
<pre class="brush: php; title: ; notranslate">
			} else {
				// Not in a feed so return player widget
				$playerElementID = &amp;quot;audioplayer_&amp;quot; . ++$this-&amp;gt;playerID;
				if (strlen($this-&amp;gt;options[&amp;quot;flashAlternate&amp;quot;]) &amp;gt; 0) {
					$playerCode = str_replace(array(&amp;quot;%playerID%&amp;quot;, &amp;quot;%downloadURL%&amp;quot;), array($playerElementID, $actualFile), $this-&amp;gt;options[&amp;quot;flashAlternate&amp;quot;]);
				} else {
					$playerCode = '&amp;lt;p class=&amp;quot;audioplayer_container&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;display:block;padding:5px;border:1px solid #dddddd;background:#f8f8f8&amp;quot; id=&amp;quot;' . $playerElementID . '&amp;quot;&amp;gt;' . sprintf(__('Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version &amp;lt;a href=&amp;quot;%s&amp;quot; title=&amp;quot;Download Adobe Flash Player&amp;quot;&amp;gt;here&amp;lt;/a&amp;gt;. You also need to have JavaScript enabled in your browser.', $this-&amp;gt;textDomain), 'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;amp;amp;promoid=BIOW') . '&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;';
				}

				$this-&amp;gt;footerCode .= 'AudioPlayer.embed(&amp;quot;' . $playerElementID . '&amp;quot;, ' . $this-&amp;gt;php2js($playerOptions) . ');';
				$this-&amp;gt;footerCode .= &amp;quot;\n&amp;quot;;

				return $playerCode;
			}
</pre>
<p>which needs to be replaced with:</p>
<pre class="brush: php; title: ; notranslate">
			} else {
				if($this-&amp;gt;detectAppleMobile()){
					$iphone_player = '';

					foreach ( explode( &amp;quot;,&amp;quot;, $source) as $afilename ) {
						$afilename = trim($afilename);
						$iphone_player .= '&amp;lt;a href=&amp;quot;'.$afilename.'&amp;quot;&amp;gt;&amp;lt;img src = &amp;quot;'.WP_CONTENT_URL.'/plugins/audio-player/assets/iphone_play.png&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;';
					}
					return $iphone_player;
				} else {
					// Not in a feed so return player widget
					$playerElementID = &amp;quot;audioplayer_&amp;quot; . ++$this-&amp;gt;playerID;
					if (strlen($this-&amp;gt;options[&amp;quot;flashAlternate&amp;quot;]) &amp;gt; 0) {
						$playerCode = str_replace(array(&amp;quot;%playerID%&amp;quot;, &amp;quot;%downloadURL%&amp;quot;), array($playerElementID, $actualFile), $this-&amp;gt;options[&amp;quot;flashAlternate&amp;quot;]);
					} else {
						$playerCode = '&amp;lt;p class=&amp;quot;audioplayer_container&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;display:block;padding:5px;border:1px solid #dddddd;background:#f8f8f8&amp;quot; id=&amp;quot;' . $playerElementID . '&amp;quot;&amp;gt;' . sprintf(__('Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version &amp;lt;a href=&amp;quot;%s&amp;quot; title=&amp;quot;Download Adobe Flash Player&amp;quot;&amp;gt;here&amp;lt;/a&amp;gt;. You also need to have JavaScript enabled in your browser.', $this-&amp;gt;textDomain), 'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;amp;amp;promoid=BIOW') . '&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;';
					}

					$this-&amp;gt;footerCode .= 'AudioPlayer.embed(&amp;quot;' . $playerElementID . '&amp;quot;, ' . $this-&amp;gt;php2js($playerOptions) . ');';
					$this-&amp;gt;footerCode .= &amp;quot;\n&amp;quot;;

					return $playerCode;
				}
			}
</pre>
<h4>Installation [version 2.0 beta 6]</h4>
<p>Just download this zip and go to your plugins folder for WordPress. Replace your audio-player.php file with the one provided and put the iphone_play.png image in the assets folder.</p>
<p><a href="http://davidmeharey.com/wp-content/uploads/audio-player-iphone-2041.zip"/>Download</a><br/>
</p></blockquote>
<h2>Now head on back to my <a href="http://davidmeharey.com/blog/coding/iphone-html5-audio/">update post</a> to see how to take this one step further and get HTML5 into the mix. &#8211; David</h2>
]]></content:encoded>
			<wfw:commentRss>http://davidmeharey.com/blog/coding/iphone-1-pixel-out-audio-player-and-html5-the-prequel/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 10/66 queries in 0.113 seconds using disk: basic
Object Caching 991/1109 objects using disk: basic

Served from: davidmeharey.com @ 2012-02-23 01:25:12 -->
