Video as background

jvd88
jvd88 Community Member Posts: 3
Is it possible to use a video (flv) as a looping background ?

i have found a way, just adding a video and lay all other stuff above it, but when you then hover

over it, you can pause the video. That's not what i want :)

So is there a better way ?

Comments

  • ssneg
    ssneg Community Member Posts: 1,466 ☆ Roadie ☆
    Just add a large transparent PNG image on top of the video so that it's not clickable any more ;)
  • jvd88
    jvd88 Community Member Posts: 3
    Ok. Thanks, but is this indeed the only way to have video as background ?
  • ssneg
    ssneg Community Member Posts: 1,466 ☆ Roadie ☆
    If you want to rely on Lectora's player then yes, this is the only way. Lectora's player will always react to clicks, so if you want it to not be clickable, you have to cover it with a transparent image.



    If you don't want to rely on Lectora's player, there are dozens of tutorials on how to embed a video onto a website background. Essentically, it's an external HTML object, custom DIV with < video > tag in it.

    There are even JS libraries that help you do that: http://dfcb.github.io/BigVideo.js/