opened
staubesv
username_0
**Describe the bug**
When using multiple qualities of the same 360° video, switching between those qualities does not work.

**To Reproduce**

1. Open Paella player with at least two different qualities of Ricoh Theta 360° video
2. Try to switch between the qualities

**Actual Behavior**
Switching between the different qualities does not work.

The browser console shows the following error message:

```
paella_player.js:1 Uncaught (in promise) ReferenceError: defer is not defined
    at paella_player.js:1
    at new Promise (<anonymous>)
    at e._loadDeps (paella_player.js:1)
    at paella_player.js:1
    at new Promise (<anonymous>)
    at e.load (paella_player.js:1)
    at paella_player.js:1
```

**Expected behavior**
Switching between the different qualities should work.

**Workaround (if any)**
Ignore and live with whatever quality the player has chosen.
Switching between qualities does not work with Video360ThetaFactory factory
issue
created
staubesv
username_0
Replacing the function loadDeps in video360theta.js by

```
	_loadDeps() {
		return new Promise((resolve, reject) => {
			if (!window.$paella_bg2e) {
				require(['resources/deps/bg2e.js'], function(bg) {
					window.$paella_bg2e = bg;
					resolve(window.$paella_bg2e);
				});
			}
			else {
				resolve(window.$paella_bg2e);
			}	
		});
	}
```

does make quality switching work but it seems that the "old" quality is still played back (but not visible).
comment
created
ferserc1
username_1
This issue is related to the prototype 360 video plugin, which was replaced by the canvas plugin system.
comment
closed
ferserc1
username_1
issue