Full-page video

I saw a New York Times page on the web with a full-page video. You can see it yourself at https://www.nytimes.com/interactive/2019/09/23/opinion/data-privacy-jaron-lanier.html . It makes quite an impact.

I imagine this is easily doable in Sparkle, but when I tried, using a small cellphone-taken mp4 video as a test, I could not get it to work. I loaded the video on a fresh page, but I could not click “Full page width” on the Arrange tab because the option was greyed out.

I am quite the beginner when it comes to Sparkle. Does my problem have something to do with the dimensionality of my test video? Why is the “Full page width” option greyed out and how do I “ungrey” it?

I saw another post by StratBluesLC and it led me to the answer I was seeking. I am able to do what I wanted to do now. Thanks.

Thanks for the link, the three videos are very much worth watching. Enlightening.

hi - how did you do this and can you show me the outcome? Thanks

In the current version of Sparkle you cannot make a video element “full page width”. That is reserved for non-video elements such as boxes.

You can manually stretch the image to the edges of the page borders for each device, that is as close as you can get it.

This may or may not be a feature-upgrade the V.3, don’t know - ask Duncan.

You add the video to the PAGE, not a box or video container. Go to the background section and change Content to video. You can select where the video comes from (vimeo, youtube, disk or network location). The video will display at full screen width and height. This means that at some browser window sizes, the video will crop at the edges in order to maintain its full browser height without distorting the video. If you choose the Fixed position option, your page content will scroll over the video. If you don’t want this to happen, deselect the fixed position option.

Here is what the settings look like:

And this is what the video looks like in the Sparkle project interface:

When you move to different breakpoints, the video will remain as a full screen video, but it will be narrower - essentially the sides will be cropped to display on the narrower device screen, like this:

thanks @francbrowne - this is probably the best method I have found to achieve what I want.

I do get some issues when the browser windows are stretched or changed on different devices, mainly the text below moving or appearing to have moved further down the page. It also doesn’t look great on the mobile viewpoint. Hopefully, this requirement is added as a feature in the future.

For anyone interested in the outcome, it’s here https://www.littlewoldvineyard.co.uk/weddings.html

Not sure if I’m going to keep this live just yet or not - cannot decide.

I think it looks great - leave it as its is. One thing I did notice is that normally, when a video is linked as a background, it tends to fill the whole screen. In your website, it stays fairly much a fixed height and maintains the aspect ratio much better. Did you add any code to achieve this, or is it something about the vimeo player that does this?

I do see the issues on mobile, especially in landscape. I’ll offer up two suggestions.

  1. Eliminate the Vimeo player since there’s no user interaction. Export from Vimeo, and import from disk into Sparkle, fill background with the video, and then store the video in the document. Pulling video from across the web increases load time and introduces other internet issues. Sparkle will give your users a much better video experience.

  2. Whatever device (and orientation) you think will be primary for users viewing your website is the device you want to setup first. It it’s mobile portrait, go into device menu and turn off the other devices. Get the desired device orientation perfect and add, one at a time, the other devices. It’s more work but your users deserve no less (and you’ll feel better too).

Hi. Thanks for the reply.

I have the original video, so I can store this in the sparkle document. I guess I used the vimeo option to reduce strain on the web server and hoped it would be faster hosted via vimeo.