You are viewing an old revision of this post, from July 11, 2018 @ 00:16:58. See below for differences between this version and the current revision.

Make the WordPress Video Shortcode Responsive

[css].wp-video, video.wp-video-shortcode, .mejs-container, .mejs-overlay.load { width: 100% !important; height: 100% !important; } .mejs-container { padding-top: 56.25%; } .wp-video, video.wp-video-shortcode { max-width: 100% !important; } video.wp-video-shortcode { position: relative; } .mejs-mediaelement { position: absolute; top: 0; right: 0; bottom: 0; left: 0; } .mejs-controls { display: none; } .mejs-overlay-play { top: 0; right: 0; bottom: 0; left: 0; width: auto !important; height: auto !important; }[/css]

Revisions

  • July 11, 2018 @ 00:16:58 [Current Revision] by PeterLugg
  • July 11, 2018 @ 00:16:58 by PeterLugg

Revision Differences

There are no differences between the July 11, 2018 @ 00:16:58 revision and the current revision. (Maybe only post meta information was changed.)

Tags: , ,

No comments yet.

Leave a Reply