update
This commit is contained in:
@@ -6535,6 +6535,7 @@ mp.register_script_message('medios-load-url-event', function(json)
|
||||
if not M._reset_uosc_input_state('load-url-submit') then
|
||||
_lua_log('[LOAD-URL] UOSC not loaded, cannot close menu')
|
||||
end
|
||||
M._schedule_uosc_cursor_resync('load-url-submit')
|
||||
end
|
||||
|
||||
-- Close the URL prompt immediately once the user submits. Playback may still
|
||||
@@ -6602,6 +6603,7 @@ mp.register_script_message('medios-load-url-event', function(json)
|
||||
_lua_log('[LOAD-URL] URL is yt-dlp compatible, prefetching formats in background')
|
||||
mp.add_timeout(0.5, function()
|
||||
_prefetch_formats_for_url(url)
|
||||
M._schedule_uosc_cursor_resync('file-loaded-web')
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user