Without knowing more information – you can use CSS to set a max width to any element.
iframe, object, embed {
max-width:100%;
}
Rachel Baker mentioned Fitvids.JS in her WordCamp Chicago presentation last weekend. It is a Javascript plugin that writes specific code for the various video providers online.
Try the CSS solution and fall back to JS if you can’t figure it out.
Related Posts:
- Issues with title-tag and document_title_parts
- Define custom Page Template without its own .php file
- How to influence the information displayed on widget inside wp-admin
- Remove Page Title from Static Frontpage
- Gravity Forms field entries into wp_query loop [closed]
- Accepted arguments value in hook functions
- Get current page_id before loop, in functions.php
- Which action hook to use for function?
- Modify a function without editing template
- Passing values from a widget to a function within a plugin
- What did I do wrong in my functions code, that will not change the “Get New Password” text to “Send It”?
- Replace a menu with widget or a custom template file programmatically
- Override the WordPress core function wp_referer_field
- How to edit the Tags within the image file URLs?
- Can’t properly set the_title add_filter to show short_URL
- How to add_filter html template to middle of content
- (Woocommerce) Order by price when entering specific category
- Possible to hook into Media Library preview File column and use a custom image?
- Is it possible to use add_filter in an included file in the child theme’s functions.php?
- Insert Content Before div#main from the functions.php File
- Add Adsense code between job listings – wp job manager plugin
- Changing the text of Upload/Insert on Posts and Pages Screen
- Save_post – Warning: Cannot modify header information
- custom error message for empty username and password using authenticate filter not working
- How Do I Unhook This Parent Theme Function?
- remove empty paragraphs from the_content?
- Set JPEG compression for specific custom image sizes
- Issue with get_theme_mod returning a blank value instead of the saved value
- why doesnt is_home() work in functions.php
- How can I tell if I’m on a login page? [duplicate]
- How to reduce original image quality on upload?
- In WooCommerce I need to modify the thankyou.php page [closed]
- Change the footer text on the login page
- Show Video in Excerpt
- Convert hyphen to underscore in permalinks
- Override parent theme function that is not hooked or in the functions.php file
- Programmatically Add Font-Awesome Icons to Category Widget
- Remove bulk actions based on user role or capabilities
- Adding extra SVGs to TwentyNineteen child theme using class TwentyNineteen_SVG_Icons
- How do I change parameters without changing the core
- Removing title from page
- Adding body class when post contains a specific shortcode
- How to make unique add_filter to the_content of specific page template files – so each template gets its own addition
- Limit filter upgrader_post_install to a single plugin
- How to update feed only 2-3 times a week (for Feedburner email)?
- Manipulate Output of wp_list_something: select menu instead of li’s
- Increment price for Woocommerce Minicart [closed]
- How to preserve edits to Name or Slug of term when using wp_update_term on save?
- get_current_screen() return null
- Can’t check if a post has thumbnail adding filter to get_post_metadata()
- Adding HTML to the end of every post with the Block Editor
- Add function to every post?
- How can I get my Script to work on the Login page?
- Execute a ultimate member action when user role is updated
- How to filter, restrict and return posts based on custom user meta information
- Add other social networks to TwentyNineteen_SVG_Icons class in child theme?
- Generating an nonce for Content Security Policy and all scripts – How to make it match/persist for each page load?
- Run wp_kses_decode_entities on atom feed?
- Filtering out the #more anchor link that gets produced by
- Can’t filter wp_get_attachment_link
- append to existing parent theme function
- jQuery does not work
- How to return hook data when multiple parameters are present?
- How to add custom JavaScript in functions?
- Control the srcset much more (not all sizes in it each time)
- Redefine function arguments before rendering
- Add back in child theme what the parent theme removed with remove_action
- Combine embed_oembed_html and oembed_result
- login_headertitle is deprecated since version 5.2.0
- Writing a function to detect an event
- Filter to wp_list_authors
- Changing where my author box is printed
- Replace header image on all other pages but home – URL issue
- How to place a div inside a function that creates a div
- how can I add filter in specfic field in my website?
- Customizing the wp_video_shortcode output with add_filter
- Unpublished Pages Failing To Appear On Custom Path
- How to add HTML into error message
- Removing comment lines from all enqueued js files using a filter function
- Allow user only create specific tags
- Plugin function in child theme
- Use action, filter, or hook to append HTML to WordPress plugin function
- Child theme remove parent filter in functions
- function replace_text for entire page
- add product thumbnail to checkout page only and include variation name
- Graphic before title – Specific Category
- Which method is more correct for removing WooCommerce Extensions menu item?
- How to echo the translated custom field?
- Why might wptexturize have become re-enabled?
- functions.php filters not applied in AJAX call
- Settings in functions.php used by a plugin
- Can’t change excerpt length and more tag
- Why wp_ajax hooks doesn’t work?
- How can I append and prepend something to all post hyperlinks without using ::before or ::after? PHP hook solution?
- Filter to strip unnecessary attributes
- Why functions metaboxes is causing White Screen in Admin [closed]
- image_size with respect to aspect ratios
- How to Add Extra Text In WordPress Title Before Post Publish
- function to show youtube videos within excerpt – if condition and apply_filters
- Is there a hook that I can use when a fatal error occurs?