Refactor video UI component orchestration

This commit is contained in:
thePR0M3TH3AN committed 2025-10-03 19:58:21 -04:00
1 parent f579c965a7
commit ad58ff04a3
5 files changed
+390 -88

No files matched your search

+2 -3
View File
@@ -53,9 +53,8 @@ export async function loadView(viewUrl) {
export const viewInitRegistry = {
"most-recent-videos": () => {
if (window.app && window.app.loadVideos) {
window.app.videoList = document.getElementById("videoList");
if (window.app.attachVideoListHandler) {
window.app.attachVideoListHandler();
if (typeof window.app.mountVideoListView === "function") {
window.app.mountVideoListView();
}
window.app.loadVideos();
}