1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-12 11:15:04 +02:00
video.js/docs/guides
Brandon Casey e8e4fe2745 feat(autoplay): extend autoplay option for greater good (#5209)
This PR extends the `autoplay` to the player with a few options that should hopefully make working with browsers that disable unmuted autoplay by default easier.
The current boolean option will match current behavior and any unknown option will be treated as it does now. The new options are the string values `muted`, `play`, and `any`.

- `muted` will mute the element and call `play()` on `loadstart`,
- `play` will call `play()` on `loadstart()`, this is similar to the `autoplay` attribute
- `any` will call `play()` on `loadstart()` but if it fails it will try muting the video and calling `play()` again.
2018-06-21 14:32:07 -04:00
..
audio-tracks.md docs: fix links in generated docs (#4200) 2017-03-21 17:13:06 -04:00
components.md feat: playerresize event in all cases (#4864) 2018-01-30 13:26:21 -05:00
debugging.md docs(debugging): fix markup typo (#5086) 2018-04-11 11:39:33 -04:00
embeds.md refactor: remove IE8 specific changes (#5041) 2018-03-23 13:25:12 -04:00
event-target.md docs: updates to faq, language guide, and minor edits (#4556) 2017-08-14 17:02:48 -04:00
faq.md feat(autoplay): extend autoplay option for greater good (#5209) 2018-06-21 14:32:07 -04:00
hooks.md feat: Add videojs.hookOnce method to allow single-run hooks. (#4672) 2017-10-30 17:56:21 -04:00
languages.md fix(time-display): restore hidden label text for screen readers. (#5157) 2018-05-11 14:34:33 -04:00
middleware.md docs(middleware): update the middleware guide with setTech and other corrections (#4926) 2018-02-12 18:55:08 -05:00
modal-dialog.md docs: fix links in generated docs (#4200) 2017-03-21 17:13:06 -04:00
options.md feat(autoplay): extend autoplay option for greater good (#5209) 2018-06-21 14:32:07 -04:00
player-workflows.md docs: updates to faq, language guide, and minor edits (#4556) 2017-08-14 17:02:48 -04:00
plugins.md docs(plugins guide): changed paused to pause where appropriate (#4957) 2018-02-14 13:43:55 -05:00
react.md docs(react guide): update guide to prevent memory leaks when components are disposed of (#4998) 2018-03-07 12:09:06 -05:00
setup.md feat: Add getPlayer method to Video.js. (#4836) 2018-01-30 11:19:06 -05:00
skins.md chore(docs): Documentation Linting and TOC generation (#3841) 2016-12-20 16:55:59 -05:00
tech.md feat: Allow techs to change poster if player option techCanOverridePoster is set (#4921) 2018-03-07 14:31:50 -05:00
text-tracks.md docs: fix some typos (#4880) 2018-01-22 17:07:05 -05:00
tracks.md docs: fix links in generated docs (#4200) 2017-03-21 17:13:06 -04:00
troubleshooting.md docs: fix links in generated docs (#4200) 2017-03-21 17:13:06 -04:00
video-tracks.md docs: fix links in generated docs (#4200) 2017-03-21 17:13:06 -04:00
videojs.md docs: updates to faq, language guide, and minor edits (#4556) 2017-08-14 17:02:48 -04:00
webpack.md docs: updates to faq, language guide, and minor edits (#4556) 2017-08-14 17:02:48 -04:00