Cast.js Demo

📺 Chromecast Sender Library for the Browser

View on GitHub
Sintel (2010)
Third Open Movie by Blender Foundation
Animation
Short
Fantasy
7.5
00:00:00
00:00:00
Disconnected

Getting Started

        
        
      
        
// Create new Castjs instance
const cjs = new Castjs();

// Wait for user interaction
$('#cast').on('click', function() {
    // Check if casting is available
    if (cjs.available) {
        // Initiate new cast session
        cjs.cast('https://example.com/movie.mp4');
    }
});