robnyman / robnyman.github.com Goto Github PK
View Code? Open in Web Editor NEWDemos
Demos
Hello! I was trying to make my own engine for caching assets for my web app, and was considering IndexedDB, Your example of storing images using db is quite popular on webs, but it seems, it has a problem:
http://robnyman.github.com/html5demos/indexeddb/
base.js:48 Uncaught Error: DataCloneError: DOM IDBDatabase Exception 25
Does this mean that my Crome Version 23.0.1271.101 won't be able to store Blobs in IndexedDB and I should consider using other storage options?
Or this is a glitch in a code, you are using? By the way, it also throws some warnings. Here is whole output
Success creating/accessing IndexedDB database base.js:75
Image retrieved base.js:27
Blob:[object Blob] base.js:31
Putting elephants in IndexedDB base.js:42
Numeric transaction modes are deprecated in IDBDatabase.transaction. Use "readonly" or "readwrite".
Uncaught Error: DataCloneError: DOM IDBDatabase Exception 25 base.js:48
After Clicking image , Image orientation is changed.
How it can be original as it is ?
When taking a picture using the example app the error from the title displays.
I'm using an Android LG G3 with minimal background apps running and and the "Choose File" dialog.
This does not work on Safari IOS, do you know that?
Tried on Chrome Beta 39.0.2171.54
.
Looks like Chrome remove the blob as soon as revokeObjectURL
is called, causing 404 when trying to display the picture newly taken.
Hi Robert,
I´d like to ask you, if there is a chance to start your very useful script automatically?
Something like window.onload? Do you have a simple script for that, which I can use?
I´m planning a presentation which is going to be in html and several sites.
Of course I could start the fullscreen option manually, but if I change to another site every 10-15 seconds, fullscreen has to be started again. The thing is, it has to run on a smart-tv...
Any ideas for me?
THX a lot in advance,
Greg (Germany)
Any idea how this API affects older browsers? I got a report of someone being locked in fullscreen in firefox 7.1. I assumed it would just gracefully ignore non-compatible versions, but I guess not? would love any thoughts on this. Thanks!
Benjamin
$('#btnSaveFormHTML').click(function() {
var textToWrite = $('form#posts-filter').html();
var textToWriteWrap = '<form id="posts-filter" method="get">'+textToWrite+'</form>';
var textToWriteClean = textToWriteWrap.replace(/>[\n\t ]+</g, "><"); //minify
var textFileAsBlob = new Blob([textToWriteClean], { type: 'text/html' }); //Do I need Blob?
//..... LocalStorage code here??
});
Would it be possible to save data like audio files onto local storage or session storage?? and if yes how can that be achieved
regarding your problem of scrollable fullscreen with IE11 http://robnyman.github.io/fullscreen/index-high-content.html
see my solution https://stackoverflow.com/a/44482445/4481831
after that i don't think you need html:-ms-fullscreen { width: 100%; /* needed to center contents in IE */}
BlobBuilder seems to have been deprecated in favor of the Blob constructor. On Chrome, none of the various BlobBuilders checked were defined. I had to make the following changes to get it to work properly:
Hi,
first thanks for the code.
How did you make video Full Screen automatically on landscape mode? It seems isnt allowed by the browser unless you trigger a click/keydown events.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.