I have to list youtube videos in UITableView. I am using UIWebView inside UITableViewCell.
Because of UIWebView, the performance of cell-loading is very bad. So when I scroll through the tableview it is stuttering.
I think this is due to performance intensive rendering of youtube link. If anybody has any idea how to resolve this?
For youtube video I am using this code:
<object width=\"125\" height=\"86\"><param name=\"movie\" value=\"%@\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"%@\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"125\" height=\"86\"></embed></object>
http://img.youtube.com/vi/YouTube_ID/default.jpg
replace YouTube_ID with your video ID
this will give you the thumbnail!