Skip to content

Instantly share code, notes, and snippets.

@foliovision
Created March 22, 2021 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save foliovision/739578633f57874fe1d9ade9272d9b67 to your computer and use it in GitHub Desktop.
Save foliovision/739578633f57874fe1d9ade9272d9b67 to your computer and use it in GitHub Desktop.
var player = jQuery('<div id="background-video"></div>');
jQuery('#wp-custom-header').append(player);
player.flowplayer( {
autoplay: true,
disabled: true,
loop: true,
clip:
{
"sources": [
{ src: "https://s3-eu-west-1.amazonaws.com/fv-player-unprotected/dominika-960-31_HD.mp4", type: "video/mp4" }
]
}
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment