Access to host system files

The server (running in the RuntimeManager) does not have free access to the entire file system of the host.

However, to access individual files, for example to embed a video in an HTML block, there is a special folder in the RuntimeManager program files. All files stored in this folder can be accessed by the RuntimeManager.

Path under Windows: %PROGRAMDATA%\QuickHMI\QuickHMI Server [VERSION]\shared_runtime_files
Path under Linux: /usr/share/quickhmi/QuickHMI Server [VERSION]/shared_runtime_files

If this folder does not yet exist, it can simply be created.

These files are then accessed via a relative path. Files directly in the shared_runtime_files folder can therefore be addressed directly with their names. However, subfolders can also be created to structure files. In this case, all folders (after shared_runtime_files) must be included in the path specification.

Here are two examples of how videos can be embedded, once in the main folder, and once with the video file placed in the “subfolder” subfolder:

<video width="320" height="240" controls>
  <source src="movie.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>

<video width="320" height="240" controls>
  <source src="subfolder/movie_in_subfolder.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>