Posts

SEARCH PLAYLISTS AND USER UPLOADED VIDEOS

I have created 2 HTML files: 1. search4.html to search videos and create javascript file. 2. play4.html to run this javascript file. In "search4", after getting json from Youtube I put video IDs and playlist IDs into different groups. In "json response" there are many channelIds repeatedly recorded. So I have to use the function jQuery.inArray (inputArray [i], outputArray) to grab the unduplicated Ids. A list of those unduplicated Ids is created. When the user click on certain channelId the prefix "UC" of the Id changed to "UU". Then all the videos uploaded to YouTube by this user is found and "anchor control tags" are made. When users click on the "Build File", the file javascript of the following form is created: ---- EXTRACT FROM "plist-richard-clayderman-500.js" --- lst = ''; //0 lst += "Richard Clayderman (100)"+ "##PL0597229B47AC711B@"; //1 ...