Skip to content

Commit 094d7f1

Browse files
authored
Merge pull request #728 from unoplatform/dev/mara/tubeplayer-singleproject
chore: singleproject migration TubePlayer app
2 parents 269f182 + 1dc4571 commit 094d7f1

File tree

98 files changed

+1260
-1289
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1260
-1289
lines changed

reference/TubePlayer/Directory.Build.props

Lines changed: 0 additions & 76 deletions
This file was deleted.

reference/TubePlayer/Directory.Build.targets

Lines changed: 0 additions & 6 deletions
This file was deleted.

reference/TubePlayer/Directory.Packages.props

Lines changed: 0 additions & 48 deletions
This file was deleted.

reference/TubePlayer/README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# TubePlayer
2+
3+
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.
4+
5+
![TubePlayer app](assets/tubeplayer-android.gif)
6+
7+
Built with Uno Platform, TubePlayer uses [C# Markup](https://aka.platform.uno/csharp-markup) for the user interface and [MVUX](https://aka.platform.uno/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.
8+
9+
## Getting Started
10+
11+
1. **YouTube API Key**: Obtain your OpenAI API key by visiting [https://developers.google.com/youtube/v3/getting-started](https://developers.google.com/youtube/v3/getting-started).
12+
13+
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:
14+
15+
```json
16+
...
17+
"YoutubeEndpoint": {
18+
"Url": "https://youtube.googleapis.com/youtube/v3",
19+
"ApiKey": "your_development_api_key",
20+
"UseNativeHandler": true
21+
},
22+
...
23+
```
24+
25+
## Techniques and controls used in this sample
26+
27+
The TubePlayer app utilizes the latest Uno Platform features, including:
28+
29+
<!-- TODO: Use aka links -->
30+
31+
- [C# Markup](https://aka.platform.uno/csharp-markup)
32+
- [Extensions](https://platform.uno/docs/articles/external/uno.extensions/doc/ExtensionsOverview.html)
33+
- [MVUX](https://aka.platform.uno/mvux)
34+
- [Configuration](https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/Configuration/ConfigurationOverview.html)
35+
- [Http](https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/Http/HttpOverview.html)
36+
- [Figma plugin](https://aka.platform.uno/uno-figma)
37+
- [Color overrides](https://platform.uno/docs/articles/external/uno.themes/doc/material-getting-started.html#manual-color-overrides)
38+
- [DSP import](https://platform.uno/docs/articles/external/uno.themes/doc/material-dsp.html)
39+
- [Material design theme](https://platform.uno/docs/articles/external/uno.themes/doc/material-getting-started.html)
40+
- [Toolkit](https://platform.uno/docs/articles/external/uno.toolkit.ui/doc/getting-started.html)
41+
- [Resizetizer](https://platform.uno/docs/articles/external/uno.resizetizer/doc/using-uno-resizetizer.html)
42+
43+
## Workshop
44+
45+
For a deeper understanding, you can also explore the [TubePlayer Workshop](https://aka.platform.uno/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.

reference/TubePlayer/TubePlayer.Base/AppHead.xaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

reference/TubePlayer/TubePlayer.Base/AppHead.xaml.cs

Lines changed: 0 additions & 105 deletions
This file was deleted.

reference/TubePlayer/TubePlayer.Base/Icons/icon_foreground.svg

Lines changed: 0 additions & 15 deletions
This file was deleted.

reference/TubePlayer/TubePlayer.Base/Splash/splash_screen.svg

Lines changed: 0 additions & 16 deletions
This file was deleted.

reference/TubePlayer/TubePlayer.Base/TubePlayer.Base.csproj

Lines changed: 0 additions & 12 deletions
This file was deleted.

reference/TubePlayer/TubePlayer.Base/base.props

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)