Home / Premium Pro Plugins / jQuery Document Viewer

jQuery Document Viewer

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...Loading...



DOWNLOAD

Description

Doc Viewer is a jQuery plugin that lets you view a number of file codecs instantly in an internet web page. The file codecs that Doc Viewer helps are:

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

Utilization

Initialize the plugin

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

Load A doc

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

Load a doc with out an extension

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

Load a doc passing all choices

documentViewer.load('http://absolute/url/to/file.pdf', 
    top:600;
    width:500;
    extension:'pdf',
    autoplay:true,
    autoLoadDependencies:true,
    debug:false,
    callback:operate()
        alert('doc loaded');
    ,
    jPlayer:
        //you'll be able to play any jPlayer choices right here
        warningAlerts:false
    
);

Doc Viewer makes use of the next third occasion utilities:

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

Essential Notes & Quirks

  • It is a jQuery plugin with an non-compulsory PHP dependency if you wish to use textual content & code paperwork.
  • This plugin makes use of pdf.js to render pdfs. Pdf.js is being developed by a really stable crew, however it’s nonetheless in beta, which implies that it could not render all PDFs 100% accurately.
  • The plugin works in IE7 & eight for all sorts besides pdfs.

Want a challenge administration system? Attempt my new app


Duet Project Management

MediaBox – Audio & Video


advanced-client-portal


DOWNLOAD

Check Also

new_banner-android.jpg

Church App – Full Android App

DOWNLOAD The Church App is a full Android App template developed that will help you ...

590x242.jpg

Retro Dots – Back to School

DOWNLOAD RETRO DOT’S sport is a really distinctive, easy and enjoyable crammed addictive NATIVE iOS ...