×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Nokia Developer Champion
    Join Date
    Dec 2008
    Posts
    2,356

    Memory Full Application Close (WRT)

    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
    Code:
    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;
    Where photo.url_s is the link of the flv file. and I am getting this link from a josn file
    Here is the josn file
    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"},
    If I run this app I am getting Memory Full Application Close.
    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.
    Last edited by somnathbanik; 2011-01-10 at 08:46. Reason: added

Similar Threads

  1. Memory full. Close some application and try again
    By manubemanu in forum Symbian
    Replies: 7
    Last Post: 2010-08-31, 14:22
  2. Memory Full close application
    By santhu_island in forum Symbian
    Replies: 10
    Last Post: 2009-02-04, 17:17
  3. memory full close application error
    By seamus_rooney in forum Symbian Networking & Messaging (Closed)
    Replies: 9
    Last Post: 2007-08-15, 12:34
  4. Replies: 2
    Last Post: 2006-04-27, 18:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×