Uno Platform 4.9 Highlights Cross-Platform Media Player, WebView2
A cross-platform media player highlights the new Uno Platform 4.9, the latest edition of the cross-platform application framework that lets developers write an application once in XAML and C# and deploy it to any target platform.
The open source Uno Platform is a dev tooling partner of Microsoft, claiming the only offering that enables development of single-codebase applications for Windows, WebAssembly, iOS, macOS, Android and Linux, targeting all OSes and browsers. It has also teamed up with Redmond on various projects and has sometimes implemented new tech before Microsoft itself.
The new release sports two major features, one of which is a broader reach for the MediaPlayerElement control, which can now be used for all supported platforms, having previously been available only for iOS, Android and Mac Catalyst apps. With Uno Platform 4.9, the company pointed it to web and Linux targets, with the latter using libVLC under the hood to render media.
"As of today, you can easily create single-codebase solutions for cross-platform applications and reuse the rich and robust Media Player Element from Windows UI," the company said in a June 5 announcement. "It's another example of how the existing component ecosystem can be brought forward and significantly improve your developer velocity."
More about the MediaPlayerElement can be found in the control's documentation.
The second major feature of v4.9 as identified by Uno Platform is WebView2 for cross-platform applications, with the team adding support for Android, iOS and Mac Catalyst.
The company also announced native host support for Skia, an open source 2D graphics library that provides common APIs that work across a variety of hardware and software platforms. Uno Platform said leveraging native controls on Skia targets may be useful in some scenarios, providing deeper integration with the platform.
Other items of note in the new release include:
- Indexer and MVVM toolkit support for x:Bind expressions
- UIElement.ActualOffset support
- ms-appdata support for SvgImageSource, to load app packaged SVGs
- Many performance improvements for WebAssembly using JSImport/JSExport
- Many performance and memory improvements in the XAML Generator
- Performance improvements in TextBlock rendering for Skia heads
- DEPRECATING Uno Platform Solution Templates for Visual Studio 2019
David Ramel is an editor and writer for Converge360.