MDL-67795 h5p: move methods from player to helper