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

MATCH_URL_KALTURA #1715

Open
ymmedia opened this issue Nov 21, 2023 · 0 comments
Open

MATCH_URL_KALTURA #1715

ymmedia opened this issue Nov 21, 2023 · 0 comments

Comments

@ymmedia
Copy link

ymmedia commented Nov 21, 2023

there is a problem with the reg ex for the europe subdomains of Kaltura videos see :

https://knowledge.kaltura.com/help/configuring-your-firewall-rules-to-access-kaltura-products?locale=fr

solution proposed:

change file https://github.com/cookpete/react-player/blob/master/src/patterns.js

export const MATCH_URL_KALTURA = /^https?://[a-zA-Z]+.kaltura.(com|org)/p/([0-9]+)/sp/([0-9]+)00/embedIframeJs/uiconf_id/([0-9]+)/partner_id/([0-9]+)(.)entry_id.([a-zA-Z0-9-_].)$/

to

export const MATCH_URL_KALTURA = /^https?://([a-zA-Z0-9][a-zA-Z0-9-].)[a-zA-Z0-9]*[a-zA-Z0-9-][[a-zA-Z0-9]+.kaltura.(com|org)/p/([0-9]+)/sp/([0-9]+)00/embedIframeJs/uiconf_id/([0-9]+)/partner_id/([0-9]+)(.)entry_id.([a-zA-Z0-9-_].*)$/

greeting

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

No branches or pull requests

1 participant