Giter Club home page Giter Club logo

Comments (8)

Fenny avatar Fenny commented on July 28, 2024 5

@nicbou I feel you, this is the whole reason I created my own wrapper at some point.
If you curious, here is the link:
https://github.com/fenny/castjs with an online demo

from castvideos-chrome.

NoRulesJustFeels avatar NoRulesJustFeels commented on July 28, 2024 1

Our response to your original ticket still apply. All our sample apps are designed to be pulled as code for you to host. The documentation explains how to use the Cast SDK for Chrome: https://developers.google.com/cast/docs/chrome_sender_integrate

from castvideos-chrome.

nicbou avatar nicbou commented on July 28, 2024

The problem is not that it's not there, but that it does not adequately fulfil its role.

from castvideos-chrome.

nicbou avatar nicbou commented on July 28, 2024

Me too @Fenny! Here's the link: https://github.com/nicbou/homeserver/blob/master/frontend/src/js/components/ChromeCastService.js

Here's the ChromeCast button that uses it: https://github.com/nicbou/homeserver/blob/master/frontend/src/js/components/ChromeCastButton.component.js

I've used it on my home server for about a year to stream videos to my projector, and it works great. I don't use it to control the video though (I use my phone for that), so your solution is likely more complete.

from castvideos-chrome.

hydra3333 avatar hydra3333 commented on July 28, 2024

I've used it on my home server for about a year to stream videos

nicbou, Great !
I'm trying to do the same thing however am running into issues :-
#24
Given it works for you, what did you do right ? :)

from castvideos-chrome.

nicbou avatar nicbou commented on July 28, 2024

I still use the file linked above. However I had to get a proper SSL certificate.

from castvideos-chrome.

hydra3333 avatar hydra3333 commented on July 28, 2024

OK. My web server is inaccessible from the internet, and I do not have a domain.
May I enquire how you went about it and who you went with to purchase the cert ?

I reckon google may have lost the plot a bit (rich people running it), likely forcing people to pay for domains and certs when an option to not use it inside a home LAN would be easily done - I'm a retiree, so yet another recurrent expense is not something I can really afford :(

Edit 2020/01: found a way to use a self-signed cert - even though a home browser baulks at it a bit, it still works.

My vanilla hack at https://github.com/hydra3333/Pi4CC has minimal changes to the CastVideos-chrome sample as at January 2020; the back-end runs on a Raspberry Pi 4 with Apache or on a Windows PC with IIS, while the front-end runs in a user chrome browser on a tablet or PC and uses the HTML5 "details" element to show/hide lists of videos.

Thank you google, for the sample, even though it is a tad difficult for novices to understand. I hope that one day you may consider a "dummies" version with a very greatly simplified interface exposing only a very few functions.

from castvideos-chrome.

nicbou avatar nicbou commented on July 28, 2024

Over two years later, I'm still disappointed that this ticket was closed without consideration. I still struggle to answer simple questions like "how to I set the start time on the ChromeCast". The documentation has not changed at all, and it's still as incomplete as before.

from castvideos-chrome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.