Video background on Category Page
这个很好的增强基于不起眼的鱿鱼theme.
See live example at:
https://moderatortal.zendesk.com/hc/en-us
This enhancement is based on the VideoBG plugin by Syd Lawrence:
http://syddev.com/jquery.videoBG/
To make it work, you will need:
Video files in multiple formats (webm, mp3, ogv).
Poster image - which should be the 1st frame of the video.
The plugin file (jquery.videoBG.js) from the site above.
Steps:
1. Add the video files, poster image, and .js file as assets to your theme.
2. Add the following script to the Document head page
3. Add the following script to the Category page:
Replace the asset names as needed.
-
Tal, you're awesome! :D
-
Love it. Thanks, Tal!
Pleasesign into leave a comment.
2 Comments