We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For an example, I want to add this SoundCloud song to the site
https://soundcloud.com/r4yr1ffy/secret-garden-remix
With no configuration, SoundCloud oEmbed will return embed URL with attached visible=true and show_artwork=true property, too.
visible=true
show_artwork=true
(I formatted it for easier readability)
<iframe width="100%" height="400" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?visual=true&url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F592369218&show_artwork=true" ></iframe>
With following configuration
{ resolve: `@raae/gatsby-remark-oembed`, options: { providers: { include: ['SoundCloud', 'Instagram', 'Spotify', 'Twitter'], settings: { SoundCloud: { color: '#1976d2', show_comments: false, visual: false, hide_related: true, auto_play: false, show_user: false, show_reposts: false, show_teaser: false, }, Instagram: {hidecaption: true}, }, }, }, },
Every configuration is working just fine except for visble property which make SoundCloud embed player to a classic player.
visble
<iframe width="100%" height="400" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?visual=true&url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F592369218&show_artwork=true&color=%231976d2&show_comments=false&visual=false&hide_related=true&auto_play=false&show_user=false&show_reposts=false&show_teaser=false" ></iframe>
This plugin just simply add configuration to the end of URLs without checking any duplicates parameters
<iframe width="100%" height="400" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?visual=false&url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F592369218&show_artwork=true&color=%231976d2&show_comments=false&hide_related=true&auto_play=false&show_user=false&show_reposts=false&show_teaser=false" ></iframe>
Before sending all oEmbed, I reccomended to check existing link parameters first and override them if exists.
The text was updated successfully, but these errors were encountered:
Yes, that is the logical next step.
Would you like to have a go and create a PR on this as well? Otherwise, I will probably have some time next weekend.
Sorry, something went wrong.
No branches or pull requests
Analysis
For an example, I want to add this SoundCloud song to the site
https://soundcloud.com/r4yr1ffy/secret-garden-remix
With no configuration, SoundCloud oEmbed will return embed URL with attached
visible=true
andshow_artwork=true
property, too.(I formatted it for easier readability)
Encounter Problem
With following configuration
Every configuration is working just fine except for
visble
property which make SoundCloud embed player to a classic player.What I got
This plugin just simply add configuration to the end of URLs without checking any duplicates parameters
Expectation
Recomendation
Before sending all oEmbed, I reccomended to check existing link parameters first and override them if exists.
The text was updated successfully, but these errors were encountered: