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

Exclude user profile urls from youtube regex consideration #52

Closed
tw2113 opened this issue Apr 16, 2018 · 2 comments
Closed

Exclude user profile urls from youtube regex consideration #52

tw2113 opened this issue Apr 16, 2018 · 2 comments
Assignees
Milestone

Comments

@tw2113
Copy link
Member

tw2113 commented Apr 16, 2018

Need to change:

'#\/\/(www\.)?(youtu|youtube|youtube-nocookie)\.(com|be)\/(watch|embed)?\/?(\?v=)?([a-zA-Z0-9\-\_]+)#'

to

'#\/\/(www\.)?(youtu|youtube|youtube-nocookie)\.(com|be)\/(?!.*user)(watch|embed)?\/?(\?v=)?([a-zA-Z0-9\-\_]+)#'

When committing, credit @wongm with original credit.
https://wordpress.org/support/topic/fix-for-youtube-user-links/

@tw2113 tw2113 self-assigned this Apr 16, 2018
@tw2113 tw2113 added this to the 1.2.0 milestone Apr 16, 2018
@tw2113
Copy link
Member Author

tw2113 commented May 31, 2018

Needs refreshed after eventual merge of #54

@tw2113
Copy link
Member Author

tw2113 commented Jun 25, 2021

This one may be interesting to merge in, but 2d89bfa

@tw2113 tw2113 closed this as completed Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant