Thanks again for the help. It works. Initially I thought there is no need to add jquery myself since there is jquery-1.10.2.min.js loaded. I got OnShowRunJS: TypeError: Object error when loading the page. Then I followed the step; downloaded the jquery 3.4.1 slim and loaded to the external HTML. Then it worked without the error message.
I think the play icon is important for videos, but we prefer not to go back to the initial state with a play icon. The video was originally SWF content. We tried to mimic the behavior of the SWF instead of videos. So the current way works exactly as we wanted.