Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 236
Deqing Avatar asked Mar 14 '14 02:03

Deqing


People also ask

Does Chromecast support portrait mode?

No, it's not possible, and that's normal, because video content should be displayed in the aspect ratio in which it was filmed. If you try to display it differently it will look wrong. How does Chromecast displays it then?

How do I rotate my Chromecast?

Tap the Cast Screen option. In both cases, now tap the name of the Chromecast you want to stream to. Your screen will now appear on the TV—it even reflect the orientation of your device's screen, so rotate it sideways to switch into landscape mode to fill the TV screen.


2 Answers

Or this in the browser window:

javascript:document.body.style.setProperty("-webkit-transform", "rotate(90deg)", null);
like image 82
Kyle Wiens Avatar answered Oct 19 '22 03:10

Kyle Wiens


you could do something like this:

body.portrait {
  -webkit-transform: rotate(90deg);
}

and then add the portrait class to the <body> via javascript with a cast message

like image 29
pseidemann Avatar answered Oct 19 '22 02:10

pseidemann