baceojs 1.3.0 • Public • Published 4 years ago
Add full-screen background video with BaceoJS
What is BaceoJS ?
Well, BaceoJS is a very simple, light-weight and strong library to create full-screen background videos with just a few lines of code.
Usage:
Add this code at the beginning of the "body" tag in your .html file
<script type="text/javascript" src="baceo.min.js"></script>
<script type="text/javascript">
baceo({
path://"path/to/your/video",
type://"file type (mp4, webm, ...)",
style://"optional style",
});
</script>
This library is actually just adding a "video" tag so you can modify that tag with document.querySelector(".baceo-vid");
Performance:
Baceo has a blazing fast performance since this the library is extremely light, for only less than 400 bytes!
Strength:
Fast, light
Easy to use
No third-party tools needed, you can just download the library and use it in nodepad 🙂
Demo:
Our website
Youtube:
Create background videos in HTML with BaceoJS
Contributors:
Leader: Nguyen Phu Minh
Contributing guides:
You can only contribute in term of codes if you are not in the developers team. Pull-requests that changes things like license, readme,... will be immediately closed without any comments. If you made many helpful commmits, you will be added to the team. Thank you very much!
License and Copyrights:
This library is licensed under the MIT license
Copyrighted © 2020 Nguyen Phu Minh
Package Sidebar Install Downloads Weekly Downloads