Skip to content

Instantly share code, notes, and snippets.

@wplit
Last active September 26, 2025 00:45
Show Gist options
  • Save wplit/5b89b0363de716cf75b8ab420c8c57d9 to your computer and use it in GitHub Desktop.
Save wplit/5b89b0363de716cf75b8ab420c8c57d9 to your computer and use it in GitHub Desktop.
change captions programmatically in Media Player (depending on lang attribute added to html element by Polylang)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment