aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Potts <sam@selz.com>2016-02-04 14:58:00 +1100
committerSam Potts <sam@selz.com>2016-02-04 14:58:00 +1100
commitd8fb876c81a5cd664017dd034ef76d43408a1ce0 (patch)
tree3237b3e3752709908bb2798b2444d197b31ae83c
parent73e6ad610fbc97e5d6d875e1ae143cce04854110 (diff)
downloadplyr-d8fb876c81a5cd664017dd034ef76d43408a1ce0.tar.lz
plyr-d8fb876c81a5cd664017dd034ef76d43408a1ce0.tar.xz
plyr-d8fb876c81a5cd664017dd034ef76d43408a1ce0.zip
Update readme.md
-rw-r--r--readme.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/readme.md b/readme.md
index 51bae507..2ed1aba2 100644
--- a/readme.md
+++ b/readme.md
@@ -467,10 +467,6 @@ Here's a list of the methods supported:
<td>
Get/Set the media source.
<br><br>
- <strong>string</strong><br>
- <code>.source("/path/to/video.mp4")</code><br>
- This will set the <code>src</code> attribute on the <code>video</code> or <code>audio</code> element.
- <br><br>
<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.