Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use ui elements class in angular project. Is there any code example of it? #4226

Closed
smvora4u opened this issue May 16, 2022 · 6 comments
Labels
status: archived Archived and locked; will not be updated type: question A question from the community

Comments

@smvora4u
Copy link

I am very new to Shaka player. I am using shaka player with my angular project. I follow this method explained by some one. That is working fine but now show thumbnail on seekbar hover like youtube, want to seek 10 seconds forward and backward, change the style of controls like vertical volume bar and seek bar in between all controls. Can I do this stuffs with shaka player, if yes, then how? Is there any simple example from which I can get this. I have gone through the documentations but can't get how to use shaka player ui elements class?

@avelad avelad added the type: question A question from the community label May 16, 2022
@joeyparrish
Copy link
Member

We don't have thumbnail support in the UI yet, but we do have an open feature request for it already.

With the Shaka Player UI, you can:

  • Configure the UI to add or remove buttons or other UI elements
  • Configure the UI to change the order of elements in the UI
  • Style elements in CSS
  • Write plugins for additional elements we don't provide (custom buttons, etc)

See this page for details on customizing the UI: https://shaka-player-demo.appspot.com/docs/api/tutorial-ui-customization.html

Does this help?

@theodab
Copy link
Contributor

theodab commented May 16, 2022

See #3371 for progress on the UI thumbnails.

@smvora4u
Copy link
Author

  • How to make vertical volume bar?
  • 10 seconds forward and backward, how to do that?
  • want seekbar and all controls in one line, like currently seekbar is under all other controls by default. I want it in between other controls. i.e. Play/pause - current time - seekbar - volume - settings - PIP - full screen. all should be in one line.

Is there any example or so for this? Please provide so I can refer it too.

By the way thank for your quick reply @joeyparrish. I appreciate this.

@joeyparrish
Copy link
Member

  • How to make vertical volume bar?
  • 10 seconds forward and backward, how to do that?

We don't have that built-in, but you can find examples of how others have done it with custom UI elements. For example: https://github.com/patricktran/shaka-player-ui-controls

  • want seekbar and all controls in one line, like currently seekbar is under all other controls by default. I want it in between other controls. i.e. Play/pause - current time - seekbar - volume - settings - PIP - full screen. all should be in one line.

This could be changed with CSS if I'm not mistaken. I believe there are examples of that in this third-party gallery of themes and styles: https://github.com/lucksy/shaka-player-themes

@github-actions
Copy link
Contributor

@smvora4u Does this answer all your questions? If so, would you please close the issue?

@github-actions github-actions bot added the status: waiting on response Waiting on a response from the reporter(s) of the issue label May 21, 2022
@github-actions
Copy link
Contributor

Closing due to inactivity. If this is still an issue for you or if you have further questions, the OP can ask shaka-bot to reopen it by including @shaka-bot reopen in a comment.

@github-actions github-actions bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label May 28, 2022
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 27, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: question A question from the community
Projects
None yet
Development

No branches or pull requests

4 participants