Loading...
Loading...
Error
Oops! Something went wrong
Nuxt Modules_9.0.1 Injecting Plugin Templates
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
Introduction to Plugin Templates
00:00
Recap of Previous Plugin Example
00:11
Client Plugin: Vue 3 Observe Visibility Integration
00:19
Functionality of Observe Visibility
00:38
Server-Side Rendering Error and Fix
00:49
Recommendation to Review Previous Lesson
01:06
Scenario: Optional Observe Visibility Feature
01:09
Implementing Inline Module Options
01:22
User Expectation for Optional Feature
01:31
Initial Attempt: Conditional Plugin Registration (and why it fails)
01:53
Proposed Solution: Conditional Logic Inside the Plugin
02:29
Dynamic Import and Plugin Injection
02:51
Adjustments for Async Import
03:10
The Build-Time vs. Runtime Problem
03:22
Exposing Module Options to Runtime
03:47
Introducing Plugin Templates with Add Plugin Template
03:58
Understanding Plugin Templates
04:09
Using Add Plugin Template and Mode Option
04:23
Changing Plugin Extension to .ejs
04:42
Wrapping Build-Time Code with Scriptlet Tags
04:55
Providing Options from Module Definition
05:22
Modifying Extension to .ejs
05:33
Addressing the 'Imports Should Be Transformed' Error
05:57
Nuxt's Handling of .ejs Extension
06:03
The Solution: Adding filename Property with .mjs Extension
06:37
Demonstrating Conditional Plugin Behavior with Module Options
07:16
Verifying the Functionality
07:35
Inlining Plugin Content
07:53
Creating an Inline Plugin Variable
08:08
Using getContents and Removing Scriptlet Tags
08:25
Conditional Logic Inside the Inline Plugin
08:47
Final Verification of Inline Plugin
09:27
Virtual File System and writeOption
09:38
Specifying Destination and File Extention
09:51
Conclusion and Final Demonstration
10:13
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