diff --git a/Directory.build.props b/Directory.build.props
index acb8e24c..c912bb11 100644
--- a/Directory.build.props
+++ b/Directory.build.props
@@ -14,7 +14,7 @@
git
$(AssemblyName) ($(TargetFramework))
en
- 1.0.0
+ 0.5.0
latest
$(NoWarn);1591;1701;1702;1705;VSX1000
diff --git a/MediaManager.Forms/MediaManager.Forms.csproj b/MediaManager.Forms/MediaManager.Forms.csproj
index e3103b82..52ba6109 100644
--- a/MediaManager.Forms/MediaManager.Forms.csproj
+++ b/MediaManager.Forms/MediaManager.Forms.csproj
@@ -14,12 +14,13 @@
MediaManager.Forms
MediaManager.Forms
- MediaManager.Forms
+ Plugin.MediaManager.Forms
+ Cross platform Xamarin plugin to play and control Audio and Video
true
-
+
diff --git a/MediaManager.Forms/Platforms/Ios/VideoViewRenderer.cs b/MediaManager.Forms/Platforms/Ios/VideoViewRenderer.cs
new file mode 100644
index 00000000..fb4bad58
--- /dev/null
+++ b/MediaManager.Forms/Platforms/Ios/VideoViewRenderer.cs
@@ -0,0 +1,34 @@
+using System;
+using Foundation;
+using MediaManager;
+using MediaManager.Forms;
+using MediaManager.Forms.Platforms.iOS;
+using MediaManager.Platforms.Ios.Video;
+using Xamarin.Forms;
+using Xamarin.Forms.Platform.iOS;
+
+[assembly: ExportRenderer(typeof(VideoView), typeof(VideoViewRenderer))]
+namespace MediaManager.Forms.Platforms.iOS
+{
+ [Preserve(AllMembers = true)]
+ public class VideoViewRenderer : ViewRenderer
+ {
+ private MediaManager.Platforms.Ios.Video.VideoSurface _videoSurface;
+
+ public static void Init()
+ {
+ var temp = DateTime.Now;
+ }
+
+ protected override void OnElementChanged(ElementChangedEventArgs e)
+ {
+ base.OnElementChanged(e);
+ if (Control == null)
+ {
+ _videoSurface = new VideoSurface(Control);
+ SetNativeControl(_videoSurface);
+ CrossMediaManager.Current.MediaPlayer.SetPlayerView(_videoSurface);
+ }
+ }
+ }
+}
diff --git a/MediaManager/MediaManager.csproj b/MediaManager/MediaManager.csproj
index f7a16a7f..1de1709e 100644
--- a/MediaManager/MediaManager.csproj
+++ b/MediaManager/MediaManager.csproj
@@ -14,7 +14,8 @@
MediaManager
MediaManager
- MediaManager
+ Plugin.MediaManager
+ Cross platform Xamarin plugin to play and control Audio and Video
true