Uploading video thumbnail not getting in mediawiki file page - mediawiki

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

Related

How can I get wget to download all the pdf files from this website?

The website is: https://dgriffinchess.wordpress.com/
I already downloaded the entire website, but I'd also like to have the pdf files, and yes, I've tried this, this and this answer, and unless wget saves the pdf files other than the main site folder(the one at the Home directory), I don't see them downloading at all..(I don't wait until the command finishes, I just wait for a few minutes and see that no pdf file has been downloaded yet, and considering that there is one almost on every webpage, I conclude that the pdf's aren't getting downloaded)
I don't really care if I have to re-download the entire website again, it's not that big to begin with, what matters most to me are the .pdf files, which doesn't seem to download in any way..
Many thanks in advance
The PDF files are stored on another domain, dgriffinchess.files.wordpress.com.
To completely download this website along with the PDF files, you need to authorize the domain name where the PDF files are stored using --span-hosts and --domains=domain_a,domain_b:
wget --recursive --page-requisites --convert-links --span-hosts --domains=dgriffinchess.wordpress.com,dgriffinchess.files.wordpress.com https://dgriffinchess.wordpress.com/

Drag out file into HTML5 File Upload Dropzone

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?

Can the code in a .crx chrome app have write access to the files within itself (the crx)?

I have a crx that has a number of files that I want to be able to change over time. For example, it might have this structure:
index.html
js/code.js
images/someimage.png
I want to be able to use ajax (or JSONP) to download a new image and overwrite image/someimage.png (after the crx has been installed into chrome). Is this possible?
No, you can not modify the application / extension data files directly.
But, you can store a downloaded image to chrome.storage, chrome.fileSystem, or chrome.syncFileSystem. At run time you can check to see if a downloaded image is there and swap out your image reference. E.g. use a dataURL or blob.

Does HTML5 File API save the downloading file?

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.

html5 local storage for offline viewing

I have a folder, which contains html files, images, stylesheets, and js.
I have uploaded it to the server and when i open it on ipad, all the content should get stored on iPad for offline viewing. How can this be done using webstorage / local storage?
I tried with offline cache but it has its limit of 5MB
Your webserver has to support this by adding
AddType text/cache-manifest .manifest
to your .htaccess or server config.
then you need a manifest file, which says the client "store these files locally". Just create a blank file call it something like "data.manifest" and add this:
CACHE MANIFEST
CACHE
index.html
style.css
etc..
There are many more things you can do in this manifest file. I consider using Google or the search for this.
At least you have to edit your <html>-tag for your manifest file to your site.
<html manifest="/data.manifest" />
That's it. The browser should ask you whether it should store data locally.
You have to split your app in two. A downloader and the actual app.
The downloader will download the required files once and save it to localstorage/webstorage. Once saved your app can be loaded from local copy directly. The downloader part will be saved using cache manifest mechanism.
I am currently developing an app which works in the same way.
Note: JS and CSS files can be saved directly to localstorage, but for images you have to convert them to base64 and then use them. Watch out for the base64 size limitations.
http://en.wikipedia.org/wiki/Data_URI_scheme