iphone - Why isn't Brightcove Player Loading in UIWebview? -


i'm noob iphone development , having trouble loading brightcove player uiwebview. aware ios can't play flash, don't need play video. want player , it's thumbnail visible in webview. when load brightcove player via url link in webview works fine, when try embed player doesn't load. resolving appreciated.

my code:

//via url link nsstring * storylink = @"http://link.brightcove.com/services/player/bcpid1683318714001?bckey=aq~~,aaaac59qsjk~,vyxcsd3otbphz2uirfx2-wdcltynymnn&bclid=1644543007001&bctid=2228912951001" nsurl *kitcourl = [nsurl urlwithstring:storylink]; nsurlrequest *requesturl = [nsurlrequest requestwithurl:kitcourl]; [videoscreen setuserinteractionenabled:yes]; [videoscreen loadrequest:requesturl];  //embedding player //brightcove player nsstring *htmlstr2 = [nsstring stringwithformat:@"<html><body><object id=\"flashobj\" width=\"320\" height=\"230\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0\"><param name=\"movie\" value=\"http://c.brightcove.com/services/viewer/federated_f9?isvid=1\" /><param name=\"bgcolor\" value=\"#ffffff\" /><param name=\"flashvars\" value=\"videoid=2228912951001&playerid=659636031001&playerkey=aq~~,aaaac59qsjk~,vyxcsd3otbm6wfphesdft5laxh9asjhf&domain=embed&dynamicstreaming=true\" /><param name=\"base\" value=\"http://admin.brightcove.com\" /><param name=\"seamlesstabbing\" value=\"false\" /><param name=\"allowfullscreen\" value=\"true\" /><param name=\"swliveconnect\" value=\"true\" /><param name=\"allowscriptaccess\" value=\"always\" /><embed src=\"http://c.brightcove.com/services/viewer/federated_f9?isvid=1\" bgcolor=\"#ffffff\" flashvars=\"videoid=2228912951001&playerid=659636031001&playerkey=aq~~,aaaac59qsjk~,vyxcsd3otbm6wfphesdft5laxh9asjhf&domain=embed&dynamicstreaming=true\" base=\"http://admin.brightcove.com\" name=\"flashobj\" width=\"320\" height=\"230\" seamlesstabbing=\"false\" type=\"application/x-shockwave-flash\" allowfullscreen=\"true\" swliveconnect=\"true\" allowscriptaccess=\"always\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\"></embed></object></body></html>",];  //load brightcove player [videoscreen loadhtmlstring:htmlstr2 baseurl:nil]; 

the brightcove player relies on adobe flash, not run on ios.


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -