by Thomas Koller
The MPI developers recently made a new Annex feature available which allows users to embed a smaller-sized customised version of Annex into any web page. This new feature has since then been warmly welcomed by researchers inside and outside our institute as it is a great way to easily show research results to outsiders.
The embeddable version of Annex only supports access to freely accessible annotation resource bundles, i.e. resource bundles which can be accessed from the IMDI browser without user login. This restriction helps to avoid authentication issues and effectively protects resources with restricted access.
This new feature can be accessed directly from Annex by clicking on embed in the menu. Then a small dialog pops up where the user can customise the HTML snippet before copying it to the clipboard and pasting it into a webpage. This works pretty much the same way as the similar YouTube feature which users may already be familiar with. The following options are available:
- Show border around embedded Annex application: the creator can select a border width, a border color and a border type (solid, dotted or dashed)
- Size of the embedded Annex application: 4 predefined sizes are available. The user can also set any custom sizes directly in the HTML markup. It should be noted, however, that the embedded Annex application has been optimised in layout and components sizes for the 4 predefined sizes. So any custom size set in the HTML snippet can lead to a non-optimal looking Annex instance.
- Default view: text or subtitle. Setting a different default view (such as timeline or grid) will be ignored, instead the ‘text’ view will be set.
- Tier text font: This setting may be helpful if the user wants the embedded Annex to display an annotation resource with special characters which may not be contained in a standard font on the user’s computer. If the ‘Tier text font’ parameter is set with a font name which is not available on the user’s computer, then the embedded Annex application will automatically fall back to a standard font. The end user also has the option to change the tier text font and the font size at any time via a dropdown list.
The embedded Annex application has a Start Full ANNEX button in its top right corner. When the end user clicks this button, a new browser tab will open the full Annex version showing the same annotation resource.