Malila
- Country: Germany
- Language: English dialogue, with Arabic Subtitle
- Duration: 8 minutes
- Production Year: 2023 (Middle East Premiere)
During her vacation, Malila comes across a mysterious alley and soon finds herself in a fascinating carnival filled with fantastic figures. The lively atmosphere pulls her deeper and deeper into the event. But as she becomes suspicious of her surroundings, the illusion can't be sustained, and her newly discovered world turns against her.
Arun Leander and Martina Spitzner developed the short film "Malila" in collaboration during their studies at the Film University Babelsberg. Martina initially studied at the Art School Berlin and later specialized in character design and animation. In addition to 2D animation, Leander focused on VFX and compositing. For their joint graduation project, they developed a new workflow and visual style to further utilize the strengths of their 2D animation.
if ( window.Fancybox ){
var gvFancyboxSettings = {"animationEffect":"fade","toolbar":true,"closeExisting":true,"arrows":true,"mainClass":"gv-lightbox","buttons":["thumbs","close"],"l10n":{"CLOSE":"Close","NEXT":"Next","PREV":"Previous","MODAL":"Lightbox","ERROR":"The requested content cannot be loaded. Please try again later.","IMAGE_ERROR":"The requested content cannot be loaded. Please try again later.","ELEMENT_NOT_FOUND":"The requested content cannot be loaded. Please try again later.","AJAX_NOT_FOUND":"The requested content cannot be loaded. Please try again later.","AJAX_FORBIDDEN":"The requested content cannot be loaded. Please try again later.","IFRAME_ERROR":"The requested content cannot be loaded. Please try again later.","TOGGLE_ZOOM":"Zoom","TOGGLE_THUMBS":"Thumbnails","TOGGLE_SLIDESHOW":"Slideshow","TOGGLE_FULLSCREEN":"Full screen","DOWNLOAD":"Download"}};
// The dialog takes the current frame's name, or the generic lightbox name.
const gvNameFancyboxDialog = function ( fancybox ) {
const slide = fancybox.getSlide();
const name = slide && slide.$iframe ? slide.$iframe.getAttribute( 'title' ) : '';
if ( fancybox.$container ) {
fancybox.$container.setAttribute( 'aria-label', name || fancybox.localize( '{{MODAL}}' ) );
}
};
// A frame from another origin cannot be read, so it gets null.
const gvFrameDocument = function ( frame ) {
try {
return frame.contentDocument;
} catch ( e ) {
return null;
}
};
// Names a frame after the title GravityView gave the entry, then the link that opened it, then the frame's own title.
const gvNameFancyboxFrame = function ( fancybox, slide ) {
const frameDocument = gvFrameDocument( slide.$iframe );
const trigger = slide.$trigger && slide.$trigger.getAttribute ? slide.$trigger : null;
const image = trigger ? trigger.querySelector( 'img[alt]' ) : null;
const names = [
frameDocument && frameDocument.documentElement ? frameDocument.documentElement.getAttribute( 'data-gv-lightbox-title' ) : '',
trigger ? trigger.getAttribute( 'aria-label' ) : '',
trigger ? trigger.textContent : '',
frameDocument ? frameDocument.title : '',
image ? image.alt : '',
];
const name = names.map( function ( text ) {
return ( text || '' ).trim();
} ).find( Boolean );
slide.$iframe.setAttribute( 'title', name || fancybox.localize( '{{MODAL}}' ) );
};
// Keys pressed inside a frame go to the frame's own document, which Fancybox does not listen to.
const gvWatchFancyboxFrameKeys = function ( frame ) {
let frameWindow = null;
try {
frameWindow = frame.contentWindow;
if ( ! frameWindow || frameWindow.gvLightboxKeys ) {
return;
}
frameWindow.gvLightboxKeys = true;
} catch ( e ) {
return;
}
// A lightbox opened inside the frame takes Escape first, including while it is still closing.
let innerLightboxOpen = false;
frameWindow.addEventListener( 'keydown', function () {
innerLightboxOpen = !! frameWindow.document.querySelector( '.fancybox__container' );
}, true );
frameWindow.addEventListener( 'keydown', function ( event ) {
if ( 'Escape' !== event.key || event.defaultPrevented || innerLightboxOpen ) {
return;
}
if ( event.ctrlKey || event.altKey || event.shiftKey || event.metaKey ) {
return;
}
const fancybox = Fancybox.getInstance();
if ( ! fancybox || ! fancybox.$container || ! fancybox.$container.contains( frame ) ) {
return;
}
const keyboard = fancybox.option( 'keyboard' );
const action = keyboard ? keyboard.Escape : '';
// Same steps as Fancybox's own key handler, so its keydown event can still cancel the close.
if ( ! action || false === fancybox.trigger( 'keydown', 'Escape', event ) ) {
return;
}
if ( 'function' === typeof fancybox[ action ] ) {
fancybox[ action ]();
}
} );
};
// A frame can load a new document, such as after an Edit Entry save, so it is set up again on every load.
const gvSetUpFancyboxFrame = function ( fancybox, slide ) {
if ( ! slide || ! slide.$iframe ) {
return;
}
const frame = slide.$iframe;
const update = function () {
// Closing the lightbox empties its slides, and the frame can still fire load on the way out.
if ( slide.$iframe !== frame || ! frame.isConnected ) {
return;
}
gvNameFancyboxFrame( fancybox, slide );
gvWatchFancyboxFrameKeys( frame );
gvNameFancyboxDialog( fancybox );
};
if ( 'yes' !== frame.dataset.gvLightbox ) {
frame.dataset.gvLightbox = 'yes';
frame.addEventListener( 'load', update );
}
update();
};
// Stamp the per-View theme marker onto the body-mounted
// Fancybox container. The `gv-lightbox` hook is applied
// unconditionally via the `mainClass` setting; the theme
// classes are copied per-instance from the triggering element
// so only lightboxes opened from a themed View inherit the
// theme token scope.
gvFancyboxSettings.on = Object.assign( {}, gvFancyboxSettings.on, {
ready: function ( fancybox ) {
var trigger = fancybox.options && fancybox.options.$trigger;
var themed = trigger && trigger.closest ? trigger.closest( '.gv-themed' ) : null;
if ( themed && fancybox.$container ) {
fancybox.$container.classList.add( 'gv-themed' );
themed.classList.forEach( function ( cls ) {
if ( 0 === cls.indexOf( 'gv-theme-' ) ) {
fancybox.$container.classList.add( cls );
}
} );
}
},
// Reveal comes as soon as a frame has loaded, before the opening animation that done waits for.
reveal: gvSetUpFancyboxFrame,
'Carousel.change': function ( fancybox ) {
gvNameFancyboxDialog( fancybox );
},
// A frame can ask to stay open, such as an Edit Entry form with unsaved changes.
shouldClose: function ( fancybox ) {
const slide = fancybox.getSlide();
const frame = slide && slide.$iframe ? slide.$iframe : null;
if ( ! frame ) {
return true;
}
try {
const frameWindow = frame.contentWindow;
if ( frameWindow && 'function' === typeof frameWindow.gvLightboxConfirmClose ) {
return frameWindow.gvLightboxConfirmClose();
}
} catch ( e ) {
// A frame from another origin cannot be read; let it close.
}
return true;
}
} );
Fancybox.bind(".gravityview-fancybox", gvFancyboxSettings);
}
//# sourceURL=gravityview-fancybox-init-js-after
Malila
- Country: Germany
- Language: English dialogue, with Arabic Subtitle
- Duration: 8 minutes
- Production Year: 2023 (Middle East Premiere)
During her vacation, Malila comes across a mysterious alley and soon finds herself in a fascinating carnival filled with fantastic figures. The lively atmosphere pulls her deeper and deeper into the event. But as she becomes suspicious of her surroundings, the illusion can't be sustained, and her newly discovered world turns against her.
Arun Leander and Martina Spitzner developed the short film "Malila" in collaboration during their studies at the Film University Babelsberg. Martina initially studied at the Art School Berlin and later specialized in character design and animation. In addition to 2D animation, Leander focused on VFX and compositing. For their joint graduation project, they developed a new workflow and visual style to further utilize the strengths of their 2D animation.
if ( window.Fancybox ){
var gvFancyboxSettings = {"animationEffect":"fade","toolbar":true,"closeExisting":true,"arrows":true,"mainClass":"gv-lightbox","buttons":["thumbs","close"],"l10n":{"CLOSE":"Close","NEXT":"Next","PREV":"Previous","MODAL":"Lightbox","ERROR":"The requested content cannot be loaded. Please try again later.","IMAGE_ERROR":"The requested content cannot be loaded. Please try again later.","ELEMENT_NOT_FOUND":"The requested content cannot be loaded. Please try again later.","AJAX_NOT_FOUND":"The requested content cannot be loaded. Please try again later.","AJAX_FORBIDDEN":"The requested content cannot be loaded. Please try again later.","IFRAME_ERROR":"The requested content cannot be loaded. Please try again later.","TOGGLE_ZOOM":"Zoom","TOGGLE_THUMBS":"Thumbnails","TOGGLE_SLIDESHOW":"Slideshow","TOGGLE_FULLSCREEN":"Full screen","DOWNLOAD":"Download"}};
// The dialog takes the current frame's name, or the generic lightbox name.
const gvNameFancyboxDialog = function ( fancybox ) {
const slide = fancybox.getSlide();
const name = slide && slide.$iframe ? slide.$iframe.getAttribute( 'title' ) : '';
if ( fancybox.$container ) {
fancybox.$container.setAttribute( 'aria-label', name || fancybox.localize( '{{MODAL}}' ) );
}
};
// A frame from another origin cannot be read, so it gets null.
const gvFrameDocument = function ( frame ) {
try {
return frame.contentDocument;
} catch ( e ) {
return null;
}
};
// Names a frame after the title GravityView gave the entry, then the link that opened it, then the frame's own title.
const gvNameFancyboxFrame = function ( fancybox, slide ) {
const frameDocument = gvFrameDocument( slide.$iframe );
const trigger = slide.$trigger && slide.$trigger.getAttribute ? slide.$trigger : null;
const image = trigger ? trigger.querySelector( 'img[alt]' ) : null;
const names = [
frameDocument && frameDocument.documentElement ? frameDocument.documentElement.getAttribute( 'data-gv-lightbox-title' ) : '',
trigger ? trigger.getAttribute( 'aria-label' ) : '',
trigger ? trigger.textContent : '',
frameDocument ? frameDocument.title : '',
image ? image.alt : '',
];
const name = names.map( function ( text ) {
return ( text || '' ).trim();
} ).find( Boolean );
slide.$iframe.setAttribute( 'title', name || fancybox.localize( '{{MODAL}}' ) );
};
// Keys pressed inside a frame go to the frame's own document, which Fancybox does not listen to.
const gvWatchFancyboxFrameKeys = function ( frame ) {
let frameWindow = null;
try {
frameWindow = frame.contentWindow;
if ( ! frameWindow || frameWindow.gvLightboxKeys ) {
return;
}
frameWindow.gvLightboxKeys = true;
} catch ( e ) {
return;
}
// A lightbox opened inside the frame takes Escape first, including while it is still closing.
let innerLightboxOpen = false;
frameWindow.addEventListener( 'keydown', function () {
innerLightboxOpen = !! frameWindow.document.querySelector( '.fancybox__container' );
}, true );
frameWindow.addEventListener( 'keydown', function ( event ) {
if ( 'Escape' !== event.key || event.defaultPrevented || innerLightboxOpen ) {
return;
}
if ( event.ctrlKey || event.altKey || event.shiftKey || event.metaKey ) {
return;
}
const fancybox = Fancybox.getInstance();
if ( ! fancybox || ! fancybox.$container || ! fancybox.$container.contains( frame ) ) {
return;
}
const keyboard = fancybox.option( 'keyboard' );
const action = keyboard ? keyboard.Escape : '';
// Same steps as Fancybox's own key handler, so its keydown event can still cancel the close.
if ( ! action || false === fancybox.trigger( 'keydown', 'Escape', event ) ) {
return;
}
if ( 'function' === typeof fancybox[ action ] ) {
fancybox[ action ]();
}
} );
};
// A frame can load a new document, such as after an Edit Entry save, so it is set up again on every load.
const gvSetUpFancyboxFrame = function ( fancybox, slide ) {
if ( ! slide || ! slide.$iframe ) {
return;
}
const frame = slide.$iframe;
const update = function () {
// Closing the lightbox empties its slides, and the frame can still fire load on the way out.
if ( slide.$iframe !== frame || ! frame.isConnected ) {
return;
}
gvNameFancyboxFrame( fancybox, slide );
gvWatchFancyboxFrameKeys( frame );
gvNameFancyboxDialog( fancybox );
};
if ( 'yes' !== frame.dataset.gvLightbox ) {
frame.dataset.gvLightbox = 'yes';
frame.addEventListener( 'load', update );
}
update();
};
// Stamp the per-View theme marker onto the body-mounted
// Fancybox container. The `gv-lightbox` hook is applied
// unconditionally via the `mainClass` setting; the theme
// classes are copied per-instance from the triggering element
// so only lightboxes opened from a themed View inherit the
// theme token scope.
gvFancyboxSettings.on = Object.assign( {}, gvFancyboxSettings.on, {
ready: function ( fancybox ) {
var trigger = fancybox.options && fancybox.options.$trigger;
var themed = trigger && trigger.closest ? trigger.closest( '.gv-themed' ) : null;
if ( themed && fancybox.$container ) {
fancybox.$container.classList.add( 'gv-themed' );
themed.classList.forEach( function ( cls ) {
if ( 0 === cls.indexOf( 'gv-theme-' ) ) {
fancybox.$container.classList.add( cls );
}
} );
}
},
// Reveal comes as soon as a frame has loaded, before the opening animation that done waits for.
reveal: gvSetUpFancyboxFrame,
'Carousel.change': function ( fancybox ) {
gvNameFancyboxDialog( fancybox );
},
// A frame can ask to stay open, such as an Edit Entry form with unsaved changes.
shouldClose: function ( fancybox ) {
const slide = fancybox.getSlide();
const frame = slide && slide.$iframe ? slide.$iframe : null;
if ( ! frame ) {
return true;
}
try {
const frameWindow = frame.contentWindow;
if ( frameWindow && 'function' === typeof frameWindow.gvLightboxConfirmClose ) {
return frameWindow.gvLightboxConfirmClose();
}
} catch ( e ) {
// A frame from another origin cannot be read; let it close.
}
return true;
}
} );
Fancybox.bind(".gravityview-fancybox", gvFancyboxSettings);
}
//# sourceURL=gravityview-fancybox-init-js-after
