From 44fe647a497dd867f9119e5f5f114d6bf32b7af7 Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Sat, 7 Mar 2015 19:25:25 +1100 Subject: [PATCH] Typo --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 src attribute on the video or audio element.

array
- .source([{ src: "/path/to/video.webm", type: "video/webm", ...more attributes... }, { src: "/path/to/video.mp4", type: "video/mp4", ...more attributes... }])`
+ .source([{ src: "/path/to/video.webm", type: "video/webm", ...more attributes... }, { src: "/path/to/video.mp4", type: "video/mp4", ...more attributes... }])`
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.