![]() I suggest you download the xlabs project and start experimenting with that before you do much more as it will help you get a better understanding. you can control rate on iOS, not sure about android.Īt the end of the day, forms will be the big bricks for your ui and layout but the tiny moving parts will be made natively. but you can start looking at these:Īs for slowing videos down. You need to write a video player renderer for each platform I used open source one to get started but I can't find it now. #Xamarin studio youtube moviebut it should help you get a better understanding of what can be done.Īs for your problem at hand - you will need a custom movie player component It's a big read (6 part article, parts 1 and 2 are out now). #Xamarin studio youtube how toYou might want to follow my series of blog articles, which will tell you how to achieve this stuff : You just need to understand how to abstract things into renderers, and have enough experience of the platforms to write what you want. ![]() Can your solution be adapted to this? Is there a reason, why you didn't use the Youtube API to play your video? I am using Xamarin Forms at the moment and am familiar with this kind of View concept. Our xamarin tutorial includes all the topics these are introduction of xamarin, installation. ![]() Xamarin forms allow us to create native control on ios, Android, and Windows. Xamarin Forms is a framework which allows the developers to create the cross-platform user interface rapidly. Public VideoPlayerView (Context context, IAttributeSet attrs, int defStyle) : Xamarin Tutorial provides basic and advanced concepts of xamarin. } public VideoPlayerView (Context context, IAttributeSet attrs) : Public VideoPlayerView (Context context) : I also thought that I am the view, aren't I?: I created a Android View with Xamarin Studio and tried to past your view code in it. Considering the Linux background of the Xamarin team, MonoDevelop running on Linux (XStudio is a fork, after all) I believe it'd be a no brainer for Xamarin to do the work necessary to get Xamarin Studio working on Linux. I did understand your first part with the dependency bit, but you lost me with the View. I'm quite new to Mobile Development, but would like to play a youtube video in my Forms app. MediaController mc = new MediaController(this) Var videoView = FindViewById(Resource.Id.videoView1) Public class WorkoutVideoView : MXActivityView View in Android Project to finally play the video(I'm using Motocross in this project so more than likely you will have a normal ActivityView instead of my MXActivityView) namespace Var intent = new Intent (,typeof(WorkoutVideoView)) Public class WorkoutVideo_Android :, IWorkoutVideo Forms Content Page btnVideo.Clicked += (sender, args) => ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |