-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
'gatsby-remark-audio' inside of 'gatsby-plugin-mdx' returning <undefined>... #19825
Comments
I am also having an issue with this |
sorry, took me minute, been super busy. Here is a minimal repo: https://github.com/rchrdnsh/mdx-remark-audio-issue My other project is using a custom audio context, but i have been experimenting with also using the remark-audio plugin, but can't get it to work. Hopefully the minimal repo helps :-) |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Hey again! It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Thanks again for being part of the Gatsby community! 💪💜 |
Description
I have added
gatsyb-remark-audio
togatsby-plugin-mdx
and expect to be able to add an audio tag to an mdx file. Instead, the controls of the audio element say error and the<audio>
element is wrapped in an<undefined>
container element and does not play.Steps to reproduce
Add
gatsby-remark-audio
togatsby-plugin-mdx
and add an audio file to an mdx document.Here is the config I have used:
...and have added an audio file as per the docs for the plugin, like so:
...or like so:
...or like so:
...and they all return back the same
<undefined>
containing div with error in the playback controls.In the browser:
and in the console:
I have not made a minimal repo yet, but I will try to do so in the next few days.
Expected result
I expect to get back a working
<audio>
html element with controls.Actual result
Instead I get
<undefined>
with the audio tag inside of it, and the word error in the audio player controls, and the audio does not play.Environment
The text was updated successfully, but these errors were encountered: