Skip to content

Commit

Permalink
chore: Update cast receiver ID for v3.1
Browse files Browse the repository at this point in the history
Change-Id: Ifa042ca4e5e8922121d332cc790559d5bbff14ae
  • Loading branch information
joeyparrish authored and ismena committed Apr 29, 2021
1 parent bf0644a commit 3698f49
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
</div>
<main class="mdl-layout__content" id="main-div">
<div id="video-bar" class="hidden">
<div data-shaka-player-container data-shaka-player-cast-receiver-id="930DEB06" class="video-container">
<div data-shaka-player-container data-shaka-player-cast-receiver-id="1BA79154" class="video-container">
<video data-shaka-player autoplay playsinline id="video"></video>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions docs/tutorials/ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Set up controls with HTML data attributes:
The data-shaka-player-cast-receiver-id tag allows you to provide a Cast Application ID that
the cast button will cast to; the value provided here is the sample cast receiver. -->
<div data-shaka-player-container style="max-width:40em"
data-shaka-player-cast-receiver-id="930DEB06">
data-shaka-player-cast-receiver-id="1BA79154">
<!-- The data-shaka-player tag will make the UI library use this video element.
If no video is provided, the UI will automatically make one inside the container div. -->
<video autoplay data-shaka-player id="video" style="width:100%;height:100%"></video>
Expand Down Expand Up @@ -111,7 +111,7 @@ set up a listener for the 'caststatuschanged' events.
<!-- Add a data-shaka-player-cast-receiver-id tag to provide a Cast Application ID that
the cast button will cast to; the value provided here is the sample cast receiver. -->
<div data-shaka-player-container style="max-width:40em"
data-shaka-player-cast-receiver-id="930DEB06">
data-shaka-player-cast-receiver-id="1BA79154">
</div>
```

Expand All @@ -137,7 +137,7 @@ or a `<source>` tag inside it to enable auto loading of the specified content.

```html
<div data-shaka-player-container style="max-width:40em"
data-shaka-player-cast-receiver-id="930DEB06">
data-shaka-player-cast-receiver-id="1BA79154">
<!-- The manifest url in the src attribute will be automatically loaded -->
<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>
Expand All @@ -148,7 +148,7 @@ or

```html
<div data-shaka-player-container style="max-width:40em"
data-shaka-player-cast-receiver-id="930DEB06">
data-shaka-player-cast-receiver-id="1BA79154">
<video autoplay data-shaka-player id="video" style="width:100%;height:100%">
<!-- The manifest url in the src attribute will be auto loaded -->
<source src="https://storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd"/>
Expand All @@ -161,7 +161,7 @@ call to the first one fails.

```html
<div data-shaka-player-container style="max-width:40em"
data-shaka-player-cast-receiver-id="930DEB06">
data-shaka-player-cast-receiver-id="1BA79154">
<video autoplay data-shaka-player id="video" style="width:100%;height:100%">
<!-- Try this first -->
<source src="https://storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd"/>
Expand Down

0 comments on commit 3698f49

Please sign in to comment.