Skip to content

Player setHeight sends frameResize postMessage in LTI contexts#1729

Open
clpetersonucf wants to merge 1 commit into
ucfopen:dev/11.1.0from
clpetersonucf:issue/1676-player-resizing-via-lti-postmessage
Open

Player setHeight sends frameResize postMessage in LTI contexts#1729
clpetersonucf wants to merge 1 commit into
ucfopen:dev/11.1.0from
clpetersonucf:issue/1676-player-resizing-via-lti-postmessage

Conversation

@clpetersonucf
Copy link
Copy Markdown
Member

The _setHeight method in the player frame now checks for LTI context (via the ?token= URL param) and sends a lti.frameResize postMessage to window.parent to request iframe resizing. This is in accordance with Canvas's postMessage API

@clpetersonucf clpetersonucf added Awaiting Review Requires a reviewer to test and review code Feature This pull request includes a new feature. labels May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Awaiting Review Requires a reviewer to test and review code Feature This pull request includes a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant