未验证 提交 66203fbe 编写于 作者: J Jérôme Laban 提交者: GitHub

Merge pull request #12625 from mtmattei/patch-7

Update MediaPlayerElement.md
...@@ -9,17 +9,17 @@ See [MediaPlayerElement](https://docs.microsoft.com/en-us/uwp/api/windows.ui.xam ...@@ -9,17 +9,17 @@ See [MediaPlayerElement](https://docs.microsoft.com/en-us/uwp/api/windows.ui.xam
## Media formats ## Media formats
| Supported Formats | iOS | Android | Wasm | Skia GTK | Remarks | | Supported Formats | iOS | Android | Wasm | Skia GTK | Remarks |
|-------------------------------------------------------|-----------|-----------|-----------|-----------|-----------------------------------| |-------------------------------------------------------|:-----------:|:-----------:|:-----------:|:-----------:|-----------------------------------|
| Local/Remote MP3 Support | X | X | X | X | | | Local/Remote MP3 Support | ✅ | ✅ | ✅ | ✅ | |
| Local/Remote MPEG4 Support | X | X | X | X | | | Local/Remote MPEG4 Support | ✅ | ✅ | ✅ | ✅ | |
| HLSv3 Support | X | X | X | X | | | HLSv3 Support | ✅ | ✅ | ✅ | ✅ | |
| HLSv4 Support | X | X | X | X | | | HLSv4 Support | ✅ | ✅ | ✅ | ✅ | |
| 3GP Support | X | X | X | X | 3GP with AMR Narrow Band (SAMR) audio codec does not work on iOS (See notes) | | 3GP Support | ✅ | ✅ | ✅ | ✅ | 3GP with AMR Narrow Band (SAMR) audio codec does not work on iOS (See notes) |
| FLV Support | - | X | X | X | | | FLV Support | - | ✅ | ✅ | ✅ | |
| MOV Support | X | - | - | - | | | MOV Support | | - | - | - | |
| MKV Support | - | X | X | X | | | MKV Support | - | ✅ | ✅ | ✅ | |
| AVI Support | - | X | X | X | | | AVI Support | - | ✅ | ✅ | ✅ | |
| OGG Support | - | - | X | X | | | OGG Support | - | - | ✅ | ✅ | |
| MPEG-Dash Support | - | - | - | - | | | MPEG-Dash Support | - | - | - | - | |
| Smooth Streaming Support | - | - | - | - | | | Smooth Streaming Support | - | - | - | - | |
...@@ -31,31 +31,31 @@ See [MediaPlayerElement](https://docs.microsoft.com/en-us/uwp/api/windows.ui.xam ...@@ -31,31 +31,31 @@ See [MediaPlayerElement](https://docs.microsoft.com/en-us/uwp/api/windows.ui.xam
## Features ## Features
| Section | Feature | iOS | Android | Wasm | Skia GTK | Remarks | | Section | Feature | iOS | Android | Wasm | Skia GTK | Remarks |
|-----------------------|-------------------------------------------------------|-----------|-----------|-----------|-----------|-----------------------------------------------| |-----------------------|-------------------------------------------------------|:-----------:|:-----------:|:-----------:|:-----------:|-----------------------------------------------|
| MediaPlayerElement | AutoPlay | X | X | X | X | | | MediaPlayerElement | AutoPlay | ✅ | ✅ | ✅ | ✅ | |
| | Poster image | X | X | X | X | Does not show when playing music | | | Poster image | ✅ | ✅ | ✅ | ✅ | Does not show when playing music |
| | Enable/Disable MediaTransportControls | X | X | X | X | | | | Enable/Disable MediaTransportControls | ✅ | ✅ | ✅ | ✅ | |
| | Stretch | X | X | X | X | Stretch.None behave like Stretch.Fill on iOS | | | Stretch | ✅ | ✅ | ✅ | ✅ | Stretch.None behave like Stretch.Fill on iOS |
| | Pause media when headphones unplugged | X | X | - | - | | | | Pause media when headphones unplugged | ✅ | ✅ | - | - | |
| TransportControls | Transport controls custom style | X | X | X | X | | | TransportControls | Transport controls custom style | ✅ | ✅ | ✅ | ✅ | |
| | Play/Pause | X | X | X | X | | | | Play/Pause | ✅ | ✅ | ✅ | ✅ | |
| | Stop | X | X | X | X | | | | Stop | ✅ | ✅ | ✅ | ✅ | |
| | Seek | X | X | X | X | | | | Seek | ✅ | ✅ | ✅ | ✅ | |
| | Volume change | X | X | X | X | | | | Volume change | ✅ | ✅ | ✅ | ✅ | |
| | Mute | X | X | X | X | | | | Mute | ✅ | ✅ | ✅ | ✅ | |
| | Show elapsed time | X | X | X | X | | | | Show elapsed time | ✅ | ✅ | ✅ | ✅ | |
| | Show remaining time | X | X | X | X | | | | Show remaining time | ✅ | ✅ | ✅ | ✅ | |
| | Show/Hide MediaTransportControls automatically | X | X | X | X | | | | Show/Hide MediaTransportControls automatically | ✅ | ✅ | ✅ | ✅ | |
| | MediaTransportControls compact mode | X | X | X | X | | | | MediaTransportControls compact mode | ✅ | ✅ | ✅ | ✅ | |
| | Show/Hide MediaTransportControls commands | X | X | X | X | | | | Show/Hide MediaTransportControls commands | ✅ | ✅ | ✅ | ✅ | |
| | Enable/Disable MediaTransportControls commands | X | X | X | X | | | | Enable/Disable MediaTransportControls commands | ✅ | ✅ | ✅ | ✅ | |
| | Skip forward | X | X | X | X | | | | Skip forward | ✅ | ✅ | ✅ | ✅ | |
| | Skip backward | X | X | X | X | | | | Skip backward | ✅ | ✅ | ✅ | ✅ | |
| | Show buffering progress | X | X | X | X | | | | Show buffering progress | ✅ | ✅ | ✅ | ✅ | |
| | Zoom mode | X | X | X | X | | | | Zoom mode | ✅ | ✅ | ✅ | ✅ | |
| | Full-screen mode | X | X | X | X | | | | Full-screen mode | ✅ | ✅ | ✅ | ✅ | |
| | Playlists support | X | X | - | - | | | | Playlists support | ✅ | ✅ | - | - | |
| | Change playback rate | - | - | X | X | | | | Change playback rate | - | - | ✅ | ✅ | |
| | Player controls on locked screen support | - | - | - | - | | | | Player controls on locked screen support | - | - | - | - | |
| | Subtitles support | - | - | - | - | | | | Subtitles support | - | - | - | - | |
| | Languages support | - | - | - | - | | | | Languages support | - | - | - | - | |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册