main.js 432 Bytes
(function($) {

    $(document).on('click', '.test-btn', function(e) {
        $('.container-video').empty()
        let v = '<video src="data/output2.avi" width="400"  controls autoplay></video>'
        $('.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);

    });

})(jQuery);