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
Currently the flow is like this.
In WebembedHandler
Tries to detect provider from the list and run oembed.fetch of oembed lib
If above fails, it then tries to fetch data manually either from parent class Platform or a customClass which respect additional props support in providers list
If either of them fail, it will generate a fallback
There is a lot of scope to refactor this to make it work faster during this process.
For example, we can make only one request to final targetURL and reuse it from step 1 to 3.
Feel free to suggest alternative ideas
The text was updated successfully, but these errors were encountered:
Currently the flow is like this.
In
WebembedHandler
oembed.fetch
ofoembed
libThere is a lot of scope to refactor this to make it work faster during this process.
For example, we can make only one request to final targetURL and reuse it from step 1 to 3.
Feel free to suggest alternative ideas
The text was updated successfully, but these errors were encountered: