Skip to content

Commit

Permalink
fix: Update main branch Cast receiver ID (shaka-project#4364)
Browse files Browse the repository at this point in the history
This ID points to the nightly build, and so is appropriate for the
main branch.
  • Loading branch information
joeyparrish committed Jul 19, 2022
1 parent 8b99490 commit 46b27f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,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="BBED8D28" class="video-container">
<div data-shaka-player-container data-shaka-player-cast-receiver-id="07AEE832" class="video-container">
<video data-shaka-player autoplay playsinline id="video"></video>
</div>
</div>
Expand Down
12 changes: 6 additions & 6 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="BBED8D28">
data-shaka-player-cast-receiver-id="07AEE832">
<!-- 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="BBED8D28">
data-shaka-player-cast-receiver-id="07AEE832">
</div>
```

Expand Down Expand Up @@ -154,7 +154,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="BBED8D28">
data-shaka-player-cast-receiver-id="07AEE832">
<!-- 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 @@ -165,7 +165,7 @@ or
```html
<div data-shaka-player-container style="max-width:40em"
data-shaka-player-cast-receiver-id="BBED8D28">
data-shaka-player-cast-receiver-id="07AEE832">
<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 @@ -178,7 +178,7 @@ call to the first one fails.
```html
<div data-shaka-player-container style="max-width:40em"
data-shaka-player-cast-receiver-id="BBED8D28">
data-shaka-player-cast-receiver-id="07AEE832">
<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 Expand Up @@ -222,7 +222,7 @@ const video = controls.getVideo();
// Receiver Compatability.
ui.configure({
// Set the castReceiverAppId
'castReceiverAppId': 'BBED8D28',
'castReceiverAppId': '07AEE832',
// Enable casting to native Android Apps (e.g. Android TV Apps)
'castAndroidReceiverCompatible': true,
});
Expand Down

0 comments on commit 46b27f1

Please sign in to comment.