View my LinkedIn profile Subscribe to my RSS feed

Archive for the ‘Mobile Web’ Category

The multi-screen world (and what it means for you)

Friday, November 23rd, 2012

photo credit: adactio via photopin cc

 

We’re multi-screeners.  Or at least North Americans are, according to a Google study from earlier this year, and I don’t think we in England are far off.

 

The study looked at how media is used in daily life, and how consumers use multiple screens to accomplish their tasks (the study report is embedded at the bottom of this post).  These are the things that stood out for me:

 
 

“The device we choose to use is often driven by our context: where we are, what we want to accomplish and the amount of time we have or need.”

 

Thoughts: notice this isn’t just about location, but also about time available, attitude and state of mind.  How often have you reached for your phone while sitting on the sofa – not because it was easier to use than an iPad or laptop, but just because it happened to be there & meant you didn’t have to get up?

 

Learning Point: context does drive device choice, but be careful of making assumptions as to what your ‘mobile users’ are doing and what content they want from your website.  They’re not always walking down a street or in a car trying to find your office!

 

 

 

“Smartphones are the backbone of our daily media interactions.   They have the highest number of user interactions per day and serve as the most common starting point for activities across multiple screens.”

 

 

Learning point: You need to be on mobile.  Your mobile website needs to be easy to use.  “Smartphones serve as the most common starting point for activities across multiple screens” – so your mobile website needs to present the right information in a tidy, quick, professional manner – convincing people sufficiently to continue their interaction with your business at a later time/date.
 

 

“But… they also have the lowest average time spent per interaction.”

 

 

Learning point:  Your mobile website needs to get the right information to people, fast.  Navigation is incredibly important, content even more so.  If the first thing people see of every page is a big ugly menu, it’s not great.  Give them content right away, along with an easy to access menu that displays fully when clicked.  Speed is obviously also very important here.

 

 

“Portable screens allow us to move easily from one device to another to achieve a task.  Search is the most common bridge between devices in this sequential usage.”

“There are two main modes of multi-screening:

  • sequential screening – where we move between devices.
  • Simultaneous screening – where we use multiple devices at the same time”

 

Learning point: Content, structure and search need to be consistent across devices.  People follow things up on a smartphone after looking initially on a laptop or PC.  Making the same content available on all devices is crucial to prevent user frustration.  In addition, presenting information in a consistent site structure/with a consistent navigation (albeit displayed differently on mobile) is important to ensure users can take the same path to find information, regardless of device.

 

 

The Report

On a tangent…

 

As I was looking into this, I couldn’t help thinking:

 

  • How image based / ‘easy-read’ this report is.  Yes, it’s nice to consume. But I worry about this trend slightly.  Are we becoming ever more used to being spoon-fed high level information & losing the inclination to dig deeper?

 

  • How much time we spend in front of a screen.  The report stated ‘On average we spend 4.4 hours of our leisure time in front of screens each day.’  Note that relates to leisure time.  To my mind, that’s hugely unhealthy.  By the time I’ve finished work, the desire to stare at a screen is usually pretty non-existent!  Surely spending this amount of our free time in front of a screen inhibits health, relationships, productivity, creativity … need I go on?!

 

 

The right approach for mobile web

Monday, June 25th, 2012

Everyone is banging on about mobile websites these days.


Your response to this (I’m about to put you into a very square, tidy pigeon hole… address all complaints to studio@hexagonwebworks.com), probably falls into one of three categories.


Either:

  1. you’ve already got it sorted (good on you!)
  2. you know it’s something you need to think about but keep putting off
  3. you are stubbornly refusing to even think about it



This article is for people in pigeon hole number 2 (everyone else may leave now).


So – this mobile website thing… what’s the best way to go about it?  First off, let me say that there are a couple of main ways to approach mobile web design.  Think of them like this:

  1. Create an entirely separate website for people who are using a mobile
  2. Modify/build your website so that it adapts to suit the device (mobile, desktop or other) that it is being viewed on.  This is called ‘Responsive Design’.



When commissioning a mobile website, ask the person you’re dealing with which of these two they will be providing.


There’s no right or wrong answer.  But…


(she says, meaning that in other words, there kind of IS a right & wrong…)


Unless you’re a very big company and/or want to build a mobile website with a very specific purpose (e.g. for event signup, ticket sales, etc etc), the answer is normally that a responsive designed site is the best way to go.


Why?


Lots of reasons.  Here are my favourite four (or at least the four that came to my mind first, writing this in what may be termed ‘a bit of a hurry’):

 

  • Responsive design means that your branding is consistent whichever device your website is viewed on.  This is different from many ‘off-the-shelf’ mobile website solutions, where you only have the opportunity to upload a logo, change text colours, etc.

 

  • All your content is visible to all users, and the experience is consistent with your main website.  You’re not falling prey to the sweeping assumption that people looking at your website on a mobile only want to see your opening hours, contact details and a few other basic bits of information.  (Yes, standalone mobile websites can give a link back to the ‘main’ website… but then the user has the same old nightmare scrolling & zooming trying to find the piece of content they’re after).

 

  • You only have to update one website.  Knowing from years of experience how difficult it is sometimes to coerce clients into keeping one website maintained, interesting pictures come to mind when imagining when that one turns into two… and two that have to be kept in sync and consistent.



Questions?  Confused?  Give me a call – 01235 834556.

Responsive video (updated)

Thursday, April 26th, 2012

It’s been a while since I posted about how to make a locally-hosted video responsive, using Video JS.


Since then, Video JS itself has been updated (the current version at the time of writing is 3.2.0), and although I posted an update in the comments of my previous post, several people were still getting confused, so thought best to post again here.


Essentially, the containing div that Video JS uses changed, hence requiring a change to the CSS. Instructions as follows:


The (Updated) Responsive Video Solution


Please see example here: http://skybolt.xssl.net/~hexagon2/responsive-video/ – try resizing your screen in an older version of IE, and the video should still resize. In the example, I’m using WordPress & the WordPress VideoJS plugin, but I believe this should work with a non-WP site and the standard VideoJS script too.


The solution is entirely HTML/CSS based (i.e. no javascript in addition to that used by VideoJS), and is essentially a modified version of the technique described on A List Apart here: http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/.


HTML
The normal Video JS code is wrapped in a containing div as follows:

[Video JS code here...]

This containing div needs to be added around the result of the video js shortcode. There are two ways of doing this – either use the HTML editor within a post, so you’d end up with something like this:

or alternatively (what I did when I originally worked this out for a client project), create a custom field for the video to be uploaded to, then in the relevant php file (this might be in page.php for example), you would have something like this:

(where $mp4 and $webm are variables containing the path to the relevant video files, grabbed from the custom fields).



CSS
The CSS is what does the trick (add it to your standard styles.css file in your theme (wp-content/themes/your-theme-name/styles.css), or to a separately referenced stylesheet if you’d prefer).


It does rely on having a videos of fixed proportion (hence the 41% value), but I wonder whether this could also be combined with a modification of the Fit Vids script (which currently just works with hosted video from YouTube etc) to take this constraint away. For my purposes, fixed proportion was fine.



And there you have it – a responsive video – not only in browsers that support HTML5 but in those that don’t too.


I hope this continues to help people!

Mobile Websites Beat Apps

Tuesday, March 20th, 2012

There is an on-going battle being fought between mobile websites and apps.  Ok, so maybe the word battle is a little strong, but you get the idea.

On the whole, I have always tended to favour mobile websites, as having several advantages:

  • you don’t have to persuade the user to download – once they’re at your website, they’re there
  • the need to create multiple apps for multiple, fast changing platforms is eliminated – a well built responsive mobile website should work cross-platform



So I was interested to read this report by Nielsen, giving the results of research involving 5000 US smartphone users.  The biggest message from the study of users use of retail apps and websites was this:


“Smartphone owners of both genders prefer retailers’ mobile websites over mobile apps, with men slightly more likely to try retailers’ mobile apps than women.”


To me, this makes complete sense – if you want to get the job done quickly (and who doesn’t?), why would you faff around downloading an app?  Unless of course, the mobile website experience is pretty rubbish.


Perhaps a little oversimplified, but the general picture is clear…


You can read the full report here: http://blog.nielsen.com/nielsenwire/?p=31164.

Making videos responsive

Thursday, November 24th, 2011

NOTE: Please see updated post/code here: Responsive Videos (updated) (works with latest Video JS version at time of writing – 3.2.0)


As part of a recent project, I needed to find a way to make self-hosted video (i.e. video files uploaded to client’s hosting server rather than YouTube or the like) responsive.  I.e. so they shrink down proportionally with screen size.


I decided to use the VideoJS plugin as a good way to support both HTML5 video (for those browsers that will display it) and a fallback flash version (for those browsers… namely older versions of IE… that won’t).


Making HTML5 video responsive is simple.  Making the flash fallback responsive is not simple.  It took me literally days.  Which is why I decided to post the solution here.

The Responsive Video Solution

NOTE: Please see update towards the bottom of this post; I have modified the original CSS to ensure VideoJS fullscreen functionality continues to function correctly.


Please see example here: http://skybolt.xssl.net/~hexagon2/responsive-video/ – try resizing your screen in an older version of IE, and the video should still resize.  In the example, I’m using WordPress & the WordPress VideoJS plugin, but I believe this should work with a non-WP site and the standard VideoJS script too.


The solution is entirely HTML/CSS based (i.e. no javascript in addition to that used by VideoJS), and is essentially a modified version of the technique described on A List Apart here: http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/.


The normal Video JS code is wrapped in a containing div as follows:



The CSS is what does the trick.  It does rely on having a videos of fixed proportion (hence the 41% value), but I wonder whether this could also be combined with a modification of the Fit Vids script (which currently just works with hosted video from YouTube etc) to take this constraint away.  For my purposes, fixed proportion was fine.



And there you have it – a responsive video – not only in browsers that support HTML5 but in those that don’t too.


I hope that helps someone!

Update 17th January 2012

Based on some of the comments received below, I thought it would be worth posting an update, covering two things:

 

1. A fix for the broken ‘full screen video’ problem

@Robert Roy kindly pointed out that the method outlined above appears to break the fullscreen functionality of VideoJS. I have therefore revised the CSS as follows. Note that you may also need to adjust the z-index property on other elements within your page, to ensure the fullscreen video always sits on top of other content. Different browsers seem to create different problems with this (even more so than usual!), so make sure you test appropriately.

2. Where the code goes

This is in response to a question posted by @Mark – where does the code above go?

The css can be added to standard styles.css file in your theme (wp-content/themes/your-theme-name/styles.css).

The containing

needs to be added around the result of the video js shortcode.  There are two ways of doing this: either use the HTML editor within a post, so you’d end up with something like this:

or alternatively (what I did when I originally worked this out for a client project), create a custom field for the video to be uploaded to, then in the relevant php file (this might be in page.php for example), you would have something like this:

(where $mp4 and $webm are variables containing the path to the relevant video files, grabbed from the custom fields).

A mobile update

Friday, October 28th, 2011

Back in July (that long ago?!), I was talking about mobile websites.  As I’m in the midst of creating my third ‘Responsively Designed’ website, (for established Medical Communications agency Ashley Communications – link currently points to their soon-to-be-old website), I thought now would be an opportune time to update you on some of my findings.


It has been, and continues to be, an interesting journey.  If there’s one thing that’s for certain in this industry, it’s that it’s continually changing, and therefore you have to be continually learning.  At times this can seem scary, but to be honest, I’ve actually rather enjoyed the challenge of learning responsive design. (Or I should say, ‘am enjoying…’, I’m no-where near finished yet).


So, three discoveries so far…

 

Number 1: It’s more time intensive!

Perhaps partly down to the fact that it’s new.  But designing and building for desktop and mobile (as well as everything in between) necessarily introduces complexity and therefore requires more time.  To the point:

  • Design – no longer a single design for a fixed width screen.  Rather, multiple variations of the design for various different resolutions.

 

  • Build – calculations are more complex & fiddly – based on percentages, not fixed pixel widths.  It’s surprising how much maths you use as a web designer!  Consideration has to be taken for how the site will perform on mobile – for an image-heavy site, an approach has to be employed to minimise image download size on mobile, etc etc.

 

  • Testing – whereas with a ‘traditional’ fixed-width design, we web-designers would be groaning over the need to test websites on multiple different browsers (and making particularly loud complaining noises when it came to Internet Explorer 6), in addition we now need to test for multiple different resolutions.

 

This is a pain, but also an opportunity.  Yes, it takes more time, but that means that each project is of higher value.  So far, clients seem prepared to pay for that additional value, but it does meant that the overall cost of getting a website is higher – if you want to treat your mobile users well.

 

Number 2: It requires creativity!

There are challenges inherent in building for a small screen size – mainly because space is so limited.  Imagine moving from a five bedroom country house to a studio flat, and having to work out where all that stuff is going to go.

If you’re a hoarder and have tonnes of stuff, the job is going to be that much harder.  My designs tend to be fairly clean and lightweight – which definitely helps, but there’s still ‘stuff’ that you have to either find room for or chuck out.


It’s a good exercise – it makes you think about what’s really necessary and of benefit to the user.  What do they need to see first?  (The 1.5 inch screen on my BlackBerry doesn’t give an awful lot of space in which to persuade the user to stay on the site.)

Menus are a good example.  For the Ashley Communications site, the menu just took up too much space on smaller screens, so we decided to display it as a dropdown from a single ‘Explore…’ link.  This makes for a far tidier user experience.

 

Number 3: There are always playoffs

Continuing with the example of menus, the approach we employed was to create two separate menus in WordPress – one for desktop and one for mobile.  This does have drawbacks – one of which is that there are two menus to maintain.  You are constantly facing these play-offs when creating a responsive design – there is no perfect solution.  In this case, because the menu is relatively simple & will be changing only infrequently, the benefits for the user outweighed the maintenance drawbacks.  In another situation, the case might be different, and another approach more suitable.


Each case has to be weighed up on its own merits, and the best fit solution applied.  And because new ideas and approaches are constantly being developed, coupled with this is the need to be continually on the lookout for the best solution, not only for this website, but for this particular moment!

 

In Summary

It’s been hard work, frustrating at times, lots of reading and learning… but it’s very satisfying too.  The mobile web is here to stay, and I’m grateful to many of the highly talented designers and developers out there who have helped me to learn.  These are certainly interesting times!!

Mobile is not an option any more

Saturday, July 16th, 2011

The mobile web is big and it’s getting bigger.  Mobile browsing is expected to overtake desktop browsing in two to four years (see here and here, as quoted by Ethan Marcote on A List Apart, in his article on Responsive Web Design).   The number of mobile devices is growing ever more rapidly, with this slideshow by Bryan Rieger from Yiibu quoting figures of 3.4 billion having mobile devices – roughly 1/2 the people on the planet – compared with the 1.8 billion estimated internet connections (26% of World population at beginning of 2010).

 

So what does all that mean?  Mobile web is not an option any longer, that’s a given.  But it’s more complicated than that.  Traditionally, the solution has been to perhaps build a mobile version of your website for mobile visitors.  Or to build an iPhone app.  Or an iPad app.  Or all three.

 

But where does that leave us?  Less than 4% of the global market share of mobile devices falls to the iPhone.  Less than 4%.  Again, to quote Bryan Rieger, the most popular devices (think BMW) don’t necessarily translate into the most used devices (think Ford).  Do you cut off a huge chunk of your users, simply because they haven’t got an iPhone?

 

And consider too – the smartphone of today will be thoroughly out of date in three years time.  There will be a whole raft of new devices out there, as well as the old ones hanging on too.  So do you create a new version of your website for each new device that’s brought out?

(more…)