Skip to content

Commit

Permalink
updated build
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerben van Dijk committed Jun 6, 2019
1 parent 80335f8 commit 1e84984
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion lib/vue-youtube-embed.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Vue YouTube Embed version 2.2.1
* under MIT License copyright 2018 kaorun343
* under MIT License copyright 2019 kaorun343
*/
// fork from https://github.com/brandly/angular-youtube-embed

Expand Down Expand Up @@ -117,6 +117,10 @@ var YouTubePlayer = {
mute: {
type: Boolean,
default: false
},
host: {
type: String,
default: 'https://www.youtube.com'
}
},
render: function render (h) {
Expand Down Expand Up @@ -175,6 +179,7 @@ var YouTubePlayer = {
width: playerWidth,
playerVars: playerVars,
videoId: videoId,
host: host,
events: {
onReady: function (event) {
this$1.setMute(this$1.mute);
Expand Down
7 changes: 6 additions & 1 deletion lib/vue-youtube-embed.umd.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Vue YouTube Embed version 2.2.1
* under MIT License copyright 2018 kaorun343
* under MIT License copyright 2019 kaorun343
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
Expand Down Expand Up @@ -123,6 +123,10 @@
mute: {
type: Boolean,
default: false
},
host: {
type: String,
default: 'https://www.youtube.com'
}
},
render: function render (h) {
Expand Down Expand Up @@ -181,6 +185,7 @@
width: playerWidth,
playerVars: playerVars,
videoId: videoId,
host: host,
events: {
onReady: function (event) {
this$1.setMute(this$1.mute);
Expand Down

0 comments on commit 1e84984

Please sign in to comment.