tag:blogger.com,1999:blog-867466345415180969.post4486678004208688825..comments2012-07-19T00:10:22.218+05:30Comments on Afshar's Experiments: How to create custom dialog to play video in androidAfshar Ahmedhttp://www.blogger.com/profile/14390815427620404201noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-867466345415180969.post-38657716193260222552012-07-19T00:10:22.218+05:302012-07-19T00:10:22.218+05:30Thanks a ton! My code gave me an IllegalArgumentEx...Thanks a ton! My code gave me an IllegalArgumentException when I tried to set the surfaceHolder in the mediaPlayer right after I initialized it. As per your implementation I implement callback and I'm setting the surfaceHolder right before start() and it doesn't throw the exception.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-867466345415180969.post-73456294350558231962012-06-16T16:06:01.898+05:302012-06-16T16:06:01.898+05:30final Context con=this;
new VideoPopup(con,"m...final Context con=this;<br />new VideoPopup(con,"myvideo","path of url").show();<br /><br />could u further specify how to create the HTML5 file and whether and how is it possible to use a video from res folder or phone.Anonymoushttps://www.blogger.com/profile/16410428881605397605noreply@blogger.com