Skip to content

Commit

Permalink
added support for host key in player options
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerben van Dijk committed Jun 6, 2019
1 parent 0c3363b commit 9550e60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ export default {
mute: {
type: Boolean,
default: false
},
host: {
type: String,
default: 'https://www.youtube.com'
}
},
render (h) {
Expand Down Expand Up @@ -74,6 +78,7 @@ export default {
width: playerWidth,
playerVars,
videoId,
host,
events: {
onReady: (event) => {
this.setMute(this.mute)
Expand Down

0 comments on commit 9550e60

Please sign in to comment.