Cleanup
This commit is contained in:
@ -7,7 +7,6 @@ import captions from './../captions';
|
||||
import ui from './../ui';
|
||||
|
||||
const vimeo = {
|
||||
// Setup YouTube
|
||||
setup() {
|
||||
// Remove old containers
|
||||
const containers = utils.getElements.call(this, `[id^="${this.type}-"]`);
|
||||
@ -34,7 +33,7 @@ const vimeo = {
|
||||
}
|
||||
},
|
||||
|
||||
// Ready
|
||||
// API Ready
|
||||
ready() {
|
||||
const player = this;
|
||||
|
||||
|
@ -7,7 +7,6 @@ import controls from './../controls';
|
||||
import ui from './../ui';
|
||||
|
||||
const youtube = {
|
||||
// Setup YouTube
|
||||
setup() {
|
||||
const videoId = utils.parseYouTubeId(this.embedId);
|
||||
|
||||
@ -45,7 +44,7 @@ const youtube = {
|
||||
}
|
||||
},
|
||||
|
||||
// Handle YouTube API ready
|
||||
// API ready
|
||||
ready(videoId) {
|
||||
const player = this;
|
||||
|
||||
|
Reference in New Issue
Block a user