WP_Widget_Media_Video
Core class that implements a video widget.
Core class that implements a video widget.
Constructor.
Loads the required scripts and styles for the widget control.
Enqueue preview scripts.
Get schema for properties of a widget instance (item).
Inject max-width and remove height for videos too constrained to fit inside sidebars on frontend.
Render form template scripts.
Render the media on the frontend.