Xamarin forms Plugin.MediaManager Android : Video is not visible but audio is playing - xamarin

I am using Xamarin MediaManager plugin to play videos. Since there is no fullscreen option available in Android. I have created two screens A and B. When I play video in screen A and when user clicks on maximizing the same video I am trying to play it in screen B. Video is playing in screen B no issues, but when I go back from screen B to screen A then i can hear only the audio and the video is stuck. When i click the maximizing again Video is playing fine in Screen B without any issues. I am not getting where I am doing wrong here.
Any help, guidance is much appreciated

Related

TMediaPlayer background audio controls on iOS (FMX)

In Rad Studio we have the TMedialPlayer control that can play audio. This thread shows to keep the audio playing after the user locks the screen (Project->Options->Version Info-> UIBackgroundModes set to audio).
However, we have no ability to invoke the iOS audio controls (pause, play) on lock screen. Apple will reject any app that plays audio in the background without displaying the audio controls on lock screen and in control center (Apple documentation on controlling background audio).
Anyone have any good ideas on how this can be achieved (using C++ FMX)?
Can the functions mentioned on that Apple documentation page be called from FMX app?
Is there a third party medial control with this capability (to show the apple audio controls)?

Video player not playing videos under Webdriver with Ruby

We noticed that if we run out test cases (which include a case where an html5 video player plays a video for a couple of seconds) the video player frame show up but no video is loaded and played, showing a black background instead of the video. But if we play it manually, it plays normally after loading the video. So we think it has something to do with the way Webdriver works. Hopefully someone has a clue for us.
The code we assume is correct, because the player opens, it waits for the ammount of seconds specified and then closed okay, so its not something wrong in the code we assume, the player is the www.dashif.org player in google chrome and a propietary flash-based player in firefox.
Chrome player:
http://dashif.org/reference/players/javascript/1.4.0/samples/dash-if-reference-player/index.html

How can I find a list of active plugins on a web page in a browser window

Say I open Youtube,and the video starts playing. How do I find out what in-browser and system plugins / resources are being used to play the music / video?
Asking because on my Firefox, about 50% of the time, when I open youtube, it starts playing the audio of the page in the background, even as the video loads. So when the video is playing, there's audio with it, but there's the same audio, with a small delay playing in the background.
I've tried disabling the extra flash plugin that most other guides about this recommend, and it hasn't helped. Now I want to find out what my browser is using to play the background music.
Simplest thing is probably to right-click on the video and check if the menu that appears is the typical Flash rc-menu or the browser native video right-click menu.

microsoft.phone.controls.webbrowser won't show video clips

In my Windows Phone application I'm loading a html site into a view, really simple stuff with this method:
var itemView = view as NorwegianBrowserView;
var webBrowser = itemView.browserContainer;
webBrowser.Navigate(new Uri(_globalAccessObjects.ActiveNorwayLink,UriKind.RelativeOrAbsolute));
The site loads everything except a video clip. Or well it knows the video is there but it just shows a black square. And pressing that black square does nothing.
As i side note i can add that i got the same application for iOS and Android and they both got no problem in loading the very same website(+ they load the video). And here i can press the video clip and it will start playing.
Am i loading the website into my view the wrong way? or does microsoft.phone.controls.webbrowser not support a video clip?
Any help is much appreciated.
The ability to play video clips in line in a web page is dependent upon the version of Windows Phone you are running on and the format of the video.
Only Window Phone 8.1 supports playing video within a page. Unfortunately this isn't yet widely available.
Even then the video format may still be an issue and if not supported could lead to a placeholder image being displayed.

IOS Music Control in Background

I am trying to find the solution to have the control of play/pause when my app is playing the own music in Background. I am using AVAudioPlayer and didnĀ“t find the way to implement this controls. When the app is "close" the music play perfectly but I have to open the app again to pause or change music when needed.
Any solution ?
If you're running iOS 4 you can try putting the app in the background whilst playing music, and then pressing the home button twice for the 'multitasking' bar.
Swipe the bar to the right, which shows you the normal playback controls for Music, YouTube, etc.
If you use the AVAudioPlayer I'm quite sure you can use those same controls to control your app's playback of media.
Bryan
*EDIT does using the remote on the iPhone headphones work?

Resources