Need help with a Fallback solution

I’m just getting started with a jQuery script that is a video gallery/slider that plays videos when you select the thumbnail image, but it doesn’t play in IE8. I get this across the player screen:
“Browser does not support the video tag”, via IE8.

I’m trying this:

<script>
var ie = (function(){
    var undef,
        v = 3,
        div = document.createElement('div'),
        all = div.getElementsByTagName('i');
    while (
        div.innerHTML = '<!--[if gt IE ' + (++v) + ']><i></i><![endif]-->',
        all[0]
    );
    return v > 4 ? v : undef;
});
if (ie <9){
//this is where you would load your fallback content

but I need help with the next fallback part, which I can add to this post, if someone’s interested in helping me.

Thanks

I would suggest that you take a look at a library that’s dedicated to providing video playback with good cross-browser support, such as video.js
It works back to at least IE8 that I can tell.