/*
Made by [egyJs.com](https://www.instagram.com/egyjs/);
*/
install it on your localhost and try it :
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title></title> | |
| </head> | |
| <body> | |
| <script type="text/javascript"> | |
| window.onload = function() { |
/*
Made by [egyJs.com](https://www.instagram.com/egyjs/);
*/
install it on your localhost and try it :
| static var httpClient = new HttpClient(); | |
| Future<File> _downloadFile(String url, String filename) async { | |
| var request = await httpClient.getUrl(Uri.parse(url)); | |
| var response = await request.close(); | |
| var bytes = await consolidateHttpClientResponseBytes(response); | |
| String dir = (await getApplicationDocumentsDirectory()).path; | |
| File file = new File('$dir/$filename'); | |
| await file.writeAsBytes(bytes); | |
| return file; | |
| } |
| Future<Uint8List> _downloadImage() async { | |
| String dir = (await getApplicationDocumentsDirectory()).path; | |
| File file = new File('$dir/$_filename'); | |
| if (file.existsSync()) { | |
| var image = await file.readAsBytes(); | |
| return image; | |
| } else { | |
| var response = await http.get(_url,); | |
| var bytes = response.bodyBytes; |
| Open Webinarjam | |
| Let the video load | |
| Once the video is loaded press F-12 to open inspect element | |
| goto console tab | |
| Paste the below code to enable video controls and press enter | |
| document.querySelector('video').controls = true; | |
| document.querySelector('.w-100.h-100.p-absolute.z-index-101').style.zIndex = -1; |