Skip to content

Commit

Permalink
docs: add missing closing text and capitalize UI (#6519)
Browse files Browse the repository at this point in the history
A set of small changes to improve the documentation on the UI chapter.
  • Loading branch information
arturparkhisenko authored and joeyparrish committed May 7, 2024
1 parent 47c5037 commit 0aaadac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/tutorials/ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Set up controls with HTML data attributes:
<!DOCTYPE html>
<html>
<head>
<!-- Shaka Player ui compiled library: -->
<!-- Shaka Player UI compiled library: -->
<script src="dist/shaka-player.ui.js"></script>
<!-- Shaka Player ui compiled library default CSS: -->
<!-- Shaka Player UI compiled library default CSS: -->
<link rel="stylesheet" type="text/css" href="dist/controls.css">
<!-- Chromecast SDK (if you want Chromecast support for your app): -->
<script defer src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"></script>
Expand Down Expand Up @@ -52,7 +52,7 @@ async function init() {
const controls = ui.getControls();
const player = controls.getPlayer();

// Attach player and ui to the window to make it easy to access in the JS console.
// Attach player and UI to the window to make it easy to access in the JS console.
window.player = player;
window.ui = ui;

Expand Down Expand Up @@ -145,7 +145,7 @@ casting to an Android receiver app.
<video autoplay data-shaka-player id="video" style="width:100%;height:100%"
src="https://storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd"></video>
</div

```

#### Providing source(s) for auto load.

Expand Down

0 comments on commit 0aaadac

Please sign in to comment.