8cc1dbda4f
This PR adds react-native-windows support to react-native-video. The Video component is implemented with a XAML MediaPlayerElement. Most of the features implemented by Android (and some additional ones) are implemented by Windows. Known issues and missing features include: * onReadyForDisplay event * local URI convention (e.g., "broadchurch" in examples changed to require("./broadchurch.mp4") * `playableDuration` in `onVideoProgress` event is always 0.0 * `playInBackground` is not yet supported * Volume settings are applied, but the UWP control does not handle it properly
49 lines
1.5 KiB
XML
49 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Package
|
|
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
|
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
|
|
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
|
IgnorableNamespaces="uap mp">
|
|
|
|
<Identity
|
|
Name="176c1514-b49e-4277-ad47-c17d9b8f034b"
|
|
Publisher="CN=publisher"
|
|
Version="1.0.0.0" />
|
|
|
|
<mp:PhoneIdentity PhoneProductId="176c1514-b49e-4277-ad47-c17d9b8f034b" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
|
|
|
<Properties>
|
|
<DisplayName>VideoPlayer</DisplayName>
|
|
<PublisherDisplayName>React Native for UWP</PublisherDisplayName>
|
|
<Logo>Assets\StoreLogo.png</Logo>
|
|
</Properties>
|
|
|
|
<Dependencies>
|
|
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
|
|
</Dependencies>
|
|
|
|
<Resources>
|
|
<Resource Language="x-generate"/>
|
|
</Resources>
|
|
|
|
<Applications>
|
|
<Application Id="App"
|
|
Executable="$targetnametoken$.exe"
|
|
EntryPoint="VideoPlayer.App">
|
|
<uap:VisualElements
|
|
DisplayName="VideoPlayer"
|
|
Square150x150Logo="Assets\Square150x150Logo.png"
|
|
Square44x44Logo="Assets\Square44x44Logo.png"
|
|
Description="VideoPlayer"
|
|
BackgroundColor="transparent">
|
|
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png"/>
|
|
<uap:SplashScreen Image="Assets\SplashScreen.png" />
|
|
</uap:VisualElements>
|
|
</Application>
|
|
</Applications>
|
|
|
|
<Capabilities>
|
|
<Capability Name="internetClient" />
|
|
</Capabilities>
|
|
</Package> |