jsbin / jsbin

Collaborative JavaScript Debugging App
http://jsbin.com
MIT License
4.39k stars 1.26k forks source link

Thinking of switching to JSbin (from JSfiddle), but one thing doesn't appear to work... #3537

Open bramvandijk88 opened 8 months ago

bramvandijk88 commented 8 months ago

Dear devs,

I'm thinking about getting a JSbin pro account (currently working with JSfiddle). It has some benefits, but there is one weird thing that doesn't seem to work in the preview window of JSbin (which IS working for JSfiddle).

I have written a JS package to make biological simulations. For students, it's nice if they can easily save a movie from the simulation, which I used MediaStream and download request for.

To reproduce, check out the JSfiddle/JSbin examples below:

It works on JSfiddle (click the "Record" button, click it again to get a download request). https://jsfiddle.net/bramvandijk88/zr6a72ys/56/

That same option does not work in JSbin, unless I go to the full screen output:

https://jsbin.com/yidufen/2/edit?js,output (doesn't work here)

https://jsbin.com/yidufen/2 (but DOES work here).

Is there any chance someone can tell me why this is the case? I get no errors in the Chrome console that hint at anything I can do...

amyt-in commented 6 days ago

Having same issue, That's likely due to Sandbox attribute in <iframe> and it not having allow-downloads value.