How to embed Youtube user_uploads for new (Google +) Youtube channel id's?

前端 未结 2 976
醉酒成梦
醉酒成梦 2021-01-29 03:33

Been searching for the API to embed a Youtube channel\'s user_uploads for channels which have the new channel_id (starting with UC) instead of a user n

相关标签:
2条回答
  • 2021-01-29 03:43

    Never seen such a username. Do you have a link to a user (youtube website) with such a username ?

    Update.

    It looks like it is a part of the new V3 api from youtube and I filed a bug report at the youtube dev forum since it wont't work withe the user_uploads iframe

    http://code.google.com/p/gdata-issues/issues/detail?id=6463

    For example this channel

    https://www.youtube.com/channel/UCpAOGs57EWRvOPXQhnYHpow

    then ID is UCpAOGs57EWRvOPXQhnYHpow

    Now try to load this

    http://www.youtube.com/embed/?listType=user_uploads&list=UCpAOGs57EWRvOPXQhnYHpow

    This isn't working, Only with real usernames

    0 讨论(0)
  • 2021-01-29 03:53

    The posted answer does not work anymore.

    Now you should use:

    http://www.youtube.com/embed/videoseries?list=USERID
    

    And the USERID is your youtube user id with 'UU' appended.

    For example, if your user id is TlQ5niAIDsLdEHpQKQsupg then you should put UUTlQ5niAIDsLdEHpQKQsupg. If you only have the channel id (which you can find in your channel URL) then just replace the first two characters (UC) with UU.

    So in the end you would have an URL like this: http://www.youtube.com/embed/videoseries?list=UCTlQ5niAIDsLdEHpQKQsupg

    BTW. you can append &index=1 to specify which video should be played.

    See answer on duplicate

    0 讨论(0)
提交回复
热议问题