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

player.panorama is not a function by npm for videojs7 #170

Open ruff26 opened 5 years ago

ruff26 commented 5 years ago

import videojs from 'video.js'; window.videojs = videojs;

import panorama from 'videojs-panorama'; panorama(player, { // some options });

error: Uncaught TypeError: player.panorama is not a function

how to fix?

iubhatt17 commented 4 years ago

I am also facing the same issue in angular 7.Can anyone tell why this is happening ?

dave1981 commented 4 years ago

I am also facing the same issue in angular 7.Can anyone tell why this is happening ?

@iubhatt17 Did you solve this problem?

willmontiel commented 3 years ago

@iubhatt17 Did you solve this problem?

iubhatt17 commented 3 years ago

@dave1981 @willmontiel I have then used another lib to implement 360 Degree View of video and then added some code in polyfill.ts file and boom it worked smoothly.

robinaly commented 2 years ago

@iubhatt17 which library did you use?