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
Copy file name to clipboardExpand all lines: docs/en/api/elements/built-in/image.mdx
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -353,6 +353,7 @@ By implementing a URL redirection mechanism, developers can intercept specific i
353
353
This feature is implemented based on the [`MediaResourceFetcher`](/api/lynx-native-api/lynx-media-resource-fetcher/should-redirect-url.html) interface, with the core process divided into two stages:
354
354
355
355
1.**Resource Type Detection** (`isLocalResource`)
356
+
356
357
- Determines if the request URL matches the custom protocol
357
358
- Returns a boolean indicating whether to handle it locally
358
359
@@ -461,34 +462,35 @@ class LocalMediaFetcher : LynxMediaResourceFetcher() {
0 commit comments