jQuery.telligent.evolution.media
This module allows server-side file viewers to be invoked for URLs from the client side.
Methods
previewHtml
Returns the FileViewer-provided Preview HTML for a given URL
$.telligent.evolution.media.previewHtml(url, options)
options:
width
: max viewer widthheight
: max viewer heightsuccess
: callback function which is invoked when the preview html is returned from an ajax request. The function is passed the response.error
: callback function which is invoked if the preview html could not be generated
viewHtml
Returns the FileViewer-provided View HTML for a given URL
$.telligent.evolution.media.viewHtml(url, options)
options:
width
: max viewer widthheight
: max viewer heightsuccess
: callback function which is invoked when the view html is returned from an ajax request. The function is passed the response.error
: callback function which is invoked if the view html could not be generated