---
title: "WT PDF.js - WebTolk websites development, Joomla Extensions"
description: "A general-purpose, web standards-based platform for parsing and rendering PDFs."
url: "https://web-tolk.ru/en/dev/joomla-plugins/wt-pdf-js"
date: "2026-06-04T22:28:56+00:00"
language: "en-GB"
---

# WT PDF.js

- **Categories:** [Joomla plugins](https://web-tolk.ru/en/dev/joomla-plugins), [Web Assets](https://web-tolk.ru/en/dev/web-assets)
- **Version:** 5.4.149
- **Date:** 16 September 2025

2326 2146 CTR 108% Plg Free

[Download](https://web-tolk.ru/en/get?element=wtpdfjs)[Versions](https://web-tolk.ru/en/dev/joomla-plugins/wt-pdf-js/versions)[Documentation](https://mozilla.github.io/pdf.js/)[GitHub](https://github.com/mozilla/pdf.js)

A general-purpose, web standards-based platform for parsing and rendering PDFs.

![WT PDF.js](https://web-tolk.ru/images/swjprojects/projects/98/en-GB/icon.webp)

## Description

Plugin register a PDF.js bundle in Joomla Web Assets Manager. Then you can use it in your extensions.

### How to use?

Plugin for Joomla developers. It allows you to use [PDF.js](https://mozilla.github.io/pdf.js/getting_started) anywhere in Joomla 4+: in modules, components, plugins.

To do this in your code, use

```
<?php
use Joomla\CMS\Factory;

$wa = Factory::getApplication()->getDocument()->getWebAssetManager();
$wa->useScript('wt-pdf-js'); // Local file
$wa->useScript('wt-pdf-js-remote'); // Use from CDN
```

### Configuring MIME types on the server for *.MJS-files

Servers often do not have MIME types configured for files with `*.mjs` extensions. Therefore, the browser may not understand that this is actually javascript code and you may see an error in the browser console **pdf.mjs:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "application/octet-stream". Strict MIME type checking is enforced for module scripts per HTML spec.**

To solve this problem, you either need to ask the hosting company's technical support to configure MIME types for `mjs` files. Or do it yourself:

1. Make sure that the PHP module `mod_mime` is installed and enabled in the list of PHP extensions on the server.

2. Add the following code to the end of your `.htaccess`:

```
<IfModule mod_mime.c>
  AddType text/javascript mjs
</IfModule>
```

## Joomla

 **Extension type:** Plugin **Folder:** System **Joomla version:** 5.2.3, 5.3.3

## What's new

 2025-09-16 17:25:46

Addition

### v.5.4.149

Update library to v.5.4.149

---

## Related extensions

[WT View PDF](https://web-tolk.ru/en/dev/joomla-plugins/wt-view-pdf-joomla-plugin)

## JSON-LD Schema

```json
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "@id": "https://web-tolk.ru/#/schema/BreadcrumbList/17",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "item": {
                "@id": "https://web-tolk.ru/en",
                "name": "Home"
            }
        },
        {
            "@type": "ListItem",
            "position": 2,
            "item": {
                "@id": "https://web-tolk.ru/en/dev",
                "name": "Joomla extensions"
            }
        },
        {
            "@type": "ListItem",
            "position": 3,
            "item": {
                "@id": "/en/dev/joomla-plugins",
                "name": "Joomla plugins"
            }
        },
        {
            "@type": "ListItem",
            "position": 4,
            "item": {
                "name": "WT PDF.js"
            }
        }
    ]
}
```

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Organization",
            "@id": "https://web-tolk.ru/#/schema/Organization/base",
            "name": "WebTolk",
            "url": "https://web-tolk.ru/",
            "logo": {
                "@type": "ImageObject",
                "@id": "https://web-tolk.ru/#/schema/ImageObject/logo",
                "url": "images/webtolk-1080p.jpg",
                "contentUrl": "images/webtolk-1080p.jpg",
                "width": 1920,
                "height": 1080
            },
            "image": {
                "@id": "https://web-tolk.ru/#/schema/ImageObject/logo"
            },
            "sameAs": [
                "https://github.com/WebTolk",
                "https://github.com/sergeytolkachyov",
                "https://vk.com/web_tolk",
                "https://vk.com/webtolkru",
                "https://tenchat.ru/sergeytolkachyov",
                "https://t.me/sergeytolkachyov",
                "https://t.me/webtolkru"
            ]
        },
        {
            "@type": "WebSite",
            "@id": "https://web-tolk.ru/#/schema/WebSite/base",
            "url": "https://web-tolk.ru/",
            "name": "WebTolk websites development, Joomla Extensions",
            "publisher": {
                "@id": "https://web-tolk.ru/#/schema/Organization/base"
            }
        },
        {
            "@type": "WebPage",
            "@id": "https://web-tolk.ru/#/schema/WebPage/base",
            "url": "https://web-tolk.ru/en/dev/joomla-plugins/wt-pdf-js",
            "name": "WT PDF.js - WebTolk websites development, Joomla Extensions",
            "description": "A general-purpose, web standards-based platform for parsing and rendering PDFs.",
            "isPartOf": {
                "@id": "https://web-tolk.ru/#/schema/WebSite/base"
            },
            "about": {
                "@id": "https://web-tolk.ru/#/schema/SoftwareApplication/base"
            },
            "inLanguage": "en-GB",
            "breadcrumb": {
                "@id": "https://web-tolk.ru/#/schema/BreadcrumbList/17"
            }
        },
        {
            "@type": "SoftwareApplication",
            "name": "WT PDF.js",
            "url": "https://web-tolk.ru/en/dev/joomla-plugins/wt-pdf-js",
            "description": "A general-purpose, web standards-based platform for parsing and rendering PDFs.",
            "applicationCategory": "Joomla plugins",
            "softwareVersion": "5.4.149",
            "downloadUrl": "https://web-tolk.ru/en/get?element=wtpdfjs",
            "image": "https://web-tolk.ru/images/swjprojects/projects/98/en-GB/icon.webp",
            "operatingSystem": "ANY",
            "interactionStatistic": [
                {
                    "@type": "InteractionCounter",
                    "interactionType": "https://schema.org/DownloadAction",
                    "userInteractionCount": 2326
                },
                {
                    "@type": "InteractionCounter",
                    "interactionType": "https://schema.org/ViewAction",
                    "userInteractionCount": 2147
                }
            ],
            "mainEntityOfPage": {
                "@type": "WebPage",
                "url": "https://web-tolk.ru/en/dev/joomla-plugins/wt-pdf-js"
            },
            "softwareRequirements": "Joomla",
            "applicationSubCategory": "Joomla plugins, Web Assets",
            "isAccessibleForFree": true
        }
    ]
}
```
