plugin.media manager doesnt play audio and video

shaghayeghshaghayegh USMember ✭✭
edited July 2018 in Xamarin.Forms

hi

<forms:VideoView WidthRequest="360" HeightRequest="202" />

CrossMediaManager.Current.Play(videourl, MediaFileType.Video);

VideoViewRenderer.Init();

i use this code but when i run my project it doent work.

Answers

  • robbitrobbit CNMember Xamurai
    edited August 2018

    Please show your error logs. The detail error logs will help us to find where is going wrong.

  • shaghayeghshaghayegh USMember ✭✭

    there is no error.
    At the top of the mobile page. The sound player icon comes up but nothing is broadcast.
    But when I press the stop button, the top icon is cut off

  • shaghayeghshaghayegh USMember ✭✭

    I found the solution

Sign In or Register to comment.