media-player-sdk-x-uno

Integrate VisioForge Media Player SDK X into Uno Platform apps for cross-platform video playback.

Updated May 29, 2025
One-click install
npx skills add https://github.com/visioforge/help --skill media-player-sdk-x-uno
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: media-player-sdk-x-uno
Source: https://github.com/visioforge/help/tree/main/dotnet/agent-skills/media-player-sdk-x-uno
Command: npx skills add https://github.com/visioforge/help --skill media-player-sdk-x-uno

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill solves the complexity of integrating VisioForge Media Player SDK X into an Uno Platform app across multiple target OSes while avoiding the most common runtime and build-time failures.

Core Features & Use Cases

  • Uno-specific integration: Wire up the Uno VideoView control using MediaPlayerCoreX for a shared playback API across Windows, Android, iOS, and Mac Catalyst.
  • Correct multi-target packaging: Apply the required per-OS native redist NuGet packages and the Uno MSBuild SDK setup so the app builds and initializes successfully on each target.
  • Operational onboarding for playback: Cover SDK boot (InitSDKAsync), licensing registration, supported stream types (HTTP(S), HLS, DASH, RTSP), and platform pitfalls like cleartext HTTP, iOS ATS rules, missing native libs, and WebAssembly incompatibility.

Use case: You want one Uno codebase that plays local files and network streams with minimal platform-specific code, using the same C# playback logic while ensuring the correct native runtime and initialization steps occur on every OS.

Quick Start

Ask the skill to guide you through setting up your Uno csproj, initializing VisioForgeX.InitSDKAsync(), and playing an HTTPS video URL in your Uno MainPage using MediaPlayerCoreX and VisioForge.Core.UI.Uno.VideoView.

Frequently Asked Questions about media-player-sdk-x-uno

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I play HLS and RTSP video streams in an Uno Platform app?

To play HLS and RTSP video streams in an Uno Platform app, integrate a cross-platform media player SDK using `MediaPlayerCoreX` with the `VideoView` control, enabling network video playback across Windows, Android, iOS, and Mac Catalyst with a single C# codebase.

What is the correct way to initialize a cross-platform video player in Uno Platform?

The correct way to initialize a cross-platform video player in Uno Platform is calling the SDK initialization method once per process before constructing the media player core, ensuring the native runtime boots correctly on all target operating systems.

Does Uno Platform video streaming support WebAssembly targets?

Uno Platform video streaming does not support WebAssembly targets. The media player SDK integration is limited to Windows, Android, iOS, and Mac Catalyst, explicitly avoiding unsupported browserwasm targets for video playback.

Why does video playback fail on iOS and Android when using HTTP streams in Uno Platform?

Video playback fails on iOS and Android when using HTTP streams in Uno Platform due to cleartext traffic restrictions and iOS App Transport Security (ATS) rules. You must configure platform-specific network policies to allow non-HTTPS video streaming.

How to fix missing native library errors when building Uno Platform video player projects?

To fix missing native library errors when building Uno Platform video player projects, pin the required per-OS native redist NuGet packages and apply the Uno MSBuild SDK setup so the app correctly bundles native runtime libraries for each target OS.

Can I use a single C# codebase for local file and network video playback across Windows, Android, and iOS?

You can use a single C# codebase for local file and network video playback across Windows, Android, and iOS by wiring the Uno `VideoView` control to a shared media player API, minimizing platform-specific code while ensuring correct native runtime packaging.