It's only supported if the browser supports encoding in that format.
You can check the supported encode formats in Construct's 'About' dialog, or using the Is audio/video format supported conditions in Game Recorder.
AFAIK, the only browser which supports h.264 encoding is Safari 14.1, which is not out yet (it should be out early next year).