diff options
author | Sam Potts <me@sampotts.me> | 2016-01-18 19:48:20 +1100 |
---|---|---|
committer | Sam Potts <me@sampotts.me> | 2016-01-18 19:48:20 +1100 |
commit | 5b2a01624168a0f9380580302bfbc32018fb8d0d (patch) | |
tree | 1d82d6b1c04bf4e24829dc3488f753e9a86831e1 /readme.md | |
parent | a665121b52ad7860b0a96f6b0c5f2aa741e06d62 (diff) | |
parent | 02d312f2d2764a423279203b0652ab685272a338 (diff) | |
download | plyr-5b2a01624168a0f9380580302bfbc32018fb8d0d.tar.lz plyr-5b2a01624168a0f9380580302bfbc32018fb8d0d.tar.xz plyr-5b2a01624168a0f9380580302bfbc32018fb8d0d.zip |
Merge branch 'master' of github.com:selz/plyr
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -134,13 +134,19 @@ And the same for `<audio>` </div> ``` -For YouTube, Plyr uses the standard YouTube API markup (an empty `<div>`): +For YouTube and Vimeo, Plyr uses the standard YouTube API markup (an empty `<div>`): ```html <div class="plyr"> - <div data-video-id="L1h9xxCU20g" data-type="youtube"></div> + <div data-video-id="bTqVqk7FSmY" data-type="youtube"></div> </div> ``` +```html +<div class="plyr"> + <div data-video-id="143418951" data-type="vimeo"></div> +</div> +``` + #### Cross Origin (CORS) You'll notice the `crossorigin` attribute on the example `<video>` and `<audio>` elements. This is because the media is loaded from another domain. If your media is hosted on another domain, you may need to add this attribute. |