Skip to content

Add 4 new API methods#1248

Merged
peaBerberian merged 8 commits intonextfrom
feat/new-api-methods
Jun 13, 2023
Merged

Add 4 new API methods#1248
peaBerberian merged 8 commits intonextfrom
feat/new-api-methods

Conversation

@AxMannessiez
Copy link
Collaborator

  • isContentLoaded(): Returns true if a content is loaded.
  • isRebuffering(): Returns true if the player is rebuffering.
  • isPaused(): Returns true if the content is not currently playing.
  • getLastStoredContentPosition(): Get the last stored content position, in seconds.

- isContentLoaded()
- isRebuffering()
- isPaused()
- getLastStoredContentPosition()
@peaBerberian
Copy link
Collaborator

Nice, we now only need to add its documentation in doc/api and doc/reference (I may also do it when I have the time) and maybe to add some simple tests in tests/integration as most should be pretty straightforward to test.

@peaBerberian peaBerberian modified the milestones: 3.30.1, 3.31.0 May 16, 2023
@AxMannessiez AxMannessiez force-pushed the feat/new-api-methods branch from 22768f5 to c918456 Compare June 13, 2023 15:12
@peaBerberian peaBerberian changed the base branch from master to next June 13, 2023 16:14
@peaBerberian peaBerberian merged commit 24d0a1d into next Jun 13, 2023
@peaBerberian peaBerberian mentioned this pull request Jun 13, 2023
@peaBerberian peaBerberian deleted the feat/new-api-methods branch July 6, 2023 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants