videogular2 icon indicating copy to clipboard operation
videogular2 copied to clipboard

Chromecast support

Open Celsiusss opened this issue 8 years ago • 6 comments
trafficstars

This player looks really promising, but support for Chromecast would be fantastic.

Celsiusss avatar Jul 30 '17 11:07 Celsiusss

@ende124 would you like to help on the implementation? I can help and guide you 😄

Elecash avatar Aug 21 '17 09:08 Elecash

@Elecash well, I'm a fairly new developer, and started learning Angular a little while ago. Not quite sure if I'm up for the task. But I could always try? :P

Celsiusss avatar Aug 21 '17 18:08 Celsiusss

@ende124 of course!

You can inspire in videogular-chromecast which was made by a contributor for Videogular 1.X for AngularJS: https://github.com/benjipott/videogular-chromecast/blob/master/src/chromecast.js

If you want to create a PR I'm glad to contribute to it because I know that this is going to be a big task.

Probably I'll do something similar like I did on VgDash and VgHls directives that you can check here: https://github.com/videogular/videogular2/tree/master/src/streaming

This is a good approach because it's independant of VgMedia and you can add it as an attribute to the video tag. For example:

<vg-player>
    <video [vgMedia]="media" 
                vgChromecast
                #media 
                id="singleVideo" 
                preload="auto" 
                crossorigin>
        <source src="http://static.videogular.com/assets/videos/videogular.mp4" type="video/mp4">    </video>
</vg-player>

Elecash avatar Aug 22 '17 09:08 Elecash

I also want to implement Chrome Cast feature in the video. Need Help

sureshbora1989 avatar Jun 20 '18 23:06 sureshbora1989

I am going to implement this, so I'll create PR after this! :)

Way I'll do this is in public API and then component to trigger that request.

BleedingDev avatar Jan 22 '19 14:01 BleedingDev

there is any news on this issue?

IvanMurabito avatar Aug 17 '19 12:08 IvanMurabito