Click here to Skip to main content
15,885,638 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to play live streaming you tube channel in windows phone 8 app.
for this I searched a lot and at last I got this,
I Installed the Visual Studio Extension SDK (Microsoft.PlayerFramework.WP8.vsix) .
And then I installed the Microsoft Smooth Streaming Client.
and added the required dll's like smoothstreaming.dll, mediaplayer.framework , mediaplayer.framework.adaptive ..etc

and in mainpage.xaml I added the

CSS
xmlns:mmppf="clr-namespace:Microsoft.PlayerFramework;assembly=Microsoft.PlayerFramework"

    xmlns:adaptive="clr-namespace:Microsoft.PlayerFramework.Adaptive;assembly=Microsoft.PlayerFramework.Adaptive"



and after that I created media element by below

XML
<Grid x:Name="LayoutRoot" Background="Transparent">
    <mmppf:MediaPlayer Source="https://www.youtube.com/watch?v=LIuk1qu0RlU">
       
</Grid>


the problem is after executing it I am unable to see the video streaming I dont know why I am not getting any errors it is building successfully .
Anybody help me, Thank you.
Posted

1 solution

It doesn't show because you cannot play YouTube content with this library. It requires server-side support and specially encoded source material in order to work. This is something that YouTube does not implement.
 
Share this answer
 
Comments
SureshMarepalli 28-Oct-14 23:53pm    
k thanks for your info..
SureshMarepalli 29-Oct-14 0:06am    
is there any alternative for this?
Dave Kreskowiak 29-Oct-14 7:59am    
To play a YouTube video? No.

Terms of Service also dictate that you MUST use YouTubes player to play the videos.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900