The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

json + jquery + youtube playlist.

  • # March 11, 2010 at 5:16 am

    I’m really struggling with that.
    I’m using jquery to parse a youtube json file containing the element of a playlist.
    by now all I wanna do is get an alert for each video in the playlist containing the video id.

    here is the code:

    $(document).ready(function() {
    $.getJSON(‘’,function(data) {
    $.each(data.items, function(i,item){
    alert( ” + + ”);

    if ( i == 10 ) return false;

    through firebug seems that the json file is opened correctly, but the parsing give me no results…
    any help?


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed