Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use plotly graphing library instead of Google Graphs in samples #540

Merged
merged 1 commit into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions samples/webcodecs-echo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,23 @@ <h2>WebTransport Echo with WebCodecs in Worker + RVFC</h2>
<label for="AV1">AV1</label><br>
</div>

<div id="hwButtons">
<p>Hardware Acceleration Preference:</p>
<input type="radio" id="hw" name="hwAccel" value="prefer-hardware" onchange="getHwValue(this)">
<div id="encHwButtons">
<p>Encoder Hardware Acceleration Preference:</p>
<input type="radio" id="hw" name="encHwAccel" value="prefer-hardware" onchange="getEncHwValue(this)">
<label for="hw">Prefer Hardware</label><br>
<input type="radio" id="sw" name="hwAccel" value="prefer-software" onchange="getHwValue(this)">
<input type="radio" id="sw" name="encHwAccel" value="prefer-software" onchange="getEncHwValue(this)">
<label for="sw">Prefer Software</label><br>
<input type="radio" id="no-pref" name="hwAccel" value="no-preference" checked="checked" onchange="getHwValue(this)">
<input type="radio" id="no-pref" name="encHwAccel" value="no-preference" checked="checked" onchange="getEncHwValue(this)">
<label for="no-pref">No Preference</label><br>
</div>

<div id="decHwButtons">
<p>Decoder Hardware Acceleration Preference:</p>
<input type="radio" id="hw" name="decHwAccel" value="prefer-hardware" onchange="getDecHwValue(this)">
<label for="hw">Prefer Hardware</label><br>
<input type="radio" id="sw" name="decHwAccel" value="prefer-software" onchange="getDecHwValue(this)">
<label for="sw">Prefer Software</label><br>
<input type="radio" id="no-pref" name="decHwAccel" value="no-preference" checked="checked" onchange="getDecHwValue(this)">
<label for="no-pref">No Preference</label><br>
</div>

Expand Down Expand Up @@ -165,7 +175,7 @@ <h2>WebTransport Echo with WebCodecs in Worker + RVFC</h2>
<button id="connect">Start</button>
<button id="stop">Stop</button>
<br/></br>
<script src="https://www.gstatic.com/charts/loader.js"></script>
<script src="https://cdn.plot.ly/plotly-2.18.2.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>
Loading
Loading