youtube icon indicating copy to clipboard operation
youtube copied to clipboard

Add chromecast support (Cast to TV)

Open xeophyte opened this issue 1 year ago • 4 comments

PROBLEM: You can no longer play the video from the YT website by connecting it to the TV and playing it ( i.e. in SmartTube app on tv with android)

SOLUTION: Add chromecast support to play YT videos on tv (i.e. with SmartTube) using chromecast or another way. It would be good if the SmartTube application ran on the TV and not the default built-in YT app.

ALTERNATIVES:

RELEVANCE / SCOPE: Would be good for everybody that use YT on the browser and smar tv's

"SIDE EFFECTS":

CONTEXT: On the YT settings page, it used to be possible to set the YT connection in the browser to the TV via a code entered on the TV. This is no longer the case because it has been replaced by Chromecast technology built into browsers. This function stayed in the YT mobile app. // Thank you!

SHORT Table (Summary)
Problem
Solution
Alternatives
Scope
Side effects
Context

xeophyte avatar Dec 01 '23 13:12 xeophyte

hi! @xeophyte smarttube stopped working? like this? https://chromewebstore.google.com/detail/playto-for-chromecast/jngkenaoceimiimeokpdbmejeonaaami

ImprovedTube avatar Dec 02 '23 14:12 ImprovedTube

No, I ment that when I click this cast button vivaldi - 2023 12 02_19 45 17 and this popup appears 2023-12-02_19-45-45 and I choose the tv with installed SmartTube app on it (with android tv), the video doesn't open in the SmartTube, but in some default built-in Youtube player. I even ~~uninstalled~~ disabled the official pre-installed Youtube app from the tv, but there is some another built in YT player, not app just simple old YT player that reacts to cast from the browser. I thought that maybe it would be possible to somehow connect YT from the browser to SmartTube on TV.

xeophyte avatar Dec 02 '23 18:12 xeophyte

hi, (cant set or force a standard app in the android TV?)

thought that maybe

lets find out CastVideos-chrome https://github.com/googlecast/CastReceiver

( css identifiers of the button: the button is button .ytb-button .ytp-remote-button path d^=M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27 #ytp-id-21 ) (#1445)

ImprovedTube avatar Dec 04 '23 06:12 ImprovedTube

cant set or force a standard app in the android TV?

No, I can only add a device in Remote control settings 1

and from the TV enter the code in the app - function removed from the YT website, AFAIK only mobile apps 2

xeophyte avatar Dec 04 '23 18:12 xeophyte