Comments (8)
@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.
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.
The problem is not that it's not there, but that it does not adequately fulfil its role.
from castvideos-chrome.
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.
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.
I still use the file linked above. However I had to get a proper SSL certificate.
from castvideos-chrome.
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.
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)
- Question: multiple players handling HOT 3
- [Deprecation] Errors for M73 ( March 2019 ) HOT 3
- Initialization in Vue.js
- Initialization and transmission of video stream HOT 1
- home LAN web server, self-signed cert, chromecast not work HOT 3
- issue
- integration with react(chrome cast) HOT 2
- Cast button does not show when using application id. HOT 2
- Is it working with Cordova? HOT 2
- Builtin chrome cast button casts the video HOT 1
- No re-connection on page refresh HOT 1
- Cast button doesn't appear on mobile HOT 3
- Chromebook - Fails to load - cast is not defined HOT 2
- Wish-list: Chromecast Audio example HOT 1
- Media Sample URLs using http scheme
- Detect ChromeCast available receivers in JS
- DEFAULT_MEDIA_RECEIVER_APP_ID doesn't work while C0868879 does
- [Cast Docs] Codelab HOT 1
- Cast button not showing up for Custom Receiver or Styled Media Receiver Applications HOT 2
- Googlecast not working with AES 128 encryption without IV
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from castvideos-chrome.