- Home
- Forum
- Xamarin.Forms
- SfRotator does not dispose views.
SfRotator does not dispose views.
Hello,
I noticed some problem with SfRotator and MediaElement.
<SfRotator ItemsSource="{Binding VideoCollection}">
<SfRotator.ItemTemplate>
<DataTemplate>
<Grid>
<MediaElement Source="{Binding Video}" IsLooping="True" AutoPlay="True"/>
</Grid>
</DataTemplate>
</SfRotator.ItemTemplate>
</SfRotarot>
It seems to works fine, but when you close page (or exactly in my case Rg.Plugin.Popups.PopupPage) you can hear that video is still playing, it seems that page inside rotator is never disposed.
Best regards,
Radosław Kubas
SIGN IN To post a reply.
5 Replies
1 reply marked as answer
SS
Suganya Sethuraman
Syncfusion Team
October 23, 2020 01:34 PM UTC
Hi Radoslaw,
Greetings from Syncfusion.
We have analyzed the reported issue. We have prepared the sample based on the information provided. We have tried to replicate the reported issue at our end, we are afraid that we are not able to reproduce the issue at our end. We have attached sample for your reference.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/RotatorVideo2053215918
If you are still facing the same issue, please modify the sample with reported issue and reverts us. It will help us to provide better solution at the earliest.
Regards,
Suganya Sethuraman
Greetings from Syncfusion.
We have analyzed the reported issue. We have prepared the sample based on the information provided. We have tried to replicate the reported issue at our end, we are afraid that we are not able to reproduce the issue at our end. We have attached sample for your reference.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/RotatorVideo2053215918
If you are still facing the same issue, please modify the sample with reported issue and reverts us. It will help us to provide better solution at the earliest.
Regards,
Suganya Sethuraman
RK
Radoslaw Kubas
October 23, 2020 03:34 PM UTC
Hello,
I've checked your sample and the problem seems to be visible there also. To reproduce:
1) Start your sample on iOS simulator
2) Tap Open -> The fist video starts playing
3) Swipe Rotator to the next video -> 2nd video starts playing (you can hear both of them)
4) Tap Back -> Page is closed but you can hear that both videos are still playing in background, to stop it you have to stop the app
The first smaller problem is how to stop / pause video when content is not visible? I could manage it with some ugly code, mostly working :) but would appreciate any clean solution :)
The second bigger problem how to dispose all video players /pages when page is closed?
Best regards,
Radek
SS
Suganya Sethuraman
Syncfusion Team
October 26, 2020 12:13 PM UTC
Hi Radoslaw,
We were able to reproduce the issue “SfRotator does not dispose views” and we confirm this as a bug and logged a defect report. You can keep track of the bug from the feedback portal below.
Link: https://www.syncfusion.com/feedback/19128/ios-sfrotator-does-not-dispose-the-mediaelement
The provided feedback link is private, and you need to login to view this feedback.
The fix for the reported issue will be available on 9th November, 2020.
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.
Regards,
Suganya Sethuraman.
We were able to reproduce the issue “SfRotator does not dispose views” and we confirm this as a bug and logged a defect report. You can keep track of the bug from the feedback portal below.
Link: https://www.syncfusion.com/feedback/19128/ios-sfrotator-does-not-dispose-the-mediaelement
The provided feedback link is private, and you need to login to view this feedback.
The fix for the reported issue will be available on 9th November, 2020.
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.
Regards,
Suganya Sethuraman.
SS
Suganya Sethuraman
Syncfusion Team
November 9, 2020 11:51 AM UTC
Hi Radoslaw,
We have fixed the reported issue. Please download the path from the following location.
Please find the patch setup from below location:
http://syncfusion.com/Installs/support/patch/18.3.0.47/999661/F159022/SyncfusionPatch_18.3.0.47_999661_11092020052941775_F159022.exe
(OR)
Please find the patch assemblies alone from below location:
http://syncfusion.com/Installs/support/patch/18.3.0.47/999661/F159022/SyncfusionPatch_18.3.0.47_999661_11092020052941775_F159022.zip
(OR)
Please find the NuGet from below location:
http://syncfusion.com/Installs/support/patch/18.3.0.47/999661/F159022/SyncfusionNuget_18.3.0.47_999661_11092020052941775_F159022.zip
Assembly Version: 18.3.0.47
We can take NuGet only using Main release and SP1 release versions, so we have taken the NuGet in 18.3.0.47.
Disclaimer:
We have fixed the reported issue. Please download the path from the following location.
Please find the patch setup from below location:
http://syncfusion.com/Installs/support/patch/18.3.0.47/999661/F159022/SyncfusionPatch_18.3.0.47_999661_11092020052941775_F159022.exe
(OR)
Please find the patch assemblies alone from below location:
http://syncfusion.com/Installs/support/patch/18.3.0.47/999661/F159022/SyncfusionPatch_18.3.0.47_999661_11092020052941775_F159022.zip
(OR)
Please find the NuGet from below location:
http://syncfusion.com/Installs/support/patch/18.3.0.47/999661/F159022/SyncfusionNuget_18.3.0.47_999661_11092020052941775_F159022.zip
Assembly Version: 18.3.0.47
We can take NuGet only using Main release and SP1 release versions, so we have taken the NuGet in 18.3.0.47.
Disclaimer:
Please note that we have created this patch for version 18.3.0.47 specifically to resolve the following issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.
Note: Please clear the cache, before the apply the provided patch
https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache
This fix will be included in our upcoming weekly NuGet release. Which is available on November 17, 2020.
Regards,
Suganya Sethuraman.
Note: Please clear the cache, before the apply the provided patch
https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache
This fix will be included in our upcoming weekly NuGet release. Which is available on November 17, 2020.
Regards,
Suganya Sethuraman.
SS
Suganya Sethuraman
Syncfusion Team
November 18, 2020 06:01 AM UTC
Hi Radoslaw,
Thanks for the patience.
We have fixed the reported issue and included the issue fix in our latest Weekly NuGet release update version 18.3.0.50 which is available for download (https://www.nuget.org/ ).
We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.
Regards,
Suganya Sethuraman.
Thanks for the patience.
We have fixed the reported issue and included the issue fix in our latest Weekly NuGet release update version 18.3.0.50 which is available for download (https://www.nuget.org/ ).
We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.
Regards,
Suganya Sethuraman.
Marked as answer
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
- Marked answer
-
RK Radoslaw Kubas
- Oct 22, 2020 04:07 PM UTC
- Nov 18, 2020 06:01 AM UTC