Skip to content
This repository was archived by the owner on Jun 14, 2022. It is now read-only.
This repository was archived by the owner on Jun 14, 2022. It is now read-only.

How to Cast Youtube Video using Casty? #5

Description

@SopMar

I found Casty during my search, I have a question, what If I would like to cast Youtube Video using Casty lib.

Here is the link of sample code, I am using to play Youtube video using API within my App... I want to cast same.

I believe it's not gonna take much time for you, so can you please write a separate method to cast Youtube Video in your MainActivity.java class. (I'm afraid, in this case we have Play/Pause already :) )

Can we use something like this, to work with Youtube videos:
return new MediaData.Builder("https://www.youtube.com/watch?v=RKjUPQCXnsM")

Shall we need to keep other variables same as you kept in createSampleMediaData() method and what are the areas where we need to make changes in our code... (in existing class)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions