Update: what was missing was: WEBVTT at the beginning of the .vtt file
And then I got the correct code for the video container: