Skip to content

Refactor presentation files#234

Open
samuelwei wants to merge 8 commits into
masterfrom
refactor-presentation-files
Open

Refactor presentation files#234
samuelwei wants to merge 8 commits into
masterfrom
refactor-presentation-files

Conversation

@samuelwei

@samuelwei samuelwei commented Feb 18, 2026

Copy link
Copy Markdown
  • Add support for downloadable, removable and current attribute for pre-uploaded slides in create api call
  • Add support for embedded slides in insert document api call

Based on #228, extended to to more complete PR and change

Official docs: bigbluebutton/bigbluebutton#24657 updated

@samuelwei
samuelwei force-pushed the refactor-presentation-files branch from d2f0671 to 807a026 Compare July 14, 2026 16:27
@samuelwei

Copy link
Copy Markdown
Author

@FelixJacobi What do you think about this approach? (Using a dedicated class and deprecating the many parameters)


use BigBlueButton\Util\SimpleXMLElementExtended;

class InlinePresentation extends Presentation

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class InlinePresentation extends Presentation
final class InlinePresentation extends Presentation


use BigBlueButton\Util\SimpleXMLElementExtended;

class UrlPresentation extends Presentation

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class UrlPresentation extends Presentation
final class UrlPresentation extends Presentation

* @method string getClientSettingsOverride()
* @method $this setClientSettingsOverride(string $clientSettingsOverride)
*/
class CreateMeetingParameters extends MetaParameters

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signature changes to existing methods of this Class are a breaking change since this class isn't final. We should mark it @final for next major release.

/**
* @return $this
*/
public function addPresentation(string|Presentation $nameOrUrlOrPresentation, ?string $content = null, ?string $filename = null): self

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly: Breaking change :/ . I need to think about a solution. Maybe we must move this to a new major version or add a new method.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need a major version for #243, as the parameter and return type changed

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