Simple YouTube API player not working in IE

Simple YouTube API player not working in IE

Hi, I am quite new to Jquery. I have a simple script that works perfectly in FF and Chrome, but not in IE. It's driving me crazy. Could someone explain why?. This script loads a single video on a div id=video

<script>
var player;

$(document).ready(function(){
   
    window.onYouTubeIframeAPIReady = function() {
          player = new YT.Player('video', {
              events: {
                'onReady': function () {
                        $.getJSON("http://gdata.youtube.com/feeds/api/users/diasporaduo/uploads?v=2&alt=jsonc", function (json) {
                            videoid = json.data.items[0].id;
                            player.cueVideoById(videoid);
                    });
                }
                }
        });
    }

});


</script>