@khusainovrm/nuxt-plyr

0.0.29 • Public • Published

Ucase nuxt-plyr

  • Ucase nuxt-plyr uses plyr by sampotts v3 for the players plyr

NPM

Setup

1- Install Ucase nuxt-plyr module

npm install @khusainovrm/nuxt-plyr

2- Load @khusainovrm/nuxt-plyr module

// nuxt.config.js

export default {
  modules: [
    ['@khusainovrm/nuxt-plyr', { namespace: 'plyr', options: 42 }],
  ],

  nuxtPlyr: { option2: 'something2' },
}

Usage

You have a successfully enabled UcasePlayer in your project. In a vue component or page use tag UcasePlayer.

// ~/page/index.vue

<template>
  <div>
      <UcasePlayer />
  </div>
</template>

Options

Options that can be passed in a UcasePlayer component:

Name Description Default / Fallback
src String url of a video String

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @khusainovrm/nuxt-plyr

    Weekly Downloads

    0

    Version

    0.0.29

    License

    MIT

    Unpacked Size

    6.08 kB

    Total Files

    6

    Last publish

    Collaborators

    • khusainovrm