my question simple. possible use microsoft media platform player framework in windows phone 8.1 app play video youtube? tried provide address of video source of mediaplayer, not work. can on 1 please?
thank you
i have made digging in discussions on codeplex site of player framework , here answer: http://playerframework.codeplex.com/discussions/638055
you need use getvideouriasync method of youtube class, part of mytoolkit nuget.
var url = await youtube.getvideouriasync("youryoutubevideoid", youtubequality.quality480p); var videofile = url.uri; if (videofile != null) videoelement.source = videofile;
Comments
Post a Comment