> How to quick attach a background video in Drupal

  • Posted on: 4 November 2015
  • By: tihomiry

Having a video background gives you a lot of expression and dynamics to your site.
There a few ways to put your video as a background of your page layout.
1. Use Drupal video background module or similar. The thing is that it uses html 5 player and support only local video files. Also there is a limitation of 5Mb with make this quite useless.
2. Use a ready theme with a background video. This is the easiest way, but I did not find a good free one. There are some paid one that could be good choice.
3. Do some changes in your theme code to attach the video background without touching the Drupal core and engine. All happened in the HTML front-end content.

For the last approach you need to use external JS library or attach the video with embedded iframe.
Best choice is MP4 video uploaded to YouTube. This will allow you play large videos with good performance without affecting the performance of the rest of the site.
For this blog I did use tubular js. I did include it in the first parent of the page layout: html.tpl.php. Also did modify style.css to make font colors readable.
The video had been shot by me with Pentax k-5 and SMC Pentax M 50mm 1:1,7.

$().ready(function() {
                    $('#vi').tubular({videoId: 'X_KrIme7Cd4'}); // where idOfYourVideo is the YouTube ID.
                    });

URL: https://www.seanmccambridge.com/tubula/

Reading a new product that claims to be 100x time more powerful then conventional telescope, I realise that this is just an astrograph with a digital camera that is doing stacked images and show them trought eyepiece or App.

I am so impressed with the K5 ability to quickly gather signal from nebulas (Quantum efficiency) and galaxies, so I decide to take one more K5 and to remove the IR-cut Filter of the old one.

Recently I got one very good lens the Asahi Takumar 135mm 1:2.5. This is fast telephoto lens and from my point of view a good lens should be with aperture from 1:1,2 to 1:2,8.

Moon at 45% illumination and 70x magnification. With aperture of 200mm,14,1 stops dynamic range, color depth of 23.7 bits at this image there are slight color variation on the moon surface that reveals it’s structure.

This is the beginning of my research on how dark the sky could be and what is benefit of a dark sky for astrophotography. I was inspired from those 2 sites. First one presents mathematical model of how dark the sky is.

Pages