Can I add unique watermarks to my video?

I want to add unique watermarks to my videos for DRM purposes. If possible I want to add the username of the user to the video I’m rendering.

Is this possible?

Yes you can. I’ve recorded a video that goes over the different steps to do this:

The template JSON is as follows:

{
    "merge": [
        {
            "find": "username",
            "replace": "username12345"
        }
    ],
    "timeline": {
        "background": "#000000",
        "fonts": [
            {
                "src": "https://shotstack-assets.s3.amazonaws.com/fonts/Arimo.ttf"
            }
        ],
        "tracks": [
            {
                "clips": [
                    {
                        "asset": {
                            "type": "html",
                            "html": "<p>{{username}}</p>",
                            "css": "p { font-size: 36px; color: #FFFFFF; font-family: 'Arimo'; text-align: right; }",
                            "width": 700,
                            "height": 100
                        },
                        "start": 0,
                        "length": 5,
                        "position": "topRight",
                        "offset": {
                            "x": -0.03,
                            "y": 0
                        }
                    }
                ]
            },
            {
                "clips": [
                    {
                        "asset": {
                            "type": "video",
                            "src": "https://shotstack-assets.s3.amazonaws.com/footage/hot-air-balloon-vertical.mp4"
                        },
                        "start": 0,
                        "length": 5
                    }
                ]
            }
        ]
    },
    "output": {
        "format": "mp4",
        "resolution": "hd",
        "aspectRatio": "9:16"
    }
}

And the result is the following video: