TubePlayer

TubePlayer is a simple application that allows you to search for and watch YouTube videos. It consists of a search page where you can input your query and see matching results from YouTube, and a player page with a media player to stream the selected video.

TubePlayer app

Built with Uno Platform, TubePlayer uses C# Markup for the user interface and MVUX for state management. This app serves as a demonstration of how to connect with external services using Configuration and Http in Uno Platform applications.

Getting Started

  1. YouTube API Key: Obtain your OpenAI API key by visiting https://developers.google.com/youtube/v3/getting-started.

  2. Update Configuration: Under the project, open the file appsettings.development.json (cascaded under appsettings.json in Visual Studio Solution Explorer) and replace the "your_development_api_key" placeholder with your API Key:

...
"YoutubeEndpoint": {
    "Url": "https://youtube.googleapis.com/youtube/v3",
    "ApiKey": "your_development_api_key",
    "UseNativeHandler": true
    },
...

Techniques and controls used in this sample

The TubePlayer app utilizes the latest Uno Platform features, including:

Workshop

For a deeper understanding, you can also explore the TubePlayer Workshop, where you'll be guided through the entire app creation process. Each module is accompanied by detailed explanations to ensure a comprehensive learning experience.