PlayVideoAsync() public méthode

public PlayVideoAsync ( Media video, bool enableAutoPitch ) : Task
video Media
enableAutoPitch bool
Résultat Task
 public async Task OpenMediaAsync(Media item) {
     this.Item = item;
     TitleText.Text = Item.Title;
     TitleText.ToolTip = Item.Title;
     PositionText.Text = "";
     playerBusiness = new WmpPlayerBusiness(Player);
     playerBusiness.PositionChanged += playerBusiness_PositionChanged;
     playerBusiness.Show();
     await playerBusiness.PlayVideoAsync(Item, false);
 }
        public async Task OpenMediaAsync(Media item) {
            this.Item = item;

            TitleText.Text = Item.Title;
            TitleText.ToolTip = Item.Title;
            PositionText.Text = "";
            playerWindow = WmpPlayerWindow.Instance();
            playerBusiness = new WmpPlayerBusiness(playerWindow.Player);
            playerBusiness.AllowClose = true;
            playerBusiness.Closed += playerBusiness_Closed;
            playerBusiness.PositionChanged += playerBusiness_PositionChanged;
            playerBusiness.Show();
            await playerBusiness.PlayVideoAsync(Item);
        }