Merge pull request #787 from GilgusMaximus/development
Fixing wrong url parameter for YouTube video links with timestamp
This commit is contained in:
commit
83f5dea8d4
|
@ -127,6 +127,9 @@ export default Vue.extend({
|
|||
},
|
||||
|
||||
getFinalUrl(url) {
|
||||
if (url.indexOf('?') === -1) {
|
||||
return this.includeTimestamp ? `${url}?t=${this.getTimestamp()}` : url
|
||||
}
|
||||
return this.includeTimestamp ? `${url}&t=${this.getTimestamp()}` : url
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue