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 change the possition of current time and duration of control bar? #7106

Closed
vanminhquangtri opened this issue Jul 25, 2024 · 2 comments
Labels
type: question A question from the community

Comments

@vanminhquangtri
Copy link

Have you read the Tutorials?
Yes

Have you read the FAQ and checked for duplicate open issues?
Yes

If the question is related to FairPlay, have you read the tutorial?

Yes

What version of Shaka Player are you using?
4.10.6
https://cdnjs.cloudflare.com/ajax/libs/shaka-player/4.10.6/shaka-player.ui.min.js

What browser and OS are you using?
Window and macOS

Please ask your question
This is demo link:
https://shaka-player-demo.appspot.com/demo/#audiolang=en;textlang=en;uilang=en;asset=https://vod02-cdn.fptplay.net/POVOD/encoded/2024/03/05/desperado-1995-us-1709599664/master.m3u8;panel=CUSTOM%20CONTENT;build=uncompiled

What I want is to show the current time, seek bar, and duration in one line.
I think about using set interval or event like timeupdate to manipulate the dom, append dom, etc, but I think these way can cause player not work properly.
So I wonder if shaka provider any configuration for this? Thank you so much.
Screenshot_2

@vanminhquangtri vanminhquangtri added the type: question A question from the community label Jul 25, 2024
@avelad
Copy link
Member

avelad commented Aug 19, 2024

There is currently no config for this, and given the construction of the elements, I don't think it can be easily modified by CSS. Sorry!

@avelad avelad closed this as completed Aug 19, 2024
@vanminhquangtri
Copy link
Author

Thanks @avelad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question A question from the community
Projects
None yet
Development

No branches or pull requests

2 participants