Video plugin breaks firefox preview.

Bugs will be moved here once resolved.

Post » Thu Aug 20, 2015 2:54 pm

Problem Description
I boot up the game which worked just fine in the latest stable release. However the latest stable update (212) breaks the preview immediately. The game doesn't even have time to boot before I get the error message:

Javascript error!
SyntaxError: let is a reserved identifier
http://localhost:50000/video_plugin.js, line 469 (col 2)


I opened another game project which didn't have a video plugin active and it ran just fine. The first boot after adding it however gave the same results.

Attach a Capx
https://docs.google.com/uc?authuser=0&i ... t=download

Description of Capx
It's a gamejam game I made in about 2 days with an added video instance to it. Remove the video and disable the debugger sheet and you have yourself a tidy little foul mouthed video game on your hands.

Steps to Reproduce Bug
    Open the project and preview using Firefox. Should end up immediately resulting in the error and crashing.
    Remove the video instance from the capx and preview again. Works just fine.


Observed Result
Already specified

Expected Result
Already specified

Affected Browsers
  • Chrome: (No)
  • FireFox: (YES)
  • Internet Explorer: (No)

Operating System and Service Pack
Windows 7 SP1

Construct 2 Version ID
212
B
35
S
10
Posts: 390
Reputation: 3,278

Post » Thu Aug 20, 2015 3:09 pm

@Tinimations

There is no source set for the video. What is it meant to be?
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,557
Reputation: 60,458

Post » Thu Aug 20, 2015 3:11 pm

@zenox98 There's no source. I tried it on my main project as well which has tons of videos with sources and it ended up with the same result. It's the plugin itself that's the issue, not the source.
B
35
S
10
Posts: 390
Reputation: 3,278

Post » Thu Aug 20, 2015 3:14 pm

OK.

After adding a source it does indeed still crash.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,557
Reputation: 60,458

Post » Thu Aug 20, 2015 3:18 pm

Mhhhm. This makes me unable to work on my game as Firefox's the only browser capable of running really big projects :/. Hope it gets fixed soon.
B
35
S
10
Posts: 390
Reputation: 3,278

Post » Thu Aug 20, 2015 3:22 pm

It must be the following that is the culprit:

Fixed a bug that could cause choppy video playback in the latest Google Chrome releases


Hopefully, @Ashley will notice and release a quick fix, although pre-testing releases (maybe by the mods?) may be a better idea in future :/

@Tinimations

You can temporarily remove the video plugin from your project, which should at least allow you to continue work on it.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,557
Reputation: 60,458

Post » Thu Aug 20, 2015 3:35 pm

It also fails for me doing a node.js preview with the following error:

Image
B
31
S
7
G
1
Posts: 80
Reputation: 2,550

Post » Thu Aug 20, 2015 3:44 pm

@zenox98 Not really no because then I have to reimplement all the video instances later? I'll rather work on something not dependent on the engine, like concepting.
B
35
S
10
Posts: 390
Reputation: 3,278

Post » Thu Aug 20, 2015 3:56 pm

Gah. This will teach me not to make changes in a stable release (which I already knew I shouldn't...)

It's pretty much a typo and r212 only went out a couple of hours ago, so I don't think it warrants a .2 release - I'll update the download for r212 shortly with a fix.
Scirra Founder
B
403
S
238
G
89
Posts: 24,654
Reputation: 196,145

Post » Thu Aug 20, 2015 4:30 pm

OK, as of this post (5:30pm BST), the r212 download has been updated. Can you try re-downloading it and verify it is fixed?
Scirra Founder
B
403
S
238
G
89
Posts: 24,654
Reputation: 196,145

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests