Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vueframe/vueframe

Simple embeds for Svelte and Vue.
https://github.com/vueframe/vueframe

components dino embed iframe javascript svelte typescript vimeo vue vueframe youtube

Last synced: 1 day ago
JSON representation

Simple embeds for Svelte and Vue.

Awesome Lists containing this project

README

        




vueframe


vueframe


Simple embeds for Svelte and Vue.



npm version


License


Donate


Installation
YouTube
Vimeo
Copyright & license

## Installation

```bash
npm install @vueframe/vueframe@3
```

``App.vue``

```html

import { YouTube, Vimeo } from '@vueframe/vueframe'

```

## Youtube

### Usage

``App.vue``

```html

```

You can also pass in the full URL for the video

```html

```

### Optional props

``poster``

```html

```

``posterquality``

Options: low, default, high, max

```html

```

``params``

```html

```

``title``

```html

```

## Vimeo

### Usage

``App.vue``

```html

```

You can also pass in the full URL for the video

```html

```

### Optional props

``poster``

```html

```

``posterquality``

Options: low, default, high, max

```html

```

``params``

This component does not currently support params

``title``

```html

```

## Copyright & license

Licensed under the MIT License, Copyright © 2024-present vueframe.

See [LICENSE](https://github.com/vueframe/vueframe/blob/main/LICENSE) for more information.