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

fix: Update main branch Cast receiver ID #4364

Merged
merged 1 commit into from
Jul 19, 2022
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
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