Video Size Preference

I’ve been working a lot on the video display page, because that’s one of the primary areas where you will interact with SelfAssemblySites content. So I’ve added a light-box display to the video, it looks good, but more importantly it allows us to deliver video of a different size to the thumbnail on the page, without looking out of place from a design perspective.

One thing I want to be able to do is allowing you to set a preference for what size you’d like to view videos at. That means if you’re on a slow internet connection (like mine!) or have a smaller display, say on a small laptop, you can customise your SelfAssemblySites viewing to suit. So what I’ve been doing is coding a new option for the user meta table, where each WordPress user has their settings like their name, password, etc stored. This new setting is called sas_video_size_pref and can have a number of different values for the different screen resolutions we’d like to make available:

This is now available when you’re logged into your account and is accessible from your profile page (at the bottom) :)

About Alastair McDermott

Alastair McDermott is an online business and technology consultant specialising in web design & development, internet marketing and search engine optimisation. He has been building websites and software since 1996 and is a nine year veteran of using WordPress.

He has co-founded several software, web and information based startup companies and has provided solutions for many large Irish and international organisations. Alastair blogs, and makes media of all kinds at SelfAssemblySites and at WebsiteDoctor. Follow him on Twitter at @WebsiteDoctor.
Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Yes, email me when someone posts a new comment. (You can also subscribe without commenting.)