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

Update SoundCloud regex to match Sets #324

Closed
wants to merge 1 commit into from
Closed

Conversation

pugson
Copy link
Contributor

@pugson pugson commented Feb 7, 2018

Fixes #322

@cookpete
Copy link
Owner

cookpete commented Feb 8, 2018

(sets\/|) seems confusing. Should it not be (sets\/)?

@cookpete
Copy link
Owner

cookpete commented Feb 8, 2018

In fact, maybe we should change the pattern to just

/(soundcloud.com|snd.sc)\/.+$/

Because we may as well send any soundcloud URL to the widget and let it error if invalid, rather than falling back to trying to play it in a <video> element.

@cookpete cookpete closed this in 74f8d5e Feb 8, 2018
@pugson
Copy link
Contributor Author

pugson commented Feb 8, 2018

Yes, good call. Thanks!

david-hub024 pushed a commit to david-hub024/React_VideoPlayer that referenced this pull request Dec 23, 2018
We may as well send any soundcloud URL to the widget and let it error if invalid, rather than falling back to FilePlayer.
Fixes cookpete/react-player#322
Closes cookpete/react-player#324
david-hub024 pushed a commit to david-hub024/React_VideoPlayer that referenced this pull request May 23, 2020
We may as well send any soundcloud URL to the widget and let it error if invalid, rather than falling back to FilePlayer.
Fixes cookpete/react-player#322
Closes cookpete/react-player#324
albanqoku added a commit to albanqoku/react-player that referenced this pull request Feb 24, 2021
We may as well send any soundcloud URL to the widget and let it error if invalid, rather than falling back to FilePlayer.
Fixes cookpete/react-player#322
Closes cookpete/react-player#324
Webmaster1116 added a commit to Webmaster1116/video-player that referenced this pull request May 20, 2021
We may as well send any soundcloud URL to the widget and let it error if invalid, rather than falling back to FilePlayer.
Fixes cookpete/react-player#322
Closes cookpete/react-player#324
webmiraclepro added a commit to webmiraclepro/video-player that referenced this pull request Sep 9, 2022
We may as well send any soundcloud URL to the widget and let it error if invalid, rather than falling back to FilePlayer.
Fixes cookpete/react-player#322
Closes cookpete/react-player#324
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 this pull request may close these issues.

None yet

2 participants