Skip to content

Commit

Permalink
Release 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Miranda committed Nov 21, 2019
1 parent 5f2091c commit 868a4ac
Show file tree
Hide file tree
Showing 8 changed files with 126 additions and 6 deletions.
7 changes: 6 additions & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"increment": "conventional:angular",
"scripts": {
"afterBump": "conventional-changelog -p angular -i CHANGELOG.md -s",
"changelog": "conventional-changelog -p angular | tail -n +3"
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
},
"git": {
"requireCleanWorkingDir": false,
"tagName": "v%s",
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.1.1](https://github.com/openplayerjs/openplayerjs-youtube/compare/v1.1.0...v1.1.1) (2019-11-21)

<a name="1.1.1"></a>
## [1.1.1](https://github.com/openplayerjs/openplayerjs-youtube/compare/v1.1.0...v1.1.1) (2019-11-21)



<a name="1.1.0"></a>
# 1.1.0 (2019-01-10)

Expand Down
4 changes: 2 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="https://www.openplayerjs.com/img/favicon.png" type="image/x-icon">
<link rel="icon" href="https://www.openplayerjs.com/img/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/openplayerjs@1.6.0/dist/openplayer.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/openplayerjs@1.14.1/dist/openplayer.min.css">
<style>
body {
max-width: 700px;
Expand All @@ -22,7 +22,7 @@ <h1>YouTube Sample</h1>
<source src="https://www.youtube.com/watch?v=xcJtL7QggTI" type="video/x-youtube">
</video>
</div>
<script src="https://cdn.jsdelivr.net/npm/openplayerjs@1.6.0/dist/openplayer.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/openplayerjs@1.14.1/dist/openplayer.min.js"></script>
<script src="../dist/openplayerjs-youtube.min.js"></script>
<script>
var player = new OpenPlayer('video', null, false, {
Expand Down
8 changes: 8 additions & 0 deletions dist/openplayerjs-youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,14 @@ var YouTube = function YouTube(element, media) {
return player.getPlaybackRate();
},

set defaultPlaybackRate(value) {
player.setPlaybackRate(value);
},

get defaultPlaybackRate() {
return player.getPlaybackRate();
},

set currentTime(value) {
if (player) {
player.seekTo(value);
Expand Down
2 changes: 1 addition & 1 deletion dist/openplayerjs-youtube.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 868a4ac

Please sign in to comment.