add elemlib support for virt-player