Funny Reindeer For Christmas 2015

Funny Reindeer Video For Christmas 2015.

Stop YouTube Videos Showing Related Videos At The End

YouTube has made some changes recently and one of them is to automatically play related video’s at the end of a video.

There has always been the show related videos at the end of the video and many webmasters seemed to ignore this which could result in a competitor’s video being shown on your own website. With the new changes competitor’s videos could be played automatically on your website advertising them, this needs to be avoided.

Standard YouTube Embed Code Creates this:-

Click near to the end of the video and see what happens when it finishes.

Stop YouTube Videos Showing Related Videos At The End:-

To do this you simply add the code to tell YouTube that you do not want to display any related videos.

?rel=0

So to show as an example:-

OLD YouTube Embed Code

<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/fKdCQzF4JZ0″ frameborder=”0″ allowfullscreen></iframe>

NEW YouTube Embed Code

<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/fKdCQzF4JZ0?rel=0” frameborder=”0″ allowfullscreen></iframe>

<hr>

Other Embedding Options You Can Use

To make a YouTube video play automatically simply add “&autoplay=1” to the video’s embed code:

<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/fKdCQzF4JZ0?rel=0&autoplay=1 frameborder=”0″ allowfullscreen></iframe>

Merry Christmas & Happy New Year – 2014

Merry Christmas & Happy New Year – 2014

Cadwell Park Safety Video Goes Viral

We recently got involved creating a video to highlight the importance of safety for amateur racing drivers following a horrible crash at Cadwell Park involving Darren Langeveld and his racing Clio Cup 172 Racing Car.

The video went live 03/11/2014 and has already achieved over 100,000 views on YouTube and this is growing buy the hour.

This video seems to have hit home the importance of safety but also has angered the motorsport drivers and fans.

cadwell park crash

Why Did We Do This Cadwell Park Safety Video?

After the accident we were all just glad to see Darren O.K even with minor injuries, but after a short while a discussion was had about what to do with all the footage.

The car was scrap which was a great waste but perhaps it could have one more use so it was decided a film had to be made.

It would have been easy to produce a quick and not very slick name and shame campaign but the chance to perhaps save a few future lives seemed too good to miss.

Darren’s script was written and edited to be mostly positive and lean heavily towards safety and the joys of motorsport.

A lot of people had generously helped prepared the car and provide assistance with parts and so on. It only seemed right to thank them too.

On the day of the accident, I had done a lot of filming for fun so there was plenty of source material to work with.

The extra presenting and narration filming was taken in Aarons Autos garage next to the damaged car.

war of the worlds

The setup was described to look from CCTV like something from the “War Of The Worlds”.

To be honest, when the final edit was completed everyone agreed it was a nice little safety video.

No-one had any idea how good response was going to be, it’s all a little shocking see all the threads and comments around the internet.

After the dust has settled, no-one will have made any money but if a few racers this year buy a HANS device after watching this video that’s fine by me.

Let’s hope next year’s racing season goes better for everyone and lessons have been learned.

Cadwell Park Crash MSVR

Cadwell Park Crash MSVR 3

Cadwell Park Crash MSVR 6

Cadwell Park Crash MSVR 5

Cadwell Park Crash MSVR 4

 

Cadwell Park Crash MSVR 2

 

See Darren & Chris Hoey Outright Win in the Clio

Fix Drop Down Menu behind YouTube Videos

We get asked a lot of times about Z index’s to fix drop down menus hiding behind a youtube video.

There is many different ways to fix this problem but it seems you are fighting against Internet Explorer each time you fix this in another browser.

To explain the problem, when you add the iframe to your code to call the YouTube video for example you will use:-

https://www.youtube.com/embed/InDMh5s0-q0

No in the browser no matter what you do you get a z-index greater then everything else which means that YouTube video will be overlayed on top of anything and this is why you bang your head against the wall fixing with CSS.

https://www.youtube.com/embed/InDMh5s0-q0?wmode=opaque

To overcome this issue you can tell the YouTube video how to behave adding the following code:-

<iframe class="youtube-player" type="text/html" 
width="640" height="360"
src="http://www.youtube.com/embed/InDMh5s0-q0?wmode=opaque" 
frameborder="0"></iframe>

This fix works and the drop down menu will appear over the YouTube video. But the problem is you have to remember to add this to each video you embed so here a fix you can add to the header of your website coding and it will automatically add the required fix so you can embed normally and let the coding do the hard work.

function addToQueryString(url, key, value) {
    var query = url.indexOf('?');
    var anchor = url.indexOf('#');
    if (query == url.length - 1) {
        // Strip any ? on the end of the URL
        url = url.substring(0, query);
        query = -1;
    }
    return (anchor > 0 ? url.substring(0, anchor) : url)
         + (query > 0 ? "&" + key + "=" + value : "?" + key + "=" + value)
         + (anchor > 0 ? url.substring(anchor) : "");
}