I want to upload video in discource with video tag

I want to upload video in discourse with video-tag and append some text also and I want video in upload and open and play video auto

        var message =  "<video width="320" height="240" controls><source src=' /media//resources/SampleVideo_1280x720_1mb_HZL0gSU.mp4 '></video> " + "<p>" + " hi this is append some string " + "</p>";

I do these things but discourse is no response or not pick video-tag I guess.
if you know please suggest to me how to get a solution to this problem.