In Korea LG Electronics has a new campaign featuring a QR Code TV ad advertising the LG Optimus Vu using LG U+ LTE. The ad (video below) revolves around the tag line “If you haven’t smiled lately scan this…” with the QR Code resolving to “fun videos”. At the time of writing the QR Code resolves to a long video but I suspect that the video will be changed regularly with a selection from this channel. Apart from the fact that a large brand is using QR Code TV ads what interests me about this campaign is the method of redirection and I have written more about it at the end of this post.
The redirection is completed using a meta refresh which I have not seen for some time and has been deprecated for many years by the W3C. However it still works. The QR Code decodes as http://www.lg.co.kr/qr/01.html and the source code for that page is as follows:
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<meta http-equiv="Refresh" content="0;URL=http://www.youtube.com/watch?v=Vmy2oMDrjOY" />
<body bgcolor="#FFFFFF" text="#000000">
This code’s meta refresh tag redirects the browser immediately to the YouTube URL because the refresh time is set to zero. This means that LG can change the QR Code’s destination by simply modifying one line of html code and replacing the existing URL for another. Personally I still prefer a server side redirect but if you are happier modifying html rather than an .htaccess file you can try doing what LG does.