a great nuget package is called "Rox.Xamarin.Video" which is so far is for free and i hope it stays so :P with it you can save yourself a lot of time and effort.
The only problem with it, is that you cannot place the video player inside a stacklayout, but instead you have to contain it within a grid or to the page content directly.
It is a Xamarin Forms control that works across iOS, Android, Windows Phone, UWP. You can respond to video events and control the player all from shared code.
@ahmadmadi said:
a great nuget package is called "Rox.Xamarin.Video" which is so far is for free and i hope it stays so :P
We have no intention of charging for the components we make available. We have a range of components that require a license and a subscription, but these are currently only available through our consultancy services.
I was not aware of the StackLayout issue, although the latest pre-release (2.1.0-pre2) has been optimized for use within a virtualized parent (like ListView, and our own VirtualizedStackPanel), but I will run some tests with a standard StackPanel and see if the issue still exists.
I am using Your Rox Video Player in my Test-App (want to learn how things work and how to use them, because I'm new to Xamarin), but I can't find any information on the internet how to play back Videos from File System or Streams. Is it possible with Your Rox Video Player? And if so, can You please tell me how and/or provide further information?
Btw: I've tested many free-of-charge solutions and yours is one of my absolute fav's so far. So great work and keep going
I am using Your Rox Video Player in my Test-App (want to learn how things work and how to use them, because I'm new to Xamarin), but I can't find any information on the internet how to play back Videos from File System or Streams. Is it possible with Your Rox Video Player? And if so, can You please tell me how and/or provide further information?
Btw: I've tested many free-of-charge solutions and yours is one of my absolute fav's so far. So great work and keep going
Best regards from Germany
Alex
I found out, that this is not possible by design. An (UWP)-App works in a kind of sandbox on the operating system. What I did to get things working was:
That seems to be the only Way to load mp4-Files from internal servers.
But:
UWP-Apps use Microsoft Edge... The Edge-VideoPlayer has the ability to change Subtitles and Languages (if the video supports it) but, while changing language the player freezes very often.
I would be grateful, if someone could help with further information.
When I am integrating this package in my application I am getting 100+ error in my resources.drawable file in Android application. Please suggest me how can I integrate these packages. I am stuck in this from last 3 days. @Xnaina , @ahmadmadi .
Please suggest.
Thanks
It is a Xamarin Forms control that works across iOS, Android, Windows Phone, UWP. You can respond to video events and control the player all from shared code.
@ahmadmadi said:
a great nuget package is called "Rox.Xamarin.Video" which is so far is for free and i hope it stays so :P
We have no intention of charging for the components we make available. We have a range of components that require a license and a subscription, but these are currently only available through our consultancy services.
I was not aware of the StackLayout issue, although the latest pre-release (2.1.0-pre2) has been optimized for use within a virtualized parent (like ListView, and our own VirtualizedStackPanel), but I will run some tests with a standard StackPanel and see if the issue still exists.
@Rod_at_Rox I didn't see any Video events . How can I listen to video events like VideoStarted/VideoEnded etc?? Is it possible?
> @AhmedSalah.0079 said:
> When I I get the video from the file system on Android platform, I get the following error "Can't play this video". Did anyone solve this.
Answers
@RanjithkumarRamakrishnan https://components.xamarin.com/view/video-player
you can use this but its paid.
Thanks @Xnaina . any official API available for videoview?
@RanjithkumarRamakrishnan no idea
.
Below link may help:
https://github.com/xamarin/customer-success-samples/tree/master/samples/Xamarin.Forms/FormsNativeVideoPlayer
@RanjithkumarRamakrishnan https://github.com/xamarin/customer-success-samples/blob/master/samples/Xamarin.Forms/FormsNativeVideoPlayer
Try this.
a great nuget package is called "Rox.Xamarin.Video" which is so far is for free and i hope it stays so :P with it you can save yourself a lot of time and effort.
The only problem with it, is that you cannot place the video player inside a stacklayout, but instead you have to contain it within a grid or to the page content directly.
You can check out a component I created here: https://components.xamarin.com/view/video-player
It is a Xamarin Forms control that works across iOS, Android, Windows Phone, UWP. You can respond to video events and control the player all from shared code.
We have no intention of charging for the components we make available. We have a range of components that require a license and a subscription, but these are currently only available through our consultancy services.
I was not aware of the StackLayout issue, although the latest pre-release (2.1.0-pre2) has been optimized for use within a virtualized parent (like ListView, and our own VirtualizedStackPanel), but I will run some tests with a standard StackPanel and see if the issue still exists.
Hello @Rod_at_Rox,
I am using Your Rox Video Player in my Test-App (want to learn how things work and how to use them, because I'm new to Xamarin), but I can't find any information on the internet how to play back Videos from File System or Streams. Is it possible with Your Rox Video Player? And if so, can You please tell me how and/or provide further information?
Btw: I've tested many free-of-charge solutions and yours is one of my absolute fav's so far. So great work and keep going
Best regards from Germany
Alex
I found out, that this is not possible by design. An (UWP)-App works in a kind of sandbox on the operating system. What I did to get things working was:
That seems to be the only Way to load mp4-Files from internal servers.
But:
UWP-Apps use Microsoft Edge... The Edge-VideoPlayer has the ability to change Subtitles and Languages (if the video supports it) but, while changing language the player freezes very often.
I would be grateful, if someone could help with further information.
Regards
@Rod_at_Rox , can your component play local video? I tried placing it in the root folder but nothing happened. Playing from URL was OK though.
@Xnaina , @ahmadmadi .
Please suggest.
Thanks
When I I get the video from the file system on Android platform, I get the following error "Can't play this video". Did anyone solve this.
Hi guys i'm having the same issue i cant play local files. Did you find a solution for this?
thnx
@Rod_at_Rox I didn't see any Video events . How can I listen to video events like VideoStarted/VideoEnded etc?? Is it possible?
If anyone is interested, the Xamarin.Forms video player component can be found here: https://github.com/adamfisher/Xamarin.Forms.VideoPlayer
> When I I get the video from the file system on Android platform, I get the following error "Can't play this video". Did anyone solve this.
Did you find anything, I had the same problem