Comments (8)
@sharq1 is right, could you please fix this @redxtech ?
Thanks!
from vue-plyr.
Importing Vue
in index.js
should likely not happen and also automatically registering on the global instance is a bit problematic. Usually this is handled with something like Vue.use(VuePlyr)
. See here for more details:
https://alligator.io/vuejs/creating-custom-plugins/#adding-capabilities
from vue-plyr.
Looks like it's 4.0.0 problem only, as 3.0.0 dist file has less than 400 lines total.
from vue-plyr.
from vue-plyr.
Hi @redxtech
Thank you for looking at this.
I think I know what my problem with registering is...
I'm using default Rails assets pipeline which makes your lib break at require
. Solution would be to use webpacker
gem. Nothing that you can do I guess :)
from vue-plyr.
Created a PR based on @dominik-bln's suggestion. Hopefully, it'll be merged soon. Ref: #31. Open for suggestions, will make changes accordingly if required.
This issue has been bothering me as well :P
from vue-plyr.
A PR has been proposed to fix this. I'll take a look and see if it works today.
from vue-plyr.
Just requested a few changes from the PR from @irazasyed and when they are implemented I will merge.
from vue-plyr.
Related Issues (20)
- Help me
- 'npm install vue-plyr' error? HOT 3
- sampotts/plyr.git develop Permission denied HOT 3
- Not working with HLS mp4s
- Add subtitles to a Youtube iframe
- default controls shown in the demo page its not coming
- Vue Plyr 7.0.0 causes npm ci in Docker fail with error 401 HOT 3
- Any maintenance status update for this (lovely) package? HOT 3
- Installation of dependency sampotts/plyr extremely slow
- Quality settings closes
- Cannot change vimeo source dynamically - error: Unknown player. Probably unloaded
- reload componentn when language changed
- `v-if` not working with plyr.
- Controls disappears in full screen HOT 1
- Fails to compile if importing css as in the example
- How can I use it Nuxt3 app HOT 3
- Customizing player
- Nuxt 3 SSR HOT 2
- Cannot load videos using Hls.js on Vite
- Vue3 update starting time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-plyr.