aboutsummaryrefslogtreecommitdiffstats
path: root/readme.md
diff options
context:
space:
mode:
authorSam Potts <me@sampotts.me>2015-03-07 19:25:25 +1100
committerSam Potts <me@sampotts.me>2015-03-07 19:25:25 +1100
commit44fe647a497dd867f9119e5f5f114d6bf32b7af7 (patch)
tree48908462a07653ee07fda12dbeae87a96f2e0c97 /readme.md
parent928a89e599d5f60bcc6042394b5e9c6c37b5c8ba (diff)
downloadplyr-44fe647a497dd867f9119e5f5f114d6bf32b7af7.tar.lz
plyr-44fe647a497dd867f9119e5f5f114d6bf32b7af7.tar.xz
plyr-44fe647a497dd867f9119e5f5f114d6bf32b7af7.zip
Typo
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index b4adcb3f..8b522f01 100644
--- a/readme.md
+++ b/readme.md
@@ -305,7 +305,7 @@ Here's a list of the methods supported:
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... }])`<c/ode><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.
</td>
</tr>