Changeset 1743620
- Timestamp:
- 10/09/2017 11:37:58 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lightweight-and-responsive-youtube-embed/trunk/README.txt
r1743040 r1743620 13 13 == Description == 14 14 15 If you are embedding Youtube video(s) into your site then you will need this plugin. As you may (or may not) know the default Youtube embed code is not responsive and in order to load the player itself your browser will download more than 1MB of data from Youtube's servers. That is way too much and this is the reason why we made this plugin. A video player has to be responsive and fast. Period. 15 If you are embedding Youtube video(s) into your site then you will need this plugin. As you may (or may not) know the default Youtube embed code is not responsive and in order to load the player itself your browser has to download more than 1MB of data from Youtube's servers. That is way too much and this is the reason why we made this plugin. A video player has to be lightweight and responsive. Period. 16 17 This plugin is replacing the default Youtube player with the video's high quality thumbnail and a play button. The real player and the video won't load until you click on the play button or the thumbnail itself. With this easy trick you will have a much lighter and faster website and the thumbnail + the actual player will be responsive too. 16 18 17 19 Our plugin is only 60KB without any extra library or unnecessary function. … … 19 21 If you are speed-optimizing your site or if you want to reduce the loading times of your pages then you are at the right place. 20 22 21 This plugin will:23 ### This plugin will: 22 24 23 25 * Make all of the embedded Youtube videos responsive automatically … … 26 28 * Will improve the user experience 27 29 28 You can also:30 ### You can also: 29 31 30 32 * Manually insert a different thumbnail for each embedded video with the 'thumb_url' parameter. 31 For example: `[youtube_embed url="video_url" thumb-url="custom_thumb_url"]` 33 `[youtube_embed url="video_url" thumb-url="custom_thumb_url"]` 34 32 35 * Manually set a different width for each video with the 'width' parameter. 33 For example: `[youtube_embed url="video_url" width="50"]` 36 `[youtube_embed url="video_url" width="50"]` 37 34 38 * Manually align each video to left, right or center with the 'align' parameter. 35 For example: `[youtube_embed url="video_url" align="center"]` 39 `[youtube_embed url="video_url" align="center"]` 40 36 41 * Disable the related videos 37 42 * Disable the video controls … … 39 44 * Align the videos globally or individually 40 45 * Set the custom video width for all videos or to just a single video with a shortcode parameter 46 47 ### Comparison 41 48 42 49 Here's a quick comparison with the built-in TwentySeventeen theme (without any other plugin). … … 66 73 == Screenshots == 67 74 68 1. The player.75 1. The code in action. 69 76 2. The options panel. 70 3. The shortcode.77 3. The basic shortcode. 71 78 72 79 == Changelog ==
Note: See TracChangeset
for help on using the changeset viewer.