Sorting Youtube API result from playlist

后端 未结 4 871
后悔当初
后悔当初 2021-01-04 07:40

I have been struggling with Youtube\'s API v3 now and I can\'t get it work in the way I want. My goal is to load the latest videos from a selected playlist into my website.

4条回答
  •  没有蜡笔的小新
    2021-01-04 08:18

    This is the only option right now available. Instead of trying to sort video list from the Http request Url, you can sort the order in the youtube account's playlist setting.

    In the Playlist setting you can either manually drag and change the list or there is a option to change the order. Youtube Data API will output the data as the playlist shows the data.

    Summary : change the playlist order in youtube account instead trying to filter data using http requests.

    FYI: playlist settings can be only changed by the uploader's account Hope this helps.

提交回复
热议问题