diff --git a/readme.md b/readme.md
index 65f99a6b..b4adcb3f 100644
--- a/readme.md
+++ b/readme.md
@@ -190,13 +190,13 @@ You can pass the following options to the setup method.
click |
Boolean |
true |
- Click (or tap) will toggle pause/play of a ` |
+ Click (or tap) will toggle pause/play of a <video> . |
selectors |
Object |
— |
- See `plyr.js` in `/src` for more info. The only option you might want to change is `player` which is the hook used for Plyr, the default is `.player`. |
+ See plyr.js in /src for more info. The only option you might want to change is player which is the hook used for Plyr, the default is .player . |
classes |
@@ -208,13 +208,13 @@ You can pass the following options to the setup method.
captions |
Object |
— |
- This currently contains one property `defaultActive` which toggles if captions should be on by default. The default value is `false`. |
+ This currently contains one property `defaultActive` which toggles if captions should be on by default. The default value is false . |
fullscreen |
Object |
— |
- This currently contains two properties; `enabled` which toggles if fullscreen should be enabled (if the browser supports it). The default value is `true`. Also an extra property called `fallback` which will enable a 'full window' view for older browsers. The default value is `true`. |
+ This currently contains two properties;enabled which toggles if fullscreen should be enabled (if the browser supports it). The default value is true . Also an extra property called fallback which will enable a full window view for older browsers. The default value is true . |
storage |
@@ -301,18 +301,18 @@ Here's a list of the methods supported:
Set the media source.
string
- `.source("/path/to/video.mp4")`
- This will set the "src" attribute on the `video` or `audio` element.
+ .source("/path/to/video.mp4")
+ 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.
poster(...) |
String |
- Set the poster url. This is supported for the `video` element only. |
+ Set the poster url. This is supported for the video element only. |