That's not for harbour, though, because I am using the Sailfish.Media 1.0 import. Anyway, here's how to do it: https://github.com/jgibbon/Talefish/...layer.qml#L413 cheers