Showing: 1 - 6 of 6 Articles

jquery does not executed issue

I think you might have written jquery.min.js and jquery.mobile-1.4.5.min.js after your .js file. example: <script type=”text/javascript” src=”js/yourfile.js”></script> <script src=”js/jquery.mobile-1.4.5.min.js”></script> <script src=”js/jquery.min.js”></script> above code is worng code, you must write jquery.min.js and jquery.mobile-1.4.5.min.js before your .js file. correct code is: <script src=”js/jquery.mobile-1.4.5.min.js”></script> <script src=”js/jquery.min.js”></script> <script type=”text/javascript” …

Video height issue when set src from local storage

Hi, When you set video src from local storage, then please don’t load again that video tag. see below example for reference. $(‘#my-video’).html(”); var srcPath = cordova.file.documentsDirectory + FileName; $(‘#my-video’).html(‘<source src=’+srcPath+’ type=”video/mp4″></source>’ ); $(‘#my-video’).load(); so you need to remove last line, then your code would …

Show progress for ongoing download phone-gap application

Here the example for showing progress of ongoing download file. You need below line in your .html file: <div id=”status”></div> You need to write below code in your javascript file: var fileTransfer = new FileTransfer(); fileTransfer.onprogress = function(progressEvent) { if (progressEvent.lengthComputable) { var perc = …