vickyg3 / urlplayer Goto Github PK
View Code? Open in Web Editor NEWChromecast URL Player
License: Creative Commons Zero v1.0 Universal
Chromecast URL Player
License: Creative Commons Zero v1.0 Universal
I think that with the latest changes introduced by Google, the Chromecast extension is no longer independent (it has been removed) and is now included inside Chrome.
Right now the web app does not connect with Chromecast
It would be nice if you could update the hosted version of the UrlPlayer with latest changes, so that users can join the new functions of the player
An idea for your consideration: I often play MP4's directly in the browser. I would love to send the current URL in the address bar directly to the Chromecast.
(Interestingly, the Cast... command built into Chrome will mirror the tab but not send the URL.)
Going a step further, detect compatible URL file extensions on the page, and put a Cast icon next to them.
A simple web app to cast any video given it's URL to Chromecast.
"its" instead of "it's" :)
I add clickable links at the bottom of your script to play with many Videos aud audio format.
`$(function(){
$('.vidlink a').click(function(e){
e.preventDefault();
if (player.session == null) {
return;
}
var url = decodeURIComponent($(this).attr('href'));
var contentType = getContentType(url);
player.loadMedia(url, contentType);
$('#player_now_playing').html(url.split(/[\\/]/).pop());
$('#controls').show();
/*temporaire*/
$('#url').val(url);
});
});`
The source code doesn't define any but is it possible to reduce the buffer? Playing an audio stream (http) and the initial buffer is close to 30 seconds, no matter the codec used, mp3 or ogg. (the stream is from my LAN). Videostream can play video files in an instant so everything else is works like a chram.
Having subtitle function will be great.
Can someone tell me why the following isn't supported?
When I connect to the cast and click play the control UI is displayed, but the movie doesn't play on the cast. I am not sure if this is a chromecast problem or there is something in URL that is unsupported. When using a browser the file streams no problem.
The URL is internal and yes the Chromecast is using the same DNS as the browser :-)
I really like your script and it works really well while looking nice.
Would be a really nice feature to be able to generate some kind of playlist of urls/files that are simply played one after another.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.