Playing HLS (m3u8 playlist) on Windows Phone 8.1

前端 未结 3 584
余生分开走
余生分开走 2020-12-21 06:51

A friend and I have tried to get the video player on Windows Phone 8.1 to play a m3u8 stream, but we\'ve been unavailable to succeed.

What we\'ve tried:

We\

3条回答
  •  爱一瞬间的悲伤
    2020-12-21 07:21

    you can add them from xaml or cs. First add reference.

    1. XAML

      xmlns:local="clr-namespace:Microsoft.PlayerFramework;assembly=Microsoft.PlayerFramework"
      xmlns:smmedia="clr-namespace:SM.Media.MediaPlayer;assembly=SM.Media.MediaPlayer.WP8"
      
      
      
          
              
          
      
      
    2. XAML & CS

      xmlns:local="clr-namespace:Microsoft.PlayerFramework;assembly=Microsoft.PlayerFramework"
      
      
      
      
      
      SM.Media.MediaPlayer.StreamingMediaPlugin asd = new SM.Media.MediaPlayer.StreamingMediaPlugin();
      player.Plugins.Add(asd);
      player.Source = new Uri("http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8");
      

提交回复
热议问题