This project has moved. For the latest updates, please go here.
1

Closed

SM.Media.MediaPlayer.WP81 in windows phone 8.1 project

description

Hi,
I'm trying to make windows phone 8.1 live streaming app. I'm using Microsoft Player framework and PhoneSM references. I'm getting exception while I'm trying to load page with following xaml code:

xaml code:

<Grid>
<PlayerFramework:MediaPlayer x:Name="player"
            Source="http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8">
    <PlayerFramework:MediaPlayer.Plugins>
    </PlayerFramework:MediaPlayer.Plugins>
</PlayerFramework:MediaPlayer>
</Grid>

and c#
SM.Media.MediaPlayer.StreamingMediaPlugin smp = new SM.Media.MediaPlayer.StreamingMediaPlugin();
player.Plugins.Add(smp);
player.Play();

Error Message:
Additional information: Could not load file or assembly 'SM.Media, Version=1.5.3.0, Culture=neutral, PublicKeyToken=a8a96d0f02112ebc' or one of its dependencies. The system cannot find the file specified.
Closed Dec 27, 2015 at 3:17 PM by henric

comments

henric wrote Dec 22, 2015 at 4:01 PM

Do the sample projects work? Could you be missing any NuGet references in your project?

burhanaksendir wrote Dec 22, 2015 at 10:53 PM

Thanks. I forgot to add references.. It's work fine now :)