Comments (8)
Do you have something like require.js or any other module loader include as well?
from streamsaver.js.
AngularJS files are loaded not require.js
.
from streamsaver.js.
Most be doing something wrong. cuz this jsfiddle works just fine
<script src="https://cdn.rawgit.com/jimmywarting/StreamSaver.js/master/StreamSaver.js"></script>
<script src="https://cdn.rawgit.com/jimmywarting/browser-su/master/build/permissions.js"></script>
<script src="https://wzrd.in/standalone/[email protected]"
integrity="sha384-8EYry4yokV53rGHMFtPqeVlAPgxn8yxr/RvxC4bZt3vlneaDPzWkSJCvBDBTuXAV"
crossorigin>
</script>
<script>
!streamSaver.supported && prompt(
'ReadableStream is not supported, you can enable it in chrome, or wait until v52',
'chrome://flags/#enable-experimental-web-platform-features'
)
alert(typeof streamSaver)
</script>
I got an alert with object
Do you get any 404 - not found
when trying to load StreamSaver.js?
from streamsaver.js.
The error is not seen after referring StreamSaver.js
as below
<script src="https://cdn.rawgit.com/jimmywarting/StreamSaver.js/master/StreamSaver.js"></script>
Thanks!
from streamsaver.js.
just a heads up
If you load it from rawgit then it means you will always use the latest from the master branch
You should maybe download StreamSaver.js to you local environment...
from streamsaver.js.
Ok Thanks! Will do that till a NPM module is available.
One quick question, How does permissions.js
and web-streams-polyfill
relates withStreamSaver.js
? Do I need to save and refer the local copy?
from streamsaver.js.
permissions.js doesn't relate what so ever to streamsaver.js
I don't think you even need it.
I used it in the example to request permission for video and/or audio to show others that it can write to the disk while it's recording
permissions.js is called browser-su and it helps you to get/know permission for all kind of stuff
from streamsaver.js.
I have actually planed to release a NPM module #6 So it would be grate if you didn't took that away from me, since i'm also the one who is going to have to update it
from streamsaver.js.
Related Issues (20)
- When will the new version of Streamsaver be released? HOT 2
- check integrity of downloaded files
- mitm page ends in 404 HOT 1
- Not compatable with download manager extensions HOT 4
- Incomplete download when writing a file in chunks HOT 5
- File cannot be loaded with unsecured connection, when serviceWorker does not exist
- How can I merge the generated docx into a zip?
- Why is the data always 0 when I add files like this? My binary is sure to have data
- Why my memory usage blow up after stopping a download?
- There is something wrong with the file saved in firefox.
- Iframes are not removed from the DOM after a file is downloaded HOT 1
- The browser will crash when downloading files exceeding 2G through fetch HOT 4
- Why is a call being made to an external site at all? HOT 1
- invalid error: [StreamSaver] You didn't send a messageChannel HOT 2
- Incomplete download when write to the streamSaver HOT 1
- Service worker cuts out immediately when network connection is interrupted in FF
- Do I need to use mitm?
- How Do I Modify sw.js to Avoid SSL Certificate Verification? HOT 1
- Turbo rails, secure context: TypeError: Cannot read properties of null (reading 'postMessage') in iframe postMessage handler
- Websocket download not work in firefox HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamsaver.js.