Need help with a Fallback solution

Discussion in 'jQuery' started by chrisj, Jul 27, 2013.

  1. #1
    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
    
    Code (markup):
    but I need help with the next fallback part, which I can add to this post, if someone's interested in helping me.

    Thanks
     
    chrisj, Jul 27, 2013 IP
  2. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #2
    I would load a object with either a quick time video for mac or flash for other devices.
     
    HuggyStudios, Jul 29, 2013 IP