jQuery Plugin To Test Internet Connection Bandwidth - Speed Test
| File Size: | 6.16 KB |
|---|---|
| Views Total: | 16534 |
| Last Update: | |
| Publish Date: | |
| Official Website: | Go to website |
| License: | MIT |
Speedtest is a minimalist jQuery tool that tests your internet connection bandwidth by measuring the download speed of a specific file.
How to use it:
1. Include the latest version of jQuery library and the jQuery Speedtest plugin on the html page.
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script> <script src="js/jquery.speedtest.js"></script>
2. Specify the file size, file type and file path to test your download speed.
$('#output')._speedTest({
//size of the file in bytes
fileSize:2000,
//type of the file to be downloaded
fileType:"image",
//url of the file location
fileUrl:"1.jpg"
});
3. More plugin settings.
$('#output')._speedTest({
//displayed when the user waits to for the file to download and the operations to complete
waitingText: null,
// displayed when the file fails to download
errorText: null
});
This awesome jQuery plugin is developed by HarshaJagadish. For more Advanced Usages, please check the demo page or visit the official website.





