yanwsh / videojs-panorama

a plugin for videojs run a full 360 degree panorama video.
http://yanwsh.github.io/videojs-panorama/
Other
483 stars 160 forks source link

building from source #122

Closed ruiluis closed 6 years ago

ruiluis commented 6 years ago

I tried to generate the videojs-panorama from source but i failed, downloaded the source from here(https://github.com/yanwsh/videojs-panorama/releases/tag/v1.0.0-beta) then i did: npm install --save-dev gulp build it said the version files were missing.. i then added the ones in the master and it start complaining that it didnt found ./lib/canvas/

How do i compile it from source?

yanwsh commented 6 years ago

Yes, sorry for confuse. It should be gulp build-test, will fix this bug soon.

ruiluis commented 6 years ago

sorry.. big weekend.. i tried but "Task 'build-test' is not in your gulpfile"


Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime.

On Fri, Jul 21, 2017 at 6:43 PM, Wensheng Yan notifications@github.com wrote:

Yes, sorry for confuse. It should be gulp build-test, will fix this bug soon.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yanwsh/videojs-panorama/issues/122#issuecomment-317066515, or mute the thread https://github.com/notifications/unsubscribe-auth/AHPevPYgu5v0-WlYz9XAos_wOdQJ5-Puks5sQONWgaJpZM4OfiFH .

yanwsh commented 6 years ago

Oh, my fault, it should be gulp build-script-test, if you want to develop, please run gulp watch-test

ruiluis commented 6 years ago

sorry for this.. its because i am using your plugin for some time and every time you change i need to adapt my code to be compatible and alter the production file and is becoming time consuming so i wanted to created the necessary classes...

Starting 'build-script-test'... events.js:141 throw er; // Unhandled 'error' event ^

Error: Cannot find module './videojs' from ... videojs-panorama-1.0.0-beta/src/scripts/tech'


Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime.

On Thu, Jul 27, 2017 at 7:04 AM, Wensheng Yan notifications@github.com wrote:

Oh, my fault, it should be gulp build-script-test, if you want to develop, please run gulp watch-test

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yanwsh/videojs-panorama/issues/122#issuecomment-318267482, or mute the thread https://github.com/notifications/unsubscribe-auth/AHPevLY_hQ6wS47vu-Jk6L-sxqowxiGtks5sSChrgaJpZM4OfiFH .

yanwsh commented 6 years ago

make sure you have videojs.js file inside tech folder

ruiluis commented 6 years ago

sorry multi projects.. file in directory was with caps lock "Videojs.js" .. changed and it start working.. thanks.


Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime.

On Thu, Jul 27, 2017 at 1:24 PM, Wensheng Yan notifications@github.com wrote:

make sure you have videojs.js file inside tech folder

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yanwsh/videojs-panorama/issues/122#issuecomment-318346825, or mute the thread https://github.com/notifications/unsubscribe-auth/AHPevKVo8R8b1n4NOMyXvTH4ddICZ_F6ks5sSIGGgaJpZM4OfiFH .