Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • LibVLCSharp LibVLCSharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 77
    • Issues 77
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLAN
  • LibVLCSharpLibVLCSharp
  • Issues
  • #227

Closed
Open
Created Oct 01, 2019 by Matteo Sausto@mmss1995

UWP don't render the Video in VideoView

Summary

I implements the Xamarin.Forms videolan application for Android, iOS and UWP. So, the UWP don't render the video, Android work fine (iOS not tested).

Minimal project and steps to reproduce

I follow the steps for the Xamarin.Forms.

 Core.Initialize()

in app.cs. Declare

 <LibVLCSharp.Forms.Shared:VideoView x:Name="VideoView" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"/>

in MainPage.xaml and in MainPage.xaml.cs

 readonly LibVLC _libvlc;
 public MainPage()
  {
  	InitializeComponent();

  	_libvlc = new LibVLC();
  }
  protected override void OnAppearing()
  {
  	base.OnAppearing();

  	VideoView.MediaPlayer = new MediaPlayer(_libvlc);
  	VideoView.MediaPlayer.Play(new Media(_libvlc, VIDEO_URL, FromType.FromLocation));
  }

On Android, like i mention up, working fine. UWP show the element but no the video.

What is the current bug behavior?

Nothing.

What is the expected correct behavior?

Play the video.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

VideoLAN code repository instance