-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Shaka player custom text displayer #7917
Comments
The default displayers (UITextDisplayer or SimpleTextDisplayer) are not working for you? |
I dont know how to use them |
I am writing js in bubble.io's plugin builder. ChatGpt says I cant use interfaces in bubble.io's plugin builder. I am completely lost. |
Yes, i went through this document earlier. Could not make anything out of it. Sorry for sounding dumb, I am a noob. |
Will really really be very nice if I could get some guidance on this sir. I mean no disrespect when I say I am happy to pay if you would charge for this |
Hey @charTechAccountant By default shaka will use SimpleTextDisplayer which uses native renderer. player.configure({
textDisplayFactory: () => new MyCustomTextDisplayer(),
}); I agree tutorial you've linked is not that helpful, we'll try to improve it. |
Hey, thank you for your response. Rn, I can do it by adding normal html elements, but as soon as shaka player enters full screen, these html elements gets hidden. So, one of the ways I thought I can display info is through text displayers of shaka. If u can guide me on how to proceed, it will be very helpful |
Personally I'd not use text displayer for that case. Instead I would prepare my custom HTML element with necessary info and lay it over the container. I guess this is what you are trying to achieve, but you're putting wrong element to fullscreen. Alternatively, you might want to play around with |
Yeah, that would be cool for this case indeed (assuming @charTechAccountant uses shaka UI)! It's not released yet though, right? |
Not yet, maybe this week |
I kind of created a text element and displayed user details. It is working fine in normal screen mode. When shaka enters full screen, it disappears from the screen. I tried to play with the zIndex, but it did not help. I think the case #7877 that was mentioned addresses my issue. If it is in the upcoming version, I will wait for it. Will update here if I face any issues. Thank you so much guys! |
We have released version 4.13 today with the mentioned change. |
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?
NA
What version of Shaka Player are you using?
4.8+
What browser and OS are you using?
Chrome, Android/windows
Please ask your question
I need to add custom texts on shaka player. I think "Class: shaka.text.Cue" or "Configuring text displayer" would help me with this, but I am not a tech person, and I am stuck. Looking for help. I have a fully functional player that plays drm protected video which I have set up. i need to add text elements in it.
Any proper documentations or suggestions would really help
Regards
The text was updated successfully, but these errors were encountered: