Skip to content

Commit

Permalink
Bump to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvanatikku committed Dec 2, 2016
1 parent f9ef38a commit a9cc8dc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Changelog

__v2.0.0 - Dec XX, 2016__
__v2.0.0 - Dec 2, 2016__

* Removed code to handle flash player (due to deprecation); instead - uses iframe player exclusively
* Added playlist support for "playPlaylist", "cuePlaylist", "next", "previous", "playVideoAt"
* Added support for rate change events "onRateChange"
* Improved support for multiple tubeplayer instances
* Support providing a list of Video IDs in the `playlist` property
* Property `showControls` is no longer a boolean - ther property is `controls` now: 0=none, 1=immediate, 2=lazy
* Property `showControls` is no longer a boolean - the property is `controls` now: 0=none, 1=immediate, 2=lazy
* Property `autoHide` has been deprecated and is no longer used
* Property `theme` has been deprecated; players always use the dark theme
* Improved security by adding `origin` (window.location.origin)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ In your web page:

```html
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-tubeplayer/2.0.0-beta/jquery.tubeplayer.min.js"></script>
<script src="//raw.githubusercontent.com/nirvanatikku/jQuery-TubePlayer-Plugin/master/dist/jquery.tubeplayer.min.js"></script>
<div id='youtube-video-player'></div>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("#youtube-video-player").tubeplayer({
width: 600, // the width of the player
height: 450, // the height of the player
initialVideo: "[some video id]", // the video that is loaded into the player
initialVideo: "kOkQ4T5WO9E", // the video that is loaded into the player
onPlay: function(id){}, // after the play method is called
onPause: function(){}, // after the pause method is called
onStop: function(){}, // after the player is stopped
Expand Down Expand Up @@ -129,10 +129,10 @@ jQuery("#player").tubeplayer("play", {id: videoId, time: 0});
jQuery("#player").tubeplayer("pause");
jQuery("#player").tubeplayer("stop");

jQuery("#player").tubeplayer("seek","0:32");
jQuery("#player").tubeplayer("seek",100); // or use seconds
jQuery("#player").tubeplayer("seek", "0:32");
jQuery("#player").tubeplayer("seek", 100); // or use seconds

jQuery("#player").tubeplayer("size",{width:400,height:300});
jQuery("#player").tubeplayer("size", {width:400,height:300});

jQuery("#player").tubeplayer("destroy");

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery-tubeplayer-plugin",
"version": "2.0.0-beta",
"version": "2.0.0",
"homepage": "https://github.com/nirvanatikku/jQuery-TubePlayer-Plugin",
"authors": [
"Nirvana Tikku <ntikku@gmail.com>"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jquery-tubeplayer-plugin",
"title": "jQuery TubePlayer Plugin",
"description": "Simplified management of embedded YouTube players",
"version": "2.0.0-beta",
"version": "2.0.0",
"homepage": "https://github.com/nirvanatikku/jQuery-TubePlayer-Plugin",
"bugs": "https://github.com/nirvanatikku/jQuery-TubePlayer-Plugin/issues",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion tubeplayer.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "tubeplayer",
"title": "jQuery TubePlayer - Simplified YouTube Player Management",
"description": "Simplified management of embedded YouTube players",
"version": "2.0.0-beta",
"version": "2.0.0",
"homepage": "https://github.com/nirvanatikku/jQuery-TubePlayer-Plugin",
"bugs": "https://github.com/nirvanatikku/jQuery-TubePlayer-Plugin/issues",
"author": {
Expand Down

0 comments on commit a9cc8dc

Please sign in to comment.