Skip to content

Instantly share code, notes, and snippets.

@TechRemarker
Created March 27, 2012 19:01
Show Gist options
  • Save TechRemarker/2219256 to your computer and use it in GitHub Desktop.
Save TechRemarker/2219256 to your computer and use it in GitHub Desktop.
YouTube Custom Player
A while back YouTube quietly removed their Custom Channel Player, http://youtube.com/custom_player leaving users no way to automatically show their Channel in an embed other than manually curating a Playlist which was limited to a number of videos.
The Google Gadget option was limited in its inability to change width and height attributes.
The following code will now show a Custom Channel embed as expected:
<iframe width="560" height="315" src="http://www.youtube.com/embed/?listType=user_uploads&list=ACCOUNT_NAME" frameborder="0" allowfullscreen></iframe>
Replace ACCOUNT_NAME with your YouTube account.
@joshua-whitney
Copy link

thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment