Skip to content

Commit

Permalink
chore: Set receiver app ID for v4.3 (#4675)
Browse files Browse the repository at this point in the history
This will be reverted in the main branch after the launch/branch of
v4.3, so that main continues refers to the nightly version of the
receiver app.
  • Loading branch information
joeyparrish authored Nov 10, 2022
1 parent 5a76a83 commit ea2eaaf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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="07AEE832" class="video-container">
<div data-shaka-player-container data-shaka-player-cast-receiver-id="8D8C71A7" class="video-container">
<video data-shaka-player autoplay playsinline id="video"></video>
</div>
</div>
Expand Down
14 changes: 7 additions & 7 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="07AEE832">
data-shaka-player-cast-receiver-id="8D8C71A7">
<!-- 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="07AEE832">
data-shaka-player-cast-receiver-id="8D8C71A7">
</div>
```

Expand Down Expand Up @@ -139,7 +139,7 @@ casting to an Android receiver app.

```html
<div data-shaka-player-container style="max-width:40em"
data-shaka-player-cast-receiver-id="07AEE832"
data-shaka-player-cast-receiver-id="8D8C71A7"
data-shaka-player-cast-android-receiver-compatible="true">
<!-- The manifest url in the src attribute will be automatically loaded -->
<video autoplay data-shaka-player id="video" style="width:100%;height:100%"
Expand All @@ -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="07AEE832">
data-shaka-player-cast-receiver-id="8D8C71A7">
<!-- 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="07AEE832">
data-shaka-player-cast-receiver-id="8D8C71A7">
<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="07AEE832">
data-shaka-player-cast-receiver-id="8D8C71A7">
<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': '07AEE832',
'castReceiverAppId': '8D8C71A7',
// Enable casting to native Android Apps (e.g. Android TV Apps)
'castAndroidReceiverCompatible': true,
});
Expand Down

0 comments on commit ea2eaaf

Please sign in to comment.