Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <!-- CORONA Player -->
<h1>CORONA Player</h1>
<div class="youtube">
  <div id="youtube-list" class="youtube-list">



                @import ''

	margin: 20px auto
	font-size: 2em
	font-weight: 700
	text-align: center

	font-family: 'Roboto'
	font-size: 14px


			position: relative
			float: left
			width: 20%
			cursor: pointer
				margin-top: 0
					opacity: 1
				display: block
				width: 100%
				height: 100%
				box-sizing: border-box
				position: absolute
				top: 0
				left: 0
				padding: 20px
				width: 100%
				height: 100%
				background: rgba(0, 0, 0, 0.5)
				color: #fff
				text-align: center
				z-index: 1
				opacity: 0
					display: table
					width: 100%
					height: 100%

					display: table-cell
					vertical-align: middle



                // key=PUTYOUROWNKEY

  dataType: "json",
	/* List */
	var length = data.items.length;
	for(var i=0; i<length; i++){
		var item = data.items[i];
		var videoThumb = item.snippet.thumbnails.medium.url;
		var videoTitle = item.snippet.title;
		var videoUrl =;
		var li =
					'<a href="'+videoUrl+'" target="_blank">'+					
					'<img src="'+videoThumb+'" class="thumb">'+
					'<p class="title"><span class="outer"><span class="inner">'+videoTitle+'</span></span></p>'+