Loading...
Loading...
Error
Oops! Something went wrong
2-define-and-install-a-vue-js-plugin
Speed
Speed
Quality
Quality
Captions
Captions
media loading
Play
Pause
10
Seek backward
Rewind 10s
Play
Pause
Play
Play
Pause
Pause
20
Seek forward
Forward 20s
Mute
Unmute
Volume High
Volume Low
Volume Low
Mute
Mute
Unmute
0:00
0:00
Start casting
Stop casting
Chapters
Chapters
Defining and Registering a Custom Vue Plugin
00:00
Creating the MyFirstPlugin Object with an Install Method
00:13
Understanding the Install Method and its Arguments
00:28
First Argument: Vue Application Instance Methods
00:42
Second Argument: Plugin Options
00:49
Logging Plugin Installation to Console
00:57
Checking Console for Plugin Message (Initial Failure)
01:19
Plugin is Defined but Not Registered
01:37
Registering the Plugin with app.use()
01:45
Importance of Placing app.use() Before app.mount()
01:52
Verifying Plugin Message in Console
02:10
Passing Options to the Plugin via app.use()
02:20
Conclusion: Basic Vue.js Plugin Creation
02:38
Enable captions
Disable captions
Enable Captions
Enable captions
Disable Captions
Disable captions
Settings
Settings
Settings
Enter fullscreen mode
Exit fullscreen mode
Fullscreen
Enter fullscreen
Exit Fullscreen
Exit fullscreen