Questions tagged [chromecast]

Questions related to Google's Chromecast device, a dongle that provides hi-definition audio/video on TVs via wifi streaming.

Development Links:

General info: http://www.google.com/intl/en/chrome/devices/chromecast

List of Available Apps: http://www.google.com/intl/en/chrome/devices/chromecast/apps.html

2028 questions
9
votes
2 answers

Chromecast not playing multiple HTML5 videos

I have 2 video players on single page. On desktop, everything works fine, both video players are playing videos. But when I try to cast this page to Chromecast (via Google Chrome extension or via https://demille.github.io/url-cast-receiver/), only…
tomas657
  • 5,579
  • 4
  • 16
  • 15
9
votes
2 answers

How to install chromecast in Phonegap build

How can i install chromecast in Phonegap build? I did'n found any documentation for phonegap build.
Peter
  • 11,413
  • 31
  • 100
  • 152
9
votes
1 answer

Style dialog after click on MediaRouteButton

Hi can someone help me with styling dialog that appears after clicking on MediaRouteButton? There is a white text displayed on gray background which doesn't look good. android.support.v7.app.MediaRouteButton is wrapped in parent with…
Adam Radomski
  • 2,515
  • 2
  • 17
  • 28
9
votes
1 answer

Android screen sharing programmatically (Root)

Is it possible to screen sharing from root adb shell without user interaction over mircast or chromecast in Android >= 5? I'm looking for the command that enables/disables this https://support.google.com/nexus/answer/2865484?hl=en
RPallas
  • 557
  • 7
  • 22
9
votes
5 answers

How to remove black bar in chrome dev tools? Is it a Chrome bug?

Has anyone noticed a black bar at the top of the dev tools mobile view when looking at the iPhone6 view? I'm using Version 45.0.2454.93 (64-bit). I tried a couple of apps, and the same thing happened when looking at iPhone 6 mode. Highlighting the…
Ben Taliadoros
  • 7,003
  • 15
  • 60
  • 97
9
votes
1 answer

Chromecast HTML button

Is it possible to call chrome cast via a HTML button? I've written a web page that uses a custom receiver and basically allows a user to show reports to a room of people in the form of stats/charts, but they see controls on their screen. However…
Cameron
  • 27,963
  • 100
  • 281
  • 483
9
votes
3 answers

Can I cast on portrait mounted screen?

I'm using chrome API and Default Media Receiver. Is it possible to use some parameters to display media on a portrait screen?
Deqing
  • 188
  • 1
  • 9
9
votes
2 answers

How to do a Chromecast API White List URL page?

I want to integrate with the Chromecast Developer API so I want my chromecast(being shipped) whitelisted but you are supposed to supply 2 URLs. What exactly are these for? I might just be confused about how it works. Thanks. EDIT: I found this…
user1132959
  • 978
  • 8
  • 16
8
votes
3 answers

CastContext.getSharedInstance(Context) is now deprecated

As the title says, CastContext.getSharedInstance(Context) is now deprecated: getSharedInstance(Context context): This method is deprecated. Use getSharedInstance(Context, Executor) instead to handle the exception when Cast SDK fails to load the…
nhcodes
  • 1,206
  • 8
  • 20
8
votes
2 answers

MediaRouteButton is not active in Fragment

I use button for starting chromecast android.support.v7.app.MediaRouteButton in my app in activities xml and fragments xml with videoplayer. For initializing cast button I use the next code: private void setupChromeCast() { try { …
Alex D.
  • 1,424
  • 15
  • 40
8
votes
2 answers

Chromecast receiver application cannot play widevine drm protected content from Android sender application

I'm using receiver application from Expressplay's site for chromecast. https://www.expressplay.com/developer/test-apps/#ccplayer. I've tested it from the browser by passing license URL along with the widevine stream path. It played the video, means…
Ibrahim Iqbal
  • 600
  • 3
  • 23
8
votes
2 answers

How to add standard media controls to Google Cast app?

I'm developing Google Cast custom receiver app using WebTorrent (https://webtorrent.io, https://github.com/feross/webtorrent) and Google Cast sender app using JavaScript (Chrome) SDK. The idea of my app is sending torrent id (magnet URI like…
8
votes
2 answers

iOS Sdk Google Chromecast Subtitles

This is how I have implemented to show subtitles using a Google Chromecast device. But the subtitle doesnt appear. Do I have to make changes in Chromecast API ? var subtitleName:String = "" var subtitleLink:String = "" var subtitleType:String =…
Taimur Ajmal
  • 2,778
  • 6
  • 39
  • 57
8
votes
2 answers

MediaMetadataCompat Extras

Is there any way to use extras with the MediaMetadataCompat from the support library? Using the MediaMetadata I can set extras, but with the compat one I cannot.
gonzalomelov
  • 971
  • 1
  • 13
  • 30
8
votes
8 answers

Change Chromecast casting icon color

I'm using Google's method to add a Cast button to my app, but it's defaulted to the white icon, which is invisible against my white menu bar. How do I go about changing the color of the Cast icon to black?
opticon
  • 3,494
  • 5
  • 37
  • 61