Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
LibVLCSharp
LibVLCSharp
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 81
    • Issues 81
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLAN
  • LibVLCSharpLibVLCSharp
  • Issues
  • #38

Closed
Open
Opened Oct 24, 2018 by Benedikt@Neuxz

LibVLCSharp.Forms.Platforms.WPF won't load or draw VideoView.

I try to recreate the Xamarin.Forms libvlcsharp Sample for myself.

On Android an iOS it works perfectly fine, but when i try to use the Xamarin.Forms WPF Implementation it won't load the VideoView. It goes trough the constructor but it seem's to hang or crash around there, because the OnAppearing seems not to be called.

As soon as i remove the VideoView from the ContentPage and replace it with an Label or something like that it works.

In this case it works:

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
         xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
         xmlns:local="clr-namespace:AwsomeSample"
         xmlns:shared="clr-namespace:LibVLCSharp.Forms.Shared;assembly=LibVLCSharp.Forms"
         x:Class="AwsomeSample.MainPage">
         <!--<shared:VideoView x:Name="videoView" HorizontalOptions="Center" VerticalOptions="Center"/>-->
         <Label Text="Bool11"/>
</ContentPage>

enter image description here

And here not:

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
         xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
         xmlns:local="clr-namespace:AwsomeSample"
         xmlns:shared="clr-namespace:LibVLCSharp.Forms.Shared;assembly=LibVLCSharp.Forms"
         x:Class="AwsomeSample.MainPage">
         <shared:VideoView x:Name="videoView" HorizontalOptions="Center" VerticalOptions="Center"/>
         <!--<Label Text="Bool11"/>-->
</ContentPage>

enter image description here

P.S. The problem occurs with the NuGet package.

Hope my english isn't that bad. ^^

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: videolan/LibVLCSharp#38