Skip to content

Commit 0b0a968

Browse files
committed
Fix: changed 'image' to 'video'
1 parent 458ead6 commit 0b0a968

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/components/video.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ The HTML video tag implemented in ruby.
88
The video tag takes a mandatory path argument and can take a number of optional configuration params.
99

1010
#### # path
11-
Expects a string with the source to the image. It looks for the image in the `assets/videos` folder and uses the standard Rails asset pipeline.
11+
Expects a string with the source to the video. It looks for the video in the `assets/videos` folder and uses the standard Rails asset pipeline.
1212

1313
#### # id, class
1414
Like most of the core components, you can give a video an id and a class.
1515

1616
#### # height (optional)
17-
Expects an integer with the height of the image in px.
17+
Expects an integer with the height of the video in px.
1818

1919
#### # width (optional)
20-
Expects an integer with the width of the image in px.
20+
Expects an integer with the width of the video in px.
2121

2222
#### # alt (optional)
23-
Expects a string with the alt text the image should have.
23+
Expects a string with the alt text the video should have.
2424

2525
#### # preload
2626
Expects a string (`auto`, `metadata` or `none`) and specifies whether the whole video/only metadata/nothing should be loaded on pageload. Default (if not specified) depends on the client's browser.

0 commit comments

Comments
 (0)