aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Potts <sam@selz.com>2015-07-21 10:38:48 +1000
committerSam Potts <sam@selz.com>2015-07-21 10:38:48 +1000
commite9ea90f52735c038a09aa6cd1913f26ce7f7fdd7 (patch)
tree4b7d1df321d9f0cb45ac34ffcd0b29782aa17d21
parent5dc0d8430019700fa77b7a163a8ce788858b9502 (diff)
downloadplyr-e9ea90f52735c038a09aa6cd1913f26ce7f7fdd7.tar.lz
plyr-e9ea90f52735c038a09aa6cd1913f26ce7f7fdd7.tar.xz
plyr-e9ea90f52735c038a09aa6cd1913f26ce7f7fdd7.zip
Update readme.md
-rw-r--r--readme.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index 8fbe064e..c18555de 100644
--- a/readme.md
+++ b/readme.md
@@ -360,6 +360,9 @@ Here's a list of the methods supported:
<strong>array</strong><br>
<code>.source([{ src: "/path/to/video.webm", type: "video/webm", ...more attributes... }, { src: "/path/to/video.mp4", type: "video/mp4", ...more attributes... }])`</code><br>
This will inject a child `source` element for every element in the array with the specified attributes. `src` is the only required attribute although adding `type` is recommended as it helps the browser decide which file to download and play.
+ <br><br>
+ <strong>YouTube</strong><br>
+ Currently this API method only accepts a YouTube ID when used with a YouTube player. I will add URL support soon, along with being able to swap between types (e.g. YouTube to Audio or Video and vice versa.)
</td>
</tr>
<tr>