There's a method by which you can drag files out of Chrome to your local file system. It's detailed here and works well: http://www.thecssninja.com/demo/gmail_dragout/
I have a HTML5 File Upload widget that I'd like to be able to drag a file into, one that's hosted on my server and a reference to which is embedded in the page.
The drag in doesn't seem to get a file in the event.dataTransfer list of files.
Is this possible to do?
Related
I am making SharePoint spaces for various departments in insurance company. One of them wants to save and share their outputs via SharePoint. That outputs are maps with risk areas. Because maps includes many data layers, all the files are in one folder.
I have uploaded a folder with CSS, JSON, JS and HTML files to the library in SharePoint, but when I doubleclicked on HTML file, the page will not load. I think it's due to the JSON files.
What I need is to run whole page correctly with simple doubleclick.
Can anyone give me advice how to run other files supporting HTML with doubleclicking on HTML file?
Thank you.
I've had this same issue. To get the HTML to play in the browser (without SharePoint trying to make you download it), you need to rename the HTML file to an ASPX file.
To do this, you need to be in the Windows Explorer view (from a document library, go Library > Open with Explorer). Then change the file name from index.html to index.aspx.
However, if you're also using JSON files, that could be an issue. SharePoint prohibits you from uploading JSON files unfortunately.
I am new to mediawiki, I downloaded the latest version and installed in my local linux server(/var/www/mediawiki-1.23.2). After configured i got the localsettings.php and put the file in mediawiki, And I run the mediawiki, And i tried to upload a file using(Special:Upload).I uploaded the video file like(value.ogg), the video has uploaded but after check the file in "File:value.ogg" the videofile does'nt show with the poster image and In file history also not getting the thumbnail but the thumbnail is getting in image upload. whether i need to add any other assumption in localsettings.php file to get the uploaded video image as well as with the mwembed player. Kindly suggest any solution.
MediaWiki doesn't render files, each file type needs its rendering set up. For videos and ogg videos in particular, you must install TimedMediaHandler (formerly known as OggHandler). https://www.mediawiki.org/wiki/Extension:TimedMediaHandler
File input allows user to access a local file from browser. Is it possible to load a local file given by file input, modify it and save it back to same local file? I know that HTML5 allows creating writeable filesystem, but basically it seems to be abstract directory.
For security reasons, I don't think the browser can overwrite the local file. Using the File-System API you could only copy the contents of the local file to the sandboxed File-System API directory(found under various obfuscated file names). All manipulation/saving would be done in AppData.
Perhaps displaying the modified image on the screen, right click, save-as to the given file location would also be suitable? (other than that I think you have to upload the image to a server and download it back again)
In my example I'm trying to browse a file from a desktop through the html file.
Is it possible to save the browsed file in some server or place it in some place?
Please let me know if this is possible.
I'd like to know if it's possible/advisable to build the following JPG uploader:
- use html5 drag-drop to select files for upload
- filter drop list to upload JPG files only
- use html5 to save upload list in local storage
- initiate html5 file uploads
And in case the uploads did not successfully complete, on reload of page:
- check local storage for list of uploaded files
- resume upload from last successful file.
Is it possible/What kind of user interaction is necessary to allow HTML5 to get a list of OS filepaths and initiate file uploads?
The idea is to make easy/reliable to upload say 500 JPGs.
Maybe these can help: https://github.com/valums/file-uploader and https://github.com/newbamboo/rack-raw-upload
[EDIT]
Now I use jQuery-File-Upload on all my projects