question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PanoViewer Not working in IE11

See original GitHub issue

Description

I am getting an error “Const bust be initialized” in IE11 even when using the ES5 initialization method. It looks like it is happening due to a for..in method with a const in it. Is IE11 not supported?

Here is the URL I am using: //naver.github.io/egjs-view360/release/latest/dist/PanoViewer/view360.panoviewer.pkgd.min.js

Steps to check or reproduce

Put the following in the head of a file and look at the console in IE11.

<script src="//naver.github.io/egjs-view360/release/latest/dist/PanoViewer/view360.panoviewer.pkgd.min.js"></script>

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
WoodNeckcommented, Mar 3, 2020

View360 offers 3 types of distribution. If you’re using a bundler like rollup or webpack, our imported module will be treated as ES module as we have “module” section defined on our package.json. If so, you have to transpile it yourself with bundler babel plugins. If you want already transpiled one, you can use node require or module loader like requirejs. Also, we offer a packaged version with all dependencies. You can grab the file via release or CDN and load that with script tag in the browser. Then, the module will be visible via a global variable eg.View360.PanoViewer. Our demo is also built with packaged file 😃

1reaction
WoodNeckcommented, Feb 26, 2020

Hello, @dansundy! Thanks for reporting the issue. Looks like the sensor polyfill we’re using is not correctly transpiled. I should recheck our env. I’ll notify you when the new version with the fix is released.

Read more comments on GitHub >

github_iconTop Results From Across the Web

egjs-view360
PanoViewer. A panoramic media viewer for the mobile web ↪️ ↩️ #photoSphere #panorama #motion-tracking.
Read more >
Stream not working in IE 11, works fine in Chrome.
Hi All, I'm seeing a problem with MS Stream not playing videos in IE 11 on some of our PC's but works fine...
Read more >
Image not displayed in IE 11.But working in chrome and firefox
Seems there is an issue with IE only if the actual image format is different than the extension of the file .
Read more >
Untitled
Brujas chocan, Fliker a3 air pink, Moteado con tempera, Village of broadalbin new york, Yarige holona amar problem song, Inicio windows 10 no...
Read more >
UNPKG - @egjs/view360
n * https://github.com/immersive-web/webvr-polyfill/issues/307\n */\nlet ... {@link https://github.com/naver/egjs-view360/wiki/PanoViewer-3.0-User-Guide})\n ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found