Baseflow / XamarinMediaManager

Cross platform Xamarin plugin to play and control Audio and Video
https://baseflow.com
MIT License
762 stars 305 forks source link

Cannot implicitly convert type 'MediaManager.Forms.VideoView' to 'MediaManager.Video.IVideoView'. An explicit conversion exists (are you missing a cast?) #859

Closed andashologu closed 1 year ago

andashologu commented 2 years ago

I set autoattachmentvideoview false: CrossMediaManager.Current.MediaPlayer.AutoAttachVideoView = false;

so that I can set specific VideoView CrossMediaManager.Current.MediaPlayer.VideoView = playerView;

But I get the error (MediaManager.Video.IVideoView cannot be converted to VideoView):

Cannot implicitly convert type 'MediaManager.Forms.VideoView' to 'MediaManager.Video.IVideoView'. An explicit conversion exists (are you missing a cast?)