We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey, i got this error :
player.panorama is not a function
What am doing wrong ?!
i imported that :
import videojs from 'video.js' import panorama from 'videojs-panorama';
and here is my code
` let canvasElement = this.getRenderer().view; let videoElement = videoLoader.getVideo('video360') videoElement.setAttribute("id", "video360"); videoElement.setAttribute("class", "video-animated-360"); videoElement.style.display = "block"
canvasElement.style.display = "none" canvasElement.style.opacity = 0. console.log('video elem', videoElement) console.log('video src', videoElement.node) videojs.options.autoplay = true let the_video = document.querySelector('.video-animated-360') this.player = videojs(the_video,{ preload: 'metadata', autoplay : true, }) this.player.on('ready', () => { console.log(this.player.muted()) this.player.muted(true) console.log(this.player.muted()) if(!this.player.isFullscreen()){ this.player.requestFullscreen() } }) this.player.on('ended', () => { console.log('finished') }) panorama(this.player, { autoMobileOrientation: true, initFov: 100, clickAndDrag: true });
`
Please help me ...
The text was updated successfully, but these errors were encountered:
https://s3.ap-south-1.amazonaws.com/viyatrademo/Viyatra.html go to these link and check the source code
Sorry, something went wrong.
Did you solve this?
No branches or pull requests
Hey, i got this error :
What am doing wrong ?!
i imported that :
import videojs from 'video.js'
import panorama from 'videojs-panorama';
and here is my code
` let canvasElement = this.getRenderer().view;
let videoElement = videoLoader.getVideo('video360')
videoElement.setAttribute("id", "video360");
videoElement.setAttribute("class", "video-animated-360");
videoElement.style.display = "block"
`
Please help me ...
The text was updated successfully, but these errors were encountered: