i use mediaelement player , embed youtube videos in it. code in client-side javascript follows:
$("#player").html( '<video width=' + width + ' height=' + height + ' autoplay>' + '<source src=$video_url' + ' type="video/youtube"></source>' + '</video>' ); $('video').mediaelementplayer({ success: function(player, node) { meplayer = player; ... } });
when try on play video on iphone, says "this video unavailable".
what missing? please help.
i found answer here..in case else struggling
http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html
Comments
Post a Comment