You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: javascript/README.md
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,22 +42,19 @@ Description: The JavaScript sample code performs the following functions:<br>
42
42
<li>It constructs next and previous page buttons and sets their visibility based on the information in the API response.</li>
43
43
</ol>
44
44
45
-
The HTML page below uses JQuery, the <code>auth.js</code> and <code>my_uploads.js</code> JavaScript files, and a CSS file to display the list of uploaded videos.
45
+
The HTML page uses JQuery, the <code>auth.js</code> and <code>my_uploads.js</code> JavaScript files, and a CSS file to display the list of uploaded videos.
46
46
47
47
### [Search by keyword](/youtube/api-samples/blob/master/javascript/search.js)
48
48
49
49
Method: youtube.search.list<br>
50
50
Description: This code sample calls the API's <code>search.list</code> method to retrieve search results associated
51
-
with a particular keyword. The HTML page below uses JQuery, along with the auth.js and search.js JavaScript files,
52
-
to show a simple search form and display the list of search results.
51
+
with a particular keyword. The HTML page uses JQuery, along with the <code>auth.js</code> and <code>search.js</code> JavaScript files, to show a simple search form and display the list of search results.
53
52
54
53
### [Create a playlist](/youtube/api-samples/blob/master/javascript/playlist_updates.js)
55
54
56
55
Method: youtube.playlists.insert<br>
57
56
Description: This JavaScript code creates a private playlist and adds videos to that playlist. (You could, of course, modify the code so that it creates a publicly visible playlist or so that it checks a form value to determine whether the playlist is
58
-
public or private.) Note that you need to update the client ID in the <code>auth.js</code> file to run this code.
59
-
60
-
The HTML page below uses JQuery, along with the auth.js and playlist_updates.js JavaScript files, to display a simple form for adding videos to the playlist.
57
+
public or private.) Note that you need to update the client ID in the <code>auth.js</code> file to run this code.<br><br>The HTML page uses JQuery, along with the <code>auth.js</code> and <code>playlist_updates.js</code> JavaScript files, to display a simple form for adding videos to the playlist.
61
58
62
59
### [Calling the Analytics API](/youtube/api-samples/blob/master/javascript/analytics_codelab.js)
0 commit comments