You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Obviously the <YouTube /> component can be imported and used with all the params you want, but it would be a nice little bonus!
The text was updated successfully, but these errors were encountered:
lloydjatkinson
changed the title
Support picking up URL based parameters for MDX integration
Support picking up query string based parameters for MDX integration
Sep 15, 2023
Matchers are “owned” by each service’s package, while the remark integration is generic — it just waits for a service to match the URL and then handles creating the component. So we’d want to update the contract so that matchers can return a props object I guess instead of just a string ID.
A nice to have would be turning MDX strings like this:
https://www.youtube.com/embed/PSGEjv3Tqo0?start=301
into this:
<lite-youtube videoid="PSGEjv3Tqo0" params="start=301">
Obviously the
<YouTube />
component can be imported and used with all the params you want, but it would be a nice little bonus!The text was updated successfully, but these errors were encountered: