code-charity / youtube

[top~1 open YouTube & Video browser-extension] - Enrich your experience & choice! 🧰180+ options & clever features 📌set+forget📌Longest-standing(been tough). Please join🧩us👨‍👩‍👧‍👧 ..⋮ {playback|content discovery|player|extra buttons|distractions|related videos|shorts|ads|quality|codec|full tab|full screen}
http://improvedtube.com
Other
3.55k stars 548 forks source link

Add chromecast support (Cast to TV) #1860

Open xeophyte opened 1 year ago

xeophyte commented 1 year ago

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* |
ImprovedTube commented 1 year ago

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

xeophyte commented 1 year ago

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.

ImprovedTube commented 1 year ago

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)

xeophyte commented 1 year ago

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