Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/widgets/class-wp-widget-media-video.php

WP_Widget_Media_Video::enqueue_preview_scripts()

Method: Enqueue preview scripts.

Source: wp-includes/widgets/class-wp-widget-media-video.php:174

Used by 0 functions | Uses 3 functions

WP_Widget_Media_Video::enqueue_admin_scripts()

Method: Loads the required scripts and styles for the widget control.

Source: wp-includes/widgets/class-wp-widget-media-video.php:188

Used by 0 functions | Uses 6 functions

WP_Widget_Media_Video::render_control_template_scripts()

Method: Render form template scripts.

Source: wp-includes/widgets/class-wp-widget-media-video.php:226

Used by 0 functions | Uses 3 functions

WP_Widget_Media_Video

Class: Core class that implements a video widget.

Source: wp-includes/widgets/class-wp-widget-media-video.php:18

Used by 0 functions | Uses 1 function

WP_Widget_Media_Video::__construct()

Method: Constructor.

Source: wp-includes/widgets/class-wp-widget-media-video.php:25

Used by 0 functions | Uses 7 functions

WP_Widget_Media_Video::get_instance_schema()

Method: Get schema for properties of a widget instance (item).

Source: wp-includes/widgets/class-wp-widget-media-video.php:67

Used by 2 functions | Uses 3 functions

WP_Widget_Media_Video::render_media()

Method: Render the media on the frontend.

Source: wp-includes/widgets/class-wp-widget-media-video.php:112

Used by 0 functions | Uses 9 functions

WP_Widget_Media_Video::inject_video_max_width_style()

Method: Inject max-width and remove height for videos too constrained to fit inside sidebars on frontend.

Source: wp-includes/widgets/class-wp-widget-media-video.php:157

Used by 1 function | Uses 0 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry