Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaexplorer74 committed May 24, 2024
1 parent 7e900bb commit 33cbc81
Show file tree
Hide file tree
Showing 64 changed files with 66 additions and 86 deletions.
Binary file added Images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Images/shot01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Images/shot02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Images/shot03.png
Binary file not shown.
Binary file removed Images/shot04.png
Binary file not shown.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# WinBetaYT v.1.0.3 alpha
# WinBetaYT v.1.0.5-alpha
![Logo](/Images/logo.png)

My fork of Dominic Maas' Winbeta_Video project for my own micro-RnD...
My fork of Dominic Maas' Winbeta_Video project for my own micro-RnD. :)

Main goal is to adapt this app to W10M (builds 14393+, or, maybe, even 10240...)

## Screenshots
![x64](/Images/shot01.png)
![x64](/Images/shot02.png)
![ARM](/Images/shot03.png)
![ARM](/Images/shot04.png)

![ARM](/Images/shot02.png)

## About
The original WinBeta_Video is a very simple Windows 10 app that displays and plays YouTube videos
Expand All @@ -26,11 +25,12 @@ I switched the project from mytoolkit to (on) LibVideo and VLCSharp video proces
## Tech moments
- UWP platform (targets: x86, x64, ARM)
- Win. SDK build: 19041
- Min. Win. SDK build: 15063
- Min. Win. SDK build: 14393
- You need to setup your own youtube apikey (see Constants.cs).


## To Do
* Create Settings page for "APIkey tuning".
* fix UI controls (Video quality, etc.)

## ..
Expand Down
30 changes: 4 additions & 26 deletions Src/LibVLCSharp/LibVLCSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Description>LibVLCSharp is a cross-platform audio and video API for .NET platform.</Description>
<TargetFrameworks>netstandard1.4</TargetFrameworks>
<TargetFrameworks Condition="!$([MSBuild]::IsOsPlatform('Linux'))">$(TargetFrameworks)</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);uap10.0.15063</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);uap10.0.14393</TargetFrameworks>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);IncludeAWindow</TargetsForTfmSpecificBuildOutput>
<RootNamespace>LibVLCSharp</RootNamespace>
<NeutralLanguage>en</NeutralLanguage>
Expand All @@ -23,45 +23,23 @@
<PackageReleaseNotes>https://code.videolan.org/videolan/LibVLCSharp/blob/master/NEWS</PackageReleaseNotes>
<PackageTags>libvlc;vlc;videolan;native;c/c++;video;audio;player;media;mediaplayer;codec;ffmpeg;xamarin;graphics;ios;android;linux;windows;macos;cross-platform</PackageTags>
</PropertyGroup>
<PropertyGroup Condition="$(UNITY_ANDROID)=='true'">
<TargetFramework>netstandard2.0</TargetFramework>
<DefineConstants>$(DefineConstants);UNITY_ANDROID</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(NETSTANDARD_ONLY)=='true'">
<TargetFrameworks>netstandard2.0;netstandard1.1</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Platforms\**\*.cs" />
<None Include="Platforms\**\*.cs" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('MonoAndroid'))">
<Compile Include="Platforms\Android\**\*.cs" />
<ProjectReference Include="..\LibVLCSharp.Android.AWindow\LibVLCSharp.Android.AWindow.csproj" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('Xamarin.iOS'))">
<Compile Include="Platforms\iOS\**\*.cs" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('Xamarin.Mac'))">
<Compile Include="Platforms\Mac\**\*.cs" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('Xamarin.TVOS'))">
<Compile Include="Platforms\tvOS\**\*.cs" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net40' ">
<!--ItemGroup Condition=" '$(TargetFramework)' == 'net40' ">
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="Microsoft.Bcl.Async" Version="1.0.168" />
</ItemGroup>
</ItemGroup-->
<ItemGroup Condition="$(TargetFramework.StartsWith('uap'))">
<Compile Include="Platforms\UWP\**\*.cs" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="SharpDX.Direct3D11" Version="4.2.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
<Target Name="IncludeAWindow" Condition="$(TargetFramework.StartsWith('MonoAndroid'))">
<ItemGroup>
<BuildOutputInPackage Include="$(OutputPath)LibVLCSharp.Android.AWindow.dll" />
</ItemGroup>
</Target>
</ItemGroup>
</Project>
Binary file added Src/WinBetaYT/Assets/LargeTile.scale-100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Src/WinBetaYT/Assets/LargeTile.scale-125.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Src/WinBetaYT/Assets/LargeTile.scale-150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Src/WinBetaYT/Assets/LargeTile.scale-200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Src/WinBetaYT/Assets/LargeTile.scale-400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Src/WinBetaYT/Assets/SmallTile.scale-100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Src/WinBetaYT/Assets/SmallTile.scale-125.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Src/WinBetaYT/Assets/SmallTile.scale-150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Src/WinBetaYT/Assets/SmallTile.scale-200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Src/WinBetaYT/Assets/SmallTile.scale-400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Src/WinBetaYT/Assets/SplashScreen.scale-100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Src/WinBetaYT/Assets/SplashScreen.scale-125.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Src/WinBetaYT/Assets/SplashScreen.scale-150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Src/WinBetaYT/Assets/SplashScreen.scale-200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Src/WinBetaYT/Assets/SplashScreen.scale-400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Src/WinBetaYT/Assets/Square150x150Logo.scale-200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Src/WinBetaYT/Assets/Square44x44Logo.scale-200.png
File renamed without changes
Binary file added Src/WinBetaYT/Assets/StoreLogo.scale-100.png
Binary file added Src/WinBetaYT/Assets/StoreLogo.scale-125.png
Binary file added Src/WinBetaYT/Assets/StoreLogo.scale-150.png
Binary file added Src/WinBetaYT/Assets/StoreLogo.scale-200.png
Binary file added Src/WinBetaYT/Assets/StoreLogo.scale-400.png
Binary file modified Src/WinBetaYT/Assets/Wide310x150Logo.scale-200.png
2 changes: 1 addition & 1 deletion Src/WinBetaYT/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ internal class Constants
{
internal static string GetApiKey()
{
return ""; // Youtube API key
return "AIzaSyBo0ZFHKVnSs2RGxm8ckRVuBtSh1PQvL94"; // Youtube API key
}
}
}
15 changes: 1 addition & 14 deletions Src/WinBetaYT/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,20 +108,7 @@ protected async override void OnNavigatedTo(NavigationEventArgs e)

}

// private async void OnPageLoaded(object sender, RoutedEventArgs e)
//{

// Initialize the YouTube Service
// youtubeService = new YouTubeService(new BaseClientService.Initializer() {
// ApiKey = Helper.GetApiKey(), // Hidden Away (API_KEY)
// ApplicationName = "WinBeta Videos"
// });

// await RunGetVideos();



// }


private async void refreshButton_Tapped(object sender, Windows.UI.Xaml.Input.TappedRoutedEventArgs e)
{
Expand Down
8 changes: 4 additions & 4 deletions Src/WinBetaYT/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
xmlns:iot="http://schemas.microsoft.com/appx/manifest/iot/windows10"
xmlns:uap4="http://schemas.microsoft.com/appx/manifest/uap/windows10/4"
IgnorableNamespaces="uap mp uap3 iot uap4">
<Identity Name="ME.WinBetaYTV1" Publisher="CN=Admin" Version="1.0.3.0" />
<Identity Name="ME.WinBetaYTV1" Publisher="CN=Admin" Version="1.0.5.0" />
<mp:PhoneIdentity PhoneProductId="a2554722-33fb-4fd4-86a5-f9284408d202" PhonePublisherId="22000000-3311-1100-0040-800006000202" />
<Properties>
<DisplayName>WinBetaYT</DisplayName>
<DisplayName>WinBetaYT v1.0.5</DisplayName>
<PublisherDisplayName>mediaexplorer</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
Expand All @@ -20,8 +20,8 @@ IgnorableNamespaces="uap mp uap3 iot uap4">

<Applications>
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="WinBeta_Videos.App">
<uap:VisualElements DisplayName="WinBeta Youtube" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png" Description="WinBeta Youtube channel app" BackgroundColor="transparent">
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png">
<uap:VisualElements DisplayName="WinBetaYT 1.0.5" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png" Description="WinBeta Youtube channel app" BackgroundColor="transparent">
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square71x71Logo="Assets\SmallTile.png" Square310x310Logo="Assets\LargeTile.png">
</uap:DefaultTile>
<uap:SplashScreen Image="Assets\SplashScreen.png" />
<uap:InitialRotationPreference>
Expand Down
53 changes: 49 additions & 4 deletions Src/WinBetaYT/WinBetaYT.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.15063.0</TargetPlatformMinVersion>
<TargetPlatformMinVersion>10.0.14393.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<EnableDotNetNativeCompatibleProfile>true</EnableDotNetNativeCompatibleProfile>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>WinBetaYT_TemporaryKey.pfx</PackageCertificateKeyFile>
<RuntimeIdentifiers>win10-arm;win10-arm-aot;win10-x86;win10-x86-aot;win10-x64;win10-x64-aot</RuntimeIdentifiers>
<!--PackageCertificateThumbprint>E0F458F289D432F7AE8FC13E748F5F4316545F1D</PackageCertificateThumbprint-->
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
Expand All @@ -28,6 +27,8 @@
<GenerateTestArtifacts>True</GenerateTestArtifacts>
<AppxBundle>Never</AppxBundle>
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
<PackageCertificateThumbprint>
</PackageCertificateThumbprint>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -125,13 +126,57 @@
</AppxManifest>
</ItemGroup>
<ItemGroup>
<Content Include="Assets\LargeTile.scale-100.png" />
<Content Include="Assets\LargeTile.scale-125.png" />
<Content Include="Assets\LargeTile.scale-150.png" />
<Content Include="Assets\LargeTile.scale-200.png" />
<Content Include="Assets\LargeTile.scale-400.png" />
<Content Include="Assets\SmallTile.scale-100.png" />
<Content Include="Assets\SmallTile.scale-125.png" />
<Content Include="Assets\SmallTile.scale-150.png" />
<Content Include="Assets\SmallTile.scale-200.png" />
<Content Include="Assets\SmallTile.scale-400.png" />
<Content Include="Assets\SplashScreen.scale-100.png" />
<Content Include="Assets\SplashScreen.scale-125.png" />
<Content Include="Assets\SplashScreen.scale-150.png" />
<Content Include="Assets\SplashScreen.scale-400.png" />
<Content Include="Assets\Square150x150Logo.scale-100.png" />
<Content Include="Assets\Square150x150Logo.scale-125.png" />
<Content Include="Assets\Square150x150Logo.scale-150.png" />
<Content Include="Assets\Square150x150Logo.scale-400.png" />
<Content Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-16.png" />
<Content Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-24.png" />
<Content Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-256.png" />
<Content Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-32.png" />
<Content Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-48.png" />
<Content Include="Assets\Square44x44Logo.altform-unplated_targetsize-16.png" />
<Content Include="Assets\Square44x44Logo.altform-unplated_targetsize-256.png" />
<Content Include="Assets\Square44x44Logo.altform-unplated_targetsize-32.png" />
<Content Include="Assets\Square44x44Logo.altform-unplated_targetsize-48.png" />
<Content Include="Assets\Square44x44Logo.scale-100.png" />
<Content Include="Assets\Square44x44Logo.scale-125.png" />
<Content Include="Assets\Square44x44Logo.scale-150.png" />
<Content Include="Assets\Square44x44Logo.scale-400.png" />
<Content Include="Assets\Square44x44Logo.targetsize-16.png" />
<Content Include="Assets\Square44x44Logo.targetsize-24.png" />
<Content Include="Assets\Square44x44Logo.targetsize-256.png" />
<Content Include="Assets\Square44x44Logo.targetsize-32.png" />
<Content Include="Assets\Square44x44Logo.targetsize-48.png" />
<Content Include="Assets\StoreLogo.scale-100.png" />
<Content Include="Assets\StoreLogo.scale-125.png" />
<Content Include="Assets\StoreLogo.scale-150.png" />
<Content Include="Assets\StoreLogo.scale-200.png" />
<Content Include="Assets\StoreLogo.scale-400.png" />
<Content Include="Assets\Wide310x150Logo.scale-100.png" />
<Content Include="Assets\Wide310x150Logo.scale-125.png" />
<Content Include="Assets\Wide310x150Logo.scale-150.png" />
<Content Include="Assets\Wide310x150Logo.scale-400.png" />
<Content Include="Properties\Default.rd.xml" />
<Content Include="Assets\LockScreenLogo.scale-200.png" />
<Content Include="Assets\SplashScreen.scale-200.png" />
<Content Include="Assets\Square150x150Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="Assets\StoreLogo.png" />
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -161,7 +206,7 @@
<Version>1.62.0.3169</Version>
</PackageReference>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<Version>6.0.8</Version>
<Version>6.2.14</Version>
</PackageReference>
<PackageReference Include="VideoLAN.LibVLC.UWP">
<Version>3.3.2</Version>
Expand Down
Binary file modified Src/WinBetaYT/WinBetaYT_TemporaryKey.pfx
Binary file not shown.
30 changes: 0 additions & 30 deletions Src/libvideo/libvideo.csproj
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Authors>Bar Arnon,OMANSAK</Authors>
<Copyright>Copyright 2018 Bar Arnon | 2022 OMANSAK</Copyright>
<Description>libvideo (aka VideoLibrary) is a modern .NET library for downloading YouTube videos. It is very lightweight. GitHub - https://github.com/omansak/libvideo</Description>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageIconUrl></PackageIconUrl>
<PackageId>VideoLibrary</PackageId>
<PackageLicenseUrl></PackageLicenseUrl>
<PackageProjectUrl>https://github.com/omansak/libvideo</PackageProjectUrl>
<PackageReleaseNotes>Removed JS Engine</PackageReleaseNotes>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/omansak/libvideo</RepositoryUrl>
<RootNamespace>VideoLibrary</RootNamespace>
<Version>3.2.3</Version>
<TargetFramework>netstandard1.4</TargetFramework>
<Title>libvideo</Title>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand All @@ -24,20 +10,4 @@
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

<!--ItemGroup>
<None Include="..\..\icons\icon_586.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="..\..\LICENSE">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="..\..\README.md">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup-->

</Project>

0 comments on commit 33cbc81

Please sign in to comment.