-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
310 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,38 +3,62 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Admin Controls</title> | ||
<title>BingeBuddies | Admin Controls</title> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"> | ||
</head> | ||
<body> | ||
<div> | ||
<input type="text" id="VideoURL" placeholder="URL" id=""> | ||
<input type="text" id="VideoTitle" placeholder="Title" id=""> | ||
<button id="fire-video-change">Play Stream</button> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<h3>Theatre Controls</h3> | ||
<div class="mb-3"> | ||
<label for="VideoURL" class="form-label">URL</label> | ||
<input type="text" class="form-control" id="VideoURL" placeholder="URL"> | ||
</div> | ||
<div class="mb-3"> | ||
<label for="VideoTitle" class="form-label">Title</label> | ||
<input type="text" class="form-control" id="VideoTitle" placeholder="Title"> | ||
</div> | ||
<div class="mb-3"> | ||
<label for="VideoDesc" class="form-label">Description</label> | ||
<textarea class="form-control" id="VideoDesc" rows="3" placeholder="Description"></textarea> | ||
</div> | ||
<div class="mb-3"> | ||
<button id="fire-video-change" class="btn btn-primary">Play Stream</button> | ||
<button id="fire-video-next" class="btn btn-secondary">Add to List</button> | ||
</div> | ||
<div class="mb-3"> | ||
<h4>Subtitles</h4> | ||
<textarea class="form-control" name="" id="subs" rows="5">VTT</textarea> | ||
<button id="subtitlePush" class="btn btn-primary mt-2">Apply Subtitles</button> | ||
</div> | ||
|
||
</div> | ||
<div class="col-md-6"> | ||
<div class="row mt-4 mb-3"> | ||
<h3>Theatre Playback</h3> | ||
<video controls muted src="" id="videoplayer" class="w-100"></video> | ||
</div> | ||
<div class="row mb-3"> | ||
<h3>Viewers (<span id="membersCount"></span>)</h3> | ||
<ul id="watchers" class="list-group"> | ||
</ul> | ||
</div> | ||
<div class="mb-3"> | ||
<h3>Debug</h3> | ||
<button id="sync-now" class="btn btn-primary">Sync Playback</button> | ||
<button id="binge-package" class="btn btn-secondary">Resend BingePack</button> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row mt-3"> | ||
|
||
|
||
</div> | ||
</div> | ||
<div> | ||
<h6>SYNC</h6> | ||
<button id="sync-playback">Sync Playback</button> | ||
<button id="binge-package">Resend BingePack</button> | ||
</div> | ||
<div> | ||
<h4>Viewers</h4> | ||
<ul id="watchers"> | ||
|
||
</ul> | ||
</div> | ||
<div> | ||
<h4>Subtitles</h4> | ||
<textarea name="" id="subs"> | ||
VTT | ||
</textarea> | ||
<button id="subtitlePush">Apply Subtitles</button> | ||
</div> | ||
<div> | ||
<h6>Playback Controls</h6> | ||
<video controls muted src="" id="videoplayer"></video> | ||
</div> | ||
|
||
<script src="../assets/js/script.js"></script> | ||
|
||
<!-- <script src="../assets/js/script.js"></script> --> | ||
<script src="../bundle.js"></script> | ||
</body> | ||
<script>document.getElementById('videoplayer').volume=0.01;</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.