Integrating HTML5 Video with WordPress

Integrating HTML Video with WordPress

I have recently been working on a client site which needed the integration of HTML5 video.  The client deals heavily in social media and therefore required video to work in iPhones and iPads.  HTML5 video seemed like the best option.  Therefore my challenge was to integrate HTML5 video as well as including the more traditional flash video for legacy browsers.  Here is my approach.

The first thing to note was the new HTML5 tags to integrate the HTML video.  There is now simply a <video> tag that can be used to incorporate video into your webpage.  The issue is what video codecs to use in order to display your video.  As usual different browser behave different and support different video and codec types, so the first thing is to get your video into the correct format.

More…

Moving a WordPress Site to a New Server

cpanel-phpmyadmin-snaps

There are lots of different web hosts out there and sometimes it can pay to move your site from one host to another in order to get both the best price and the best service. If you have a WordPress site and you are worried about moving the site to a new server then don’t, the process is straight forward and here is how to do it.

Lets think a little about how your website points to the current server. Usually the domain registrar is the service which controls the DNS for your domain name. This means it controls where your website is stored i.e. which server it is on. Something there could be some different name servers set by the registrar but you will need to change these anyway.

More…

Bypassing WordPress Attachment Posts

This problem has been bugging me for a while now and finally I have managed to find a fix that seems to work well.  The problem being that clients, when linking to something they have uploaded to a page or post never click the ‘File URL’ for the link, instead leaving it on ‘Post URL’ which causes problems.  Here is how I fixed it.

When clients forget to click the File URL button it means that when they click on a link, instead of being show the file that they think they are linking to they are shown the post that WordPress creates for that attachment.  If the attachment is an image this not a major issue as you can include a custom image.php file in your theme folder and make that page looks nice. However if the link is to a PDF for example the user is simply presented with another post with the same link in that they just clicked on.  Worse still is that if the author has not added a title tag to the attachment they will see an ugly link.

More…

Protecting WordPress Content

Since WordPress has its own built in user roles it is possible to protect WordPress content for users that are logged in, rather than general visitors.  This can be very handy if you want to show certain things only to those people who are logged in.  In this post I will show you how to implement this as well as showing you an example.

Thanks to WordPress’ comprehensive template tags the function to test whether or not a user is logged in or not is already present. By combining this function with a php if statement we can check whether the user is logged in and then display something accordingly.

More…

Using WordPress for Client Development Logs

Over at Equal Web Creative I have recently introduced the use of client development logs so that clients can keep a track of the progress on their sites and so that you can communicate more effectively with clients during a project.  In order to implement this I have used WordPress as a multisite installation as well as a few themes and plugins.  Here I intend to explain how I have produced this.

To start with your will need to install a copy of WordPress onto your server and then activate the multisite capabilities of WordPress.  To do this I followed the excellent tutorial below:

More…

« Older Entries