microsoft / microsoft/AdaptiveCards

Widget MediaPlayer view cut off & Adaptive Card Media poster not working

Open
#9,341 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
2k
Forks
595
Avg merge
1d 19h
Merged PRs (30d)
1

Description

Describe the bug

Environment
OS: Windows 11
Build: 25H2 (26220.7535)
Widgets Platform: Windows Widgets (Adaptive Cards 1.6)
Card Version: Adaptive Cards v1.6

The MediaPlayer view inside the widget appears cut off on the right side. The media player controls lose their rounded corners, and the layout looks clipped instead of properly contained.

Additionally, the Media post in the widget does not work at all — the video content does not behave/render correctly even when valid URLs are supplied.

Expected behavior
Media player should respect rounded corners on all sides.
The Media element should render correctly inside the widget.

Actual behavior
Right side of the MediaPlayer appears clipped.
Rounded corners are missing on the player controls.

Media content does not function as expected inside the widget.

Steps to reproduce the bug

Code i use for poster:
{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.6", "fallbackText": "Play", "body": [ { "type": "Container", "items": [ { "type": "Media", "poster": "${ThumbnailUrl}", "sources": [ { "mimeType": "video/mp4", "url": "${VideoUrl}" } ] } ] } ] }

I try base64 or just URL for variable ThumbnailUrl.

Expected behavior

No response

Screenshots
Image
NuGet package version

None

Packaging type

No response

Windows version

No response

IDE

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by reproducing the supplied Adaptive Card in Windows Widgets on Windows 11 with Adaptive Cards 1.6, testing both the MediaPlayer clipping and poster/video behavior. Trace the Media element rendering path; done means the player is fully contained with rounded corners and valid poster and video URLs render correctly.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.