Giter Site home page Giter Site logo

help UI Customize about ovenplayer HOT 15 CLOSED

airensoft avatar airensoft commented on July 17, 2024
help UI Customize

from ovenplayer.

Comments (15)

SangwonOh avatar SangwonOh commented on July 17, 2024 2

Because it is literally full screen, so we cannot place other elements on top of full screen elements.

You can use a trick to insert the element with javascript into the div.op-ui element, then make it visible only if the player wrapper element (div.ovenplayer) has the op-fullscreen class.

from ovenplayer.

SangwonOh avatar SangwonOh commented on July 17, 2024

@jys923 Hi. Colud you give us a html and css code samples you wrote ?

from ovenplayer.

SangwonOh avatar SangwonOh commented on July 17, 2024

@jys923 Hi. Have you made any progress?

from ovenplayer.

ducle1904 avatar ducle1904 commented on July 17, 2024

Hello, I have the same issue here, I have a custom button and want to have it when in full screen mode, but it can't see, it's under the overlay

from ovenplayer.

ducle1904 avatar ducle1904 commented on July 17, 2024

Hi, thanks for the helpful answer. But I have another question, currently I have 2 camera, I want to know which camera are in full screen mode, as I do is check the class op-fullscreen, but both div.ovenplayer have that class, so how can I detect? Thank you.

from ovenplayer.

ducle1904 avatar ducle1904 commented on July 17, 2024

@SangwonOh Can you help me, please.

from ovenplayer.

SangwonOh avatar SangwonOh commented on July 17, 2024

@ducle1904 Hi.

I have 2 camera, I want to know which camera are in full screen mode

What does camera mean? Are you talking about OvenPlayer?

but both div.ovenplayer have that class

Why are both OvenPlayers in full screen? Perhaps your application actually made both players fullscreen.

from ovenplayer.

ducle1904 avatar ducle1904 commented on July 17, 2024

@SangwonOh What does camera mean? Are you talking about OvenPlayer?
Yes, I mean Ovenplayer
Why are both OvenPlayers in full screen? Perhaps your application actually made both players fullscreen.
I don't know why, but when I click 1 Ovenplayer in fullscreen mode and check for the class op-fullscreen, I see that the other one have that too.
So have any solution for me to check which Ovenplayer are in full screen mode? Because I haven't edit the Ovenplayer source code.
Thank you

from ovenplayer.

SangwonOh avatar SangwonOh commented on July 17, 2024

@ducle1904 It seems that there is a bug where once one player goes fullscreen, the op-fullscreen class is also attached to other players. We will fix it soon and let you know. Thanks!

from ovenplayer.

SangwonOh avatar SangwonOh commented on July 17, 2024

@ducle1904 Fixed full screen malfunction. Please check in the latest version.

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ovenplayer.js"></script>
or
https://github.com/AirenSoft/OvenPlayer/releases/tag/v0.10.17

Thanks!

from ovenplayer.

ducle1904 avatar ducle1904 commented on July 17, 2024

@SangwonOh Nice, Thanks for the enthusiastic help, thats help me a lot.

from ovenplayer.

ducle1904 avatar ducle1904 commented on July 17, 2024

Screenshot 2022-02-15 143421
Hello @SangwonOh , I have done to add the button into the full screen mode, but I can't run a function that I have embed to the button.
I have try to get that button by Js and addEventListener but it's not working.
Do you have any solution to help me?

from ovenplayer.

SangwonOh avatar SangwonOh commented on July 17, 2024

@ducle1904 Hi. Can you show me where the button is located using the element tab of the developer tools?

from ovenplayer.

Sanjeewa248 avatar Sanjeewa248 commented on July 17, 2024

Can I hide the play button, setting icon, and full screen icon ?

from ovenplayer.

SangwonOh avatar SangwonOh commented on July 17, 2024

@Sanjeewa248
hide the play button
https://airensoft.gitbook.io/ovenplayer/initialization#showbigplaybutton
To hide setting icon, and full screen add style in your application.

.op-controls-container .op-bottom-panel .op-controls .op-right-controls {
    display: none;
}

Also We are closing the issue due to a long period of inactivity.

from ovenplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.