You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/readme.txt
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -41,28 +41,28 @@ The [ableplayer] shortcode supports the following attributes.
41
41
42
42
= Required attributes (one of these) =
43
43
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.
46
46
47
47
= Optional attributes =
48
48
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").
0 commit comments