main.js 683 Bytes
(function($) {

    $(document).on('click', '.test-btn', function(e) {
        $('.container-video').empty()
        let v = '<video id = "myVideo"  src="data/test3.mp4" type="video/mp4" width="500"  height="350" controls autoplay></video><p>결과 영상</p>'
        $('.container-video').append(v);
        $('.container-kmeans').empty()
        let i = '<img src="data/test3_kmeans.png" style="width: 100%;" alt="Kmeans Image">'
        $('.container-kmeans').append(i);
        $('.container-kibana').empty()
        let k = '<a href="http://localhost:5601/goto/0eca14f7b381e3c38aaf650677fe771d">분석 결과</a>'
        $('.container-kibana').append(k);

    });

})(jQuery);