Architecture - Resolution
The XIMPEL player attaches all its visual and non-visual content to an HTML element: the
The player element has a native resolution of
1920x1080 pixels (which means an aspect ratio of 16:9). This means that you can position the content of your presentation from
However, often you don't want the XIMPEL application to take up that much space on your webpage. For this reason its possible to change the width and height of your XIMPEL application to anything you want and XIMPEL just scales all the content to make it fit into the specified width and height while maintaining the 16:9 aspect ratio. This prevents the presentation author to adjust the positioning of all presentation content whenever he or she changes the dimensions of the XIMPEL application.
Example: you want your XIMPEL presentation to be shown on your webpage in a
640x360 pixels box, so you provide an app width of
640px and app height of
360px. Then you describe a presentation in an XML file where you specify that some videos should be played in sequence at a certain x and y position with a certain width and height. You specify the x, y, width and height as if the content is going to be shown in an element of size
1920x1080. However, because you indicated that you want your XIMPEL presentation to be displayed in a 640x360 box, XIMPEL will scale the content down from
1080px. This means that if you now decide you want your presentation to be hosted on another website as well but bigger, you only have to change the app width and app height for the presentation on that website.