Skip to content

Media Viewer Updates#1179

Open
kevinherdez wants to merge 2 commits into
NWACus:mainfrom
kevinherdez:kevinherdez/mediaViewerUpdates
Open

Media Viewer Updates#1179
kevinherdez wants to merge 2 commits into
NWACus:mainfrom
kevinherdez:kevinherdez/mediaViewerUpdates

Conversation

@kevinherdez
Copy link
Copy Markdown
Collaborator

The first commit is the fix for the MediaPreview error state. It just needed to be wrapped in a view that was the same height and width of the thumbnail to render correctly
Simulator Screenshot - iPhone 17 Pro - 2026-04-28 at 14 53 37

PDF Viewing

The second commit introduces viewing PDFs in the app. This experience works in the same way that the WebVideoView does which is presenting the PDF inside of a WebView since both WebViews on iOS and Android support PDF viewing.

Important Changes

A lot of the code for WebVideoView was broken out into WebMediaView that now both WebVideoView and the new PDFView utilize. The WebView code was also cleaned up to better handle centering the view

A new PDFThumbnail view was added. This mimics the web experience in that we don't show the preview of the PDF itself. Instead we just show that we have a document in the list and show an icon.

PDF Thumbnail List PDF in the media viewer
Simulator Screenshot - iPhone 17 Pro - 2026-04-28 at 16 10 57 Simulator Screenshot - iPhone 17 Pro - 2026-04-29 at 12 06 15

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.

1 participant