Skip to content

Commit

Permalink
Fixing queue metadata issue. Removed G+ link.
Browse files Browse the repository at this point in the history
Change-Id: Ie33436d930dea962b95d82c7f30869a8a647c85e
  • Loading branch information
jtromo committed Mar 14, 2019
1 parent 4ab1e53 commit cd7accc
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 15 deletions.
3 changes: 0 additions & 3 deletions README.md
Expand Up @@ -40,6 +40,3 @@ See [LICENSE](LICENSE)

## Terms
Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the [Google APIs Terms of Service](https://developers.google.com/terms/) and the [Google Cast SDK Additional Developer Terms of Service](https://developers.google.com/cast/docs/terms/).

## Google+
[Google Cast Developers Community on Google+](http://goo.gl/TPLDxj)
2 changes: 1 addition & 1 deletion css/receiver.css
@@ -1,5 +1,5 @@
/*
Copyright 2018 Google LLC. All Rights Reserved.
Copyright 2019 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
17 changes: 8 additions & 9 deletions js/queuing.js
@@ -1,5 +1,5 @@
/*
Copyright 2018 Google LLC. All Rights Reserved.
Copyright 2019 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -26,14 +26,13 @@ class CastQueue extends cast.framework.QueueBase {
item.media.streamType = cast.framework.messages.StreamType.BUFFERED;
item.media.contentType = "video/mp4";
item.media.metadata = new cast.framework.messages.MovieMediaMetadata();
item.media.metadata = {
title: "Big Buck Bunny (2008)",
subtitle: "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than " +
"himself. When one sunny day three rodents rudely harass him, something " +
"snaps... and the rabbit ain't no bunny anymore! In the typical cartoon " +
"tradition he prepares the nasty rodents a comical revenge.",
images: [new cast.framework.messages.Image("https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images/BigBuckBunny.jpg")]
};
item.media.metadata.title = "Big Buck Bunny (2008)";
item.media.metadata.subtitle = "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than " +
"himself. When one sunny day three rodents rudely harass him, something " +
"snaps... and the rabbit ain't no bunny anymore! In the typical cartoon " +
"tradition he prepares the nasty rodents a comical revenge.";
item.media.metadata.images =
[new cast.framework.messages.Image("https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images/BigBuckBunny.jpg")];

this.sampleItem = item;
}
Expand Down
2 changes: 1 addition & 1 deletion js/receiver.js
@@ -1,5 +1,5 @@
/*
Copyright 2018 Google LLC. All Rights Reserved.
Copyright 2019 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion receiver.html
@@ -1,5 +1,5 @@
<!--
Copyright 2018 Google LLC. All Rights Reserved.
Copyright 2019 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down

0 comments on commit cd7accc

Please sign in to comment.