by The Next Jump on WordPress.org
Use REV – Responsive Embedded Video to easily embed Youtube and Vimeo videos that are responsive to any screen size.
Copy to video ID of the Youtube or Vimeo video you want to embed (you can find it in the URL), then use the following shortcode on your page or post’s content:
For Youtube: [rev-youtube video_id=”youtube video id”]
For Vimeo: [rev-vimeo video_id=”vimeo video id”]
Example:
[rev-youtube video_id=”wzu6nRAA2pM”]
Using Video URL:
[rev-youtube video_url=”https://www.youtube.com/watch?v=wzu6nRAA2pM”]
Note: If both video_id and video_url are provided, the video_url will be used.
Example with video options:
[rev-youtube video_id=”wzu6nRAA2pM” width=”560px” height=”315px” controls=”1″ allow_full_screen=”0″ fixed_size=”1″ autoplay=”0″ start=”30″]
[rev-youtube video_id=”wzu6nRAA2pM” width=”100%” controls=”1″ allow_full_screen=”0″ fixed_size=”0″ autoplay=”0″]