Not understanding this module completely, I goofed up.

In the jQuery Media module I enabled a CCK node type that accpets PDF files via CCK FileField module.

Everything works great - but using jQuery Media to display a 8 x 11 PDF is not workng - the size is much to small.

So, I disabled, jQuery Media for the Node type and saved. - Didn't seem to stop the jQuery Media frame from displaying the PDF.

So then I went into the CCK node and deleted the field that accepts the PDF - saved structure and then created a new CCK FileField saved and uploaded.

The jQuery Media frame still appears.

Is there a way to revese this?

I plan on using jQuery Media for Video later - its a great program and runs smooth - just not for PDF's I guess.

thanks

Comments

origaman’s picture

This is a duplicate of the following bug:

http://drupal.org/node/304664

Solution: use the dev version, the bug has been fixed there.

rtackett’s picture

Status: Active » Closed (duplicate)

In version 5x, as a work around, I disabled the pdf rendering by removing ",pdf" at line 176 of the jquery.media.js file. It will probably work for 6x although I haven't tested it.


   // special cases
    iframe: {
        name:  'iframe',
        types: 'html' //removed ",pdf" to disable pdfs from rendering
    },
    silverlight: {
        name:  'silverlight',
        types: 'xaml'
    }