Skip to content
This repository has been archived by the owner on Nov 23, 2018. It is now read-only.

Gigacore/json-youtube-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-youtube-player

A simple JSON driven youtube player that can play videos via channel or custom data.

ScreenShot

Setup

######1. Include jQuery. ######2. Include json-player.js ######3. Use the sample HTML snippet:

<div id="left_column">
	<div id="player_wrap"></div>
		<div id="meta">
			<div id="title">
					<h2></h2>
			</div>
			<div id="desc"></div>
		</div>
	</div>
	<aside>
		<ul id="videos"></ul>
	</aside>
</div>
4. Style according to your needs or use style.css
5. Edit json-player.js to config the player. Such as channel and numberOfVideos etc.
player.config = {
        "channel"           : "your_channel_name",
        "numberOfVideos"    : 6, 
        "videoWidth"        : 560,
        "videoHeight"       : 315,
        "playerElement"     : "#player_wrap",
        "videoListElement"  : "ul#videos"
};

This is a work in progress

New features are in pipeline. You are most welcome to add any.

License

JSON Youtube Player is Licensed under MIT.

Author

Santhosh S

About

A simple JSON driven youtube player that can play videos via channel or custom data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published