Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vuetify-video-parallax

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuetify-video-parallax

a Vuetify Parallax Component for Videos

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Vuetify Video Parallax

This vue component is based on https://vuetifyjs.com/ v-parallax component with support for displaying looped stock videos in the background.

While the stock video is loading an alternate image can be specified that will behave like the vuetify image parallax does until the video has been downloaded.

It does not need vuetify to run so it will work in your non vuetify environment.

Howto Install

npm install vuetify-video-parallax --save

First get some videos

Grab some videos for free from:

Copy the video to your assets folder

Howto use (vue plain html)

The videos should be accessible if you create a public/assets folder in your project root (Vue will serve assets if you put them in a public/ folder).

Add the cdn script import

<script src="https://unpkg.com/vuetify-video-parallax"></script>

Use in the template section of your app as follows

<v-video-parallax src="assets/city.mp4" img="assets/city.png" height="600">
  Some Html Here
</v-video-parallax>

Howto use (vue development env)

Use in your main App.vue component like so:

Import the component

import VideoParallax from 'vuetify-video-parallax';

export default {
  components: {
    VideoParallax,
  },
  // rest of the component
}

Create a video parallax tag in your

<VideoParallax height="600" img="assets/city.png" src="/assets/thunda.mp4">
  Some Html Here
</VideoParallax>

FAQs

Package last updated on 09 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc