Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preload as a prop #2

Open
zedkaido opened this issue Mar 18, 2023 · 0 comments · May be fixed by #3
Open

Add preload as a prop #2

zedkaido opened this issue Mar 18, 2023 · 0 comments · May be fixed by #3

Comments

@zedkaido
Copy link

Add support for the following attribute:
<audio preload="auto|metadata|none">

Main reason for addition is to support deferred loading:

  • auto: The author thinks that the browser should load the entire audio file when the page loads
  • metadata: The author thinks that the browser should load only metadata when the page loads
  • none: The author thinks that the browser should NOT load the audio file when the page loads
@zedkaido zedkaido linked a pull request Mar 18, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant