Beranda JavaScript jQuery Document Viewer

jQuery Document Viewer


Download jQuery Document Viewer free From IDNulled, We update new contents like Javascript jQuery Document Viewer.

Description

Document Viewer is a jQuery plugin that allows you to view several file formats directly in a web page. The file formats that Document Viewer supports are:

  1. PDF Files
  2. Images – png, jpg, jpeg, gif
  3. Audio – mp3, m4a, oga, webma, fla
  4. Video – m4v, ogv, ogg, webmv, flv

Usage

Initialize the plugin

var documentViewer = $('#document-preview').documentViewer();

Load A document

documentViewer.load('http://absolute/url/to/file.pdf');

Load a document without an extension

documentViewer.load('http://absolute/url/to/1', {extension:'pdf'});

Load a document passing all options

documentViewer.load('http://absolute/url/to/file.pdf', {
    height:600;
    width:500;
    extension:'pdf',
    autoplay:true,
    autoLoadDependencies:true,
    debug:false,
    callback:function(){
        alert('document loaded');
    },
    jPlayer:{
        //you can play any jPlayer options here
        warningAlerts:false
    }
});

Document Viewer uses the following 3rd party utilities:

  • pdf.js
  • jPlayer
  • Flowplayer
  • Google Code Prettify

Important Notes & Quirks

  • This is a jQuery plugin with an optional PHP dependency if you want to use text & code documents.
  • This plugin uses pdf.js to render pdfs. Pdf.js is being developed by a very solid team, but it is still in beta, which means that it may not render all PDFs 100% correctly.
  • The plugin works in IE7 & 8 for all types except pdfs.

Need a project management system? Try my new app


Duet Project Management

MediaBox – Audio & Video


advanced-client-portal

2015-06-20T10:03:13+10:00

DEMO
https://codecanyon.net/item/jquery-document-viewer/1732515
Download Free ✅jQuery Document Viewer
Kindly Note ✅: We update new contents like WordPress Themes, Plugins, PHP Scripts, App, Template everyday. We highly recommend to buy jQuery Document Viewer from the Original Developer website. ❤ Thank you. ❤
IDNulled Developer Team do their best to share Free WordPress Themes, Professional Blogger Templates and other PHP Scripts. Nulled-ID always try their best to find best Premium WP Themes so that you could always Download files and could remain update with more latest updates. You can join us and follow us by visiting our following Social Media Pages.