Skip to content

Commit 0382029

Browse files
committed
Replace markdown with code markers
1 parent 2375d66 commit 0382029

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/readme.txt

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -41,28 +41,28 @@ The [ableplayer] shortcode supports the following attributes.
4141

4242
= Required attributes (one of these) =
4343

44-
* **youtube-id** - 11-character YouTube ID or YouTube URL.
45-
* **vimeo-id** - Vimeo ID or URL.
44+
* `youtube-id` - 11-character YouTube ID or YouTube URL.
45+
* `vimeo-id` - Vimeo ID or URL.
4646

4747
= Optional attributes =
4848

49-
* **youtube-desc-id** - YouTube URL or ID of a described version of the video
50-
* **vimeo-desc-id** - Vimeo URL or ID of a described version of the video
51-
* **youtube-nocookie** => "true" or "false" (use "true" to embed YouTube untracked, for added privacy)
52-
* **id** - a unique id for the player (if omitted, one will be automatically assigned)
53-
* **autoplay** - "true" or "false" (default is "false")
54-
* **loop** - "true" or "false" (default is "false")
55-
* **playsinline** - "true" or "false" (default is "true"). By setting to "false", some devices (e.g., iPhones) will play the video in their own media player rather than in Able Player.
56-
* **hidecontrols** - "true" or "false" (default is "false"). Set to "true" to enable the player controls to fade away during playback. They will appear again if the user hovers over the player or pressing a key, and they are always accessible to screen reader users.
57-
* **poster** - the URL of a poster image, displayed before the user presses Play
58-
* **width** - a value in pixels (by default, the player will be sized to fit its container)
59-
* **height** - a value in pixels (by default, the height of the player will be in proportion to the width)
60-
* **heading** - The HTML heading level (1-6) of the visually hidden "Media Player" heading that precedes the player (for the benefit of screen reader users). If omitted, a heading level will be intelligently assigned based on context.
61-
* **speed** - "animals" or "arrows" (default is "animals")
62-
* **start** - start time at which to start playing the media, in seconds. Some browsers do not support this.
63-
* **volume** - "0" to "10" (default is "7" to avoid overpowering screen reader audio). Some browsers do not support this.
64-
* **seekinterval** - number of seconds to forward/rewind with the Forward and Rewind buttons. If omitted, the interval will be intelligently assigned based on length of the video.
65-
* **nowplaying** - "true" or "false" to include a "Selected Track" section within the media player (default is "false").
49+
* `youtube-desc-id` - YouTube URL or ID of a described version of the video
50+
* `vimeo-desc-id` - Vimeo URL or ID of a described version of the video
51+
* `youtube-nocookie` - "true" or "false" (use "true" to embed YouTube untracked, for added privacy)
52+
* `id` - a unique id for the player (if omitted, one will be automatically assigned)
53+
* `autoplay` - "true" or "false" (default is "false")
54+
* `loop` - "true" or "false" (default is "false")
55+
* `playsinline` - "true" or "false" (default is "true"). By setting to "false", some devices (e.g., iPhones) will play the video in their own media player rather than in Able Player.
56+
* `hidecontrols` - "true" or "false" (default is "false"). Set to "true" to enable the player controls to fade away during playback. They will appear again if the user hovers over the player or pressing a key, and they are always accessible to screen reader users.
57+
* `poster` - the URL of a poster image, displayed before the user presses Play
58+
* `width` - a value in pixels (by default, the player will be sized to fit its container)
59+
* `height` - a value in pixels (by default, the height of the player will be in proportion to the width)
60+
* `heading` - The HTML heading level (1-6) of the visually hidden "Media Player" heading that precedes the player (for the benefit of screen reader users). If omitted, a heading level will be intelligently assigned based on context.
61+
* `speed` - "animals" or "arrows" (default is "animals")
62+
* `start` - start time at which to start playing the media, in seconds. Some browsers do not support this.
63+
* `volume` - "0" to "10" (default is "7" to avoid overpowering screen reader audio). Some browsers do not support this.
64+
* `seekinterval` - number of seconds to forward/rewind with the Forward and Rewind buttons. If omitted, the interval will be intelligently assigned based on length of the video.
65+
* `nowplaying` - "true" or "false" to include a "Selected Track" section within the media player (default is "false").
6666

6767
== Examples ==
6868

0 commit comments

Comments
 (0)