Closed gfscott closed 8 months ago
Latest commit: cb5cc3aeaf03f29392a34714b5365798d8c31174
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Closes #205. Genuinely fixes #230 instead of just mitigating it. Supersedes #224.
This PR adds several options related to YouTube embed titles:
title
attribute is now configurable as an option. The default value remains the same.How to use it
This simplified example shows the new title options in action:
Notes on implementation
.replace
prototype is synchronous, which makesawait
ing the title impossible, so we now use the string-replace-async package instead.titleOptions.download
or not..replace()
. It seems to be at parity.