Sets or gets an object containing information about the TextMask's background.
Setting the src
property sets the source of the TextMask's background. The src
property can be set to an image or a video. Images can either be from the Media Manager or an external image from any web location. Videos must come from the Media Manager.
The supported URL formats are:
wix:image://v1//#originWidth=&originHeight=[&watermark=]
wix:video://v1//#posterUri=&posterWidth=&posterHeight=
http(s)://
The URL for Media Manager images and videos is the fileUrl
value returned by the listFiles()
function.
Getting the src
property gets the source of the TextMask's background.