Skip to content

Commit

Permalink
add code link
Browse files Browse the repository at this point in the history
  • Loading branch information
XPandora committed Nov 17, 2023
1 parent 3111c7f commit 179624c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<script src="./static/js/bulma-slider.min.js"></script>
<script src="./static/js/index.js"></script>
<script src="./static/js/video_comparison.js"></script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
</head>

<body>
Expand Down Expand Up @@ -105,7 +105,8 @@ <h1 class="title is-1 publication-title">PhysGaussian: Physics-Integrated 3D Gau
</span>
<!-- Code Link. -->
<span class="link-block">
<a href="" class="external-link button is-normal is-rounded is-dark">
<a href="https://github.com/XPandora/PhysGaussian"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="fab fa-github"></i>
</span>
Expand Down Expand Up @@ -384,7 +385,7 @@ <h2 class="title">BibTeX</h2>
<a class="icon-link" href="">
<i class="fas fa-file-pdf"></i>
</a>
<a class="icon-link" href="" class="external-link" disabled>
<a class="icon-link" href="https://github.com/XPandora/PhysGaussian" class="external-link" disabled>
<i class="fab fa-github"></i>
</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions static/js/video_comparison.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function playVids(videoId) {


if (vid.readyState > 3) {
// vid.play();
vid.play();

function trackLocation(e) {
// Normalize to [0, 1]
Expand Down Expand Up @@ -110,7 +110,7 @@ function resizeAndPlay(element)
var cv = document.getElementById(element.id + "Merge");
cv.width = element.videoWidth/2;
cv.height = element.videoHeight;
// element.play();
element.play();
element.style.height = "0px"; // Hide video without stopping it

playVids(element.id);
Expand Down

0 comments on commit 179624c

Please sign in to comment.