Browse Source

added download button to watch page

pull/17/head
jrtechs 4 years ago
parent
commit
4219e045b0
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      html/watch.html

+ 1
- 0
html/watch.html View File

@ -11,6 +11,7 @@
<p id="copyStatus"></p> <p id="copyStatus"></p>
<input class="form-control" type="text" value="{serverURL}/video\?v\={videoURL}\&api\={api}" id="directLink"> <input class="form-control" type="text" value="{serverURL}/video\?v\={videoURL}\&api\={api}" id="directLink">
<button class="btn btn-secondary align-content-center" onclick="copyVideoPath()">Copy Direct Link</button> <button class="btn btn-secondary align-content-center" onclick="copyVideoPath()">Copy Direct Link</button>
<a class="btn btn-secondary align-content-center" href="/video?v={videoURL}" download="{videoURL}">Download</a>
</div> </div>
<script> <script>

Loading…
Cancel
Save