CommunityToolkit / CommunityToolkit/Maui
[BUG] MediaElement background doesn't change on iOS
- Dominant language
- C#
- Stars
- 2.7k
- Forks
- 500
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 7
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Did you read the "Reporting a bug" section on Contributing file?
- [X] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug
### Current Behavior
I'm setting the BackgroundColor property in the MediaElement but it looks like the color doesn't change on iOS (looks OK on Android).
```xaml
```
### Expected Behavior
When setting the BackgroundColor property in the MediaElement, the color should be updated on iOS.
### Steps To Reproduce
1. Clone the project https://github.com/juniorsaraviao/VideoSample/tree/master.
2. Run the project on Android and iOS.
### Link to public reproduction project repository
https://github.com/juniorsaraviao/VideoSample/tree/master
### Environment
```markdown
- .NET MAUI CommunityToolkit: 3.0.1
- OS: macOS Sonoma 14.1.1
- .NET MAUI: 8.0.3
```
### Anything else?
_No response_
Contributor guide
Research direction
Start with the VideoSample reproduction project and run its MediaElement example on Android and iOS using the versions listed in the issue. Compare the BackgroundColor behavior on both platforms; done means the configured color is visibly applied on iOS as it is on Android.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp, ios
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100