Skip to content

Commit

Permalink
Removed unnecessary console.log()
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak-acharya-97 committed Dec 31, 2018
1 parent 589d8b9 commit aa53aea
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,12 @@ <h2>View Videos Of Personal Laptop In Company Laptop</h2>
<script>
$(function () {
$("button").click(function () {
console.log("clicked");
var src = $(this).text();
var html = `<video width="100%" height="100%" controls>\
<source src="${src}" type="video/mp4"/> Your browser does not support the video tag.\
</video>`
$("video").remove();
$(".video-player").append(html);
console.log($("source").attr("src"));
})
});
</script>
Expand Down

0 comments on commit aa53aea

Please sign in to comment.