I have an AVPlayerViewController and AVPlayer that shows default controls. When the player is in fullscreen the >>| button acts as a fast forward but i would like to override/delegate this to act as a next button and call my playNextVideo()
method. Is this at all possible, or do I have to live with the fast forwarding?
答案 0 :(得分:0)
设置AVPlayerViewControllerDelegate,然后使用
string colorBg = "Yellow";
switch (colorBg)
{
case "Yellow":
buttonSelector.BackgroundImage = MyApp.Properties.Resources.yellow;
break;
case "Blue":
buttonSelector.BackgroundImage = MyApp.Properties.Resources.blue;
break;
case "Green":
buttonSelector.BackgroundImage = MyApp.Properties.Resources.green;
break;
}