Adding a loader image to HTML5 video
How do I make an adding a loader image to html5 video?
I found this here: http://stackoverflow.com/questions/8230748/how-to-add-loader-image-to-html5-video With JSfiddle here: http://jsfiddle.net/jamie_505/9fxz4eup/2/. What is a adding a loader image to html5 video? How do you make a adding a loader image to html5 video? This script and codes were developed by Ken Smith on 04 November 2022, Friday.
Adding a loader image to HTML5 video - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Adding a loader image to HTML5 video</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body> <div style="text-align:center"> <br> <video id="video1" height="250" preload="auto" controls> <source src="http://kennethbsmith.com/bonus/video/vkbs/111213kbs-short.webmhd.webm" type="video/webm">
<source src="http://kennethbsmith.com/bonus/video/vbroughton/051814broughton-short02.mp4" type="video/mp4"> Your browser does not support HTML5 video. </video> </div>
</body> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Adding a loader image to HTML5 video - Script Codes CSS Codes
video.bkg { background: black
}
Adding a loader image to HTML5 video - Script Codes JS Codes
$('#video1').on('loadstart', function (event) { $(this).addClass('bkg'); $(this).attr("poster", "http://iphonewrd.com/img/loading.gif");
});
$('#video1').on('canplay', function (event) { $(this).removeClass('bkg'); $(this).removeAttr("poster");
});
Developer | Ken Smith |
Username | kensmith |
Uploaded | November 04, 2022 |
Rating | 3 |
Size | 1,965 Kb |
Views | 36,432 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
CSS min-content 2 Height | 2,045 Kb |
Device Orientation Demo | 2,594 Kb |
Flip Book | 2,121 Kb |
Expandable header | 3,340 Kb |
Slide up captions from CSS-tricks | 1,948 Kb |
HTML5 Audio Load | 1,498 Kb |
Device Orientation Demo02 | 2,343 Kb |
7 Caption Hover Effects | 3,459 Kb |
HTML5 Audio Load IBM | 1,806 Kb |
CSS min-content | 2,022 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
AngularJS Skills | Supro | 3,312 Kb |
Beautiful canvas stars | Matths | 2,399 Kb |
Reviews and Ratings Star | Zbnmstry | 1,591 Kb |
Animated bar chart | CreativePunch | 3,124 Kb |
Gulpfile | Aimhigherwebdesign-amy | 1,765 Kb |
Board Site | IndianaLuft | 10,542 Kb |
Parallax with only CSS | Thulioph | 2,297 Kb |
Scarlett Johansson Tribute Page | Diomed | 3,233 Kb |
Voting App - register | MatheusLima92 | 1,948 Kb |
CSS3 Snow Animation | NickyCDK | 1,695 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!