title: YouTube feed API loads slow in FireFox
body: <p>I have a webpage that pulls in a channel's upload feed and displays them. Everything works fine in chromium but as I said, in FireFox it's all a lot slower or even crashing.</p>
  
  <p>I don't even know where to begin finding the problem with this, the site's live so you can check it out here <a href="http://lartmagazine.co.uk/lart-tv/" rel="nofollow">http://lartmagazine.co.uk/lart-tv/</a>.</p>
  
  <p>To display the main large video I'm using:</p>
  
  <pre><code>    var gdata = 'http://gdata.youtube.com/feeds/api/users/LARTMagazine/uploads?alt=json&amp;videoid?v=2&amp;callback=?';
          $.getJSON(gdata, function(data) {
            var id = data.feed.entry[0].id.$t.split('/').reverse()[0];
            var htmlString = '&lt;iframe src="http://www.youtube.com/embed/' + id + '?wmode=transparent&amp;version=3&amp;vq=hd1080&amp;showinfo=0&amp;modestbranding=1&amp;autohide=1" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;';
            $('#loader').hide();
            $('#yTMain').append(htmlString); 
  });//end load iframe
  </code></pre>
  
  <p>And then I'm using this to pull the thumbnails:</p>
  
  <pre><code>var ytapiurl    = 'http://gdata.youtube.com/feeds/api/users/LARTMagazine/uploads?alt=json&amp;max-results=12&amp;callback=?';
      $.getJSON(ytapiurl, function(data) {
        var list_data="";
        $.each(data.feed.entry, function(i, item) {
          var title    = item['title']['$t'];
          var thumbimg = item['media$group']['media$thumbnail'][0]['url'];
          var ytlink   = item['media$group']['media$player'][0]['url'];
          list_data   += '&lt;div class="ytblock"&gt;&lt;div class="videothumb"&gt;&lt;a href="'+ ytlink +'"target="_blank"&gt;';
          list_data   += '&lt;img src="'+thumbimg+'" /&gt;&lt;/div&gt;&lt;div class="yttitle"&gt;&lt;h2&gt;'+ title + '&lt;/h2&gt;&lt;/div&gt;&lt;/a&gt;&lt;/div&gt;';
      });//end gdata
  </code></pre>
  
  <p>Is there something that I'm doing wrong with my data request that's lagging in FireFox for some reason? Other than that I have no idea.</p>
  
  <p>If you need more information just ask.</p>