HTML5-Background-Video
HTML5-Background-Video copied to clipboard
Allowing different paths for different video files
I'm working on a wordpress custom CMS that controls a page using the plugin to supply the background video. Because wordpress segregates uploaded files into directories by date of upload, it's not safe to assume all the videos reside at the same path. As a failsafe, I modified the plugin to optionally accept an Object for the path argument in which case it pulls path information based on the types argument array members. Perhaps this will be useful for someone else.