kaorun343 / vue-youtube-embed

Vue.js and YouTube
https://www.npmjs.com/package/vue-youtube-embed
MIT License
424 stars 53 forks source link

Nothing is rendered in production build #63

Open panstromek opened 5 years ago

panstromek commented 5 years ago

Player works normally in development build (Webpack dev server, Quasar framework), but when I build the app and visit the page, nothing gets rendered. There is just empty div woth no iframe inside. Even if I prerender the app, it will prerender the iframe correctly but once I visit the page, video just blicks and disappears once Vue hydrates.

I don't know what info to include, I have a hard time tracking this down. There is no error, no warning, just nothing happens. I will try to downgrade and see what happens, because I already used this plugin many times and never had a problem.

panstromek commented 5 years ago

update - same problem for all versions since 1.0.0 - even versions that I previously used in the same project. No I am pretty confused..

mortensassi commented 4 years ago

same problem here

riux commented 4 years ago

the same problem, using nuxt and firebase hosting

mortensassi commented 4 years ago

@riux i fixed it by using the other youtube-plugin

riux commented 4 years ago

@mortensassi test with your recommendation but I still have the problem, remember that this happens when deploying in Firebase hosting, I am using nuxt, firebase functions and firebase hosting