JSFiddle - React, Tailwind, and code Playground

by Kyle Shen

HTML

<img id='imgCamera' style="width:400px"/>

JavaScript

function show(){
$('#imgCamera').attr('src','http://cctv4.kctmc.nat.gov.tw/axis-cgi/jpg/image.cgi?camera=198');
}
setInterval(show,1000);