Hi,
I am trying to develop an app that will play flv file from server in Flash Player in WRT app.
I am getting the server link from josn file.
Here is the js file
Where photo.url_s is the link of the flv file. and I am getting this link from a josn fileCode:var resFlash = ''; resFlash = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ' + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="100" height="100">' + '<param name="flashvars" ' + 'value="file=' + photo.url_s + '&image=http://www.walkernews.net/wp-content/uploads/2008/01/Lion-Hug-Rescuer.JPG" /> '+ '<param name="movie" ' + 'value="http://www.walkernews.net/mediaplayer.swf" /> '+ '<embed src="http://www.walkernews.net/mediaplayer.swf" width="100" height="100" type="application/x-shockwave-flash" '+ 'pluginspage="http://www.macromedia.com/go/getflashplayer" '+ 'flashvars="file=' + photo.url_s + '&image=http://www.walkernews.net/wp-content/uploads/2008/01/Lion-Hug-Rescuer.JPG" /> '+ '</object>'; $('Flash_Video').innerHTML = resFlash;
Here is the josn file
If I run this app I am getting Memory Full Application Close.Code:{"id":"5334937317", "owner":"43618054@N05", "secret":"5a68e863a7", "server":"5049", "farm":6, "title":"R0011912", "ispublic":1, "isfriend":0, "isfamily":0, "latitude":0, "longitude":0, "accuracy":0, "dateupload":"1294479853", "ownername":"yuki5287", "url_t":"http:\/\/farm6.static.flickr.com\/5049\/5334937317_5a68e863a7_t.jpg", "height_t":"100", "width_t":"100", "url_s":"http:\/\/i.indiafm.com\/memories\/10\/doubledhamaallaunch\/still1.flv", "height_s":"240", "width_s":"240", "url_o":"http:\/\/farm6.static.flickr.com\/5049\/5334937317_44b628f613_o.jpg", "height_o":"1024", "width_o":"1024", "tags":"flower japan raw fukuoka ricoh kyushu munakata grd2"},
but if I replace the photo.url_s with http://i.indiafm.com\/memories/10/do...nch/still1.flv in js file then its running fine.
Please suggest me.

Reply With Quote

