CommunityToolkit / CommunityToolkit/Maui

[Proposal] Add ThumbnailImageSource and OnBuffering Properties

Open
#1,749 2 comments 0 reactions 0 assignees View on GitHub
blocked new proposal
Dominant language
C#
Stars
2.7k
Forks
500
Avg merge
2d 14h
Merged PRs (30d)
7

Description

### Feature name

Add ThumbnailImageSource and OnBuffering Properties

### Link to discussion

https://github.com/CommunityToolkit/Maui/issues/1749

### Progress tracker

- [X] Android Implementation
- [X] iOS Implementation
- [X] MacCatalyst Implementation
- [X] Windows Implementation
- [ ] Tizen Implementation
- [ ] Unit Tests
- [x] Samples
- [ ] Documentation

### Summary

This proposal if for adding two properties:

1. "ThumbnailImageSource" This property can be use to show thumbnail image when video is not loaded.
2. "OnBuffering" This Property will be an event which will trigger when the video is buffering. Using this we can show/hide activity indicator when this event triggers.

### Motivation

This can improve the user experience and enhance the video rendering

### Detailed Design

public class MediaElement
{

public static readonly BindableProperty ThumbnailImageSourceProperty;
public static readonly BindableProperty OnBufferingProperty;

public ImageSource ThumbnailImage
{
get ;
set ;
}

public EventHandler OnBuffering
{
get ;
set ;
}
}

### Usage Syntax

```markdown

```

### Drawbacks

_No response_

### Alternatives

_No response_

### Unresolved Questions

_No response_
```[tasklist]
### Tasks
```

Contributor guide

Open the contributing guide

Research direction

Start with the MediaElement API described in the proposal and review the existing Android, iOS, MacCatalyst, and Windows implementations, then compare the remaining Tizen work. Done means the missing platform support, unit tests, and documentation are completed while preserving the listed samples and intended thumbnail and buffering behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop-dev, mobile-dev
Issue type
Feature
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.