Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
HTML5 preload attribute
To prevent HTML5 video from loading before playing, use preload attribute. You can try to run the following code:
<!DOCTYPE html> <html> <body> <video width = "350" height = "200" controls = "controls" preload = "none"> <source src = "movie.mp4" type = "video/mp4" /> <source src = "movie.ogg" type = "video/ogg" /> Your browser does not support the video tag. </video> </body> </html>
Advertisements
