joomla native pdf embed

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
sgiobbio
Joomla! Apprentice
Joomla! Apprentice
Posts: 24
Joined: Sun Jan 09, 2011 4:39 pm

joomla native pdf embed

Post by sgiobbio » Sun Apr 28, 2024 8:07 am

in joomla 5.1 the native joomla embed pdf plugin seems to no longer work.
If you embed the following code in an article:

Code: Select all

<object data="images/your_pdf_exemple.pdf" type="application/pdf" width="800" height="500">
this string is ignored and does not appear after saving.
Apart from the fact that Joomla's native embed pdf has never worked with iPad because the scroll bars don't appear,
does anyone know of a joomla change that abolished the native pdf embed?

sgiobbio
Joomla! Apprentice
Joomla! Apprentice
Posts: 24
Joined: Sun Jan 09, 2011 4:39 pm

Re: joomla native pdf embed

Post by sgiobbio » Sun Apr 28, 2024 11:00 am

I correct myself.
Native pdf embed doesn't work if you try to insert code with TinyMCE editor, as reported in a previous GarageDrake thread "Problem inserting PDF (not embedding) since 5.1"
By directly inserting the code with CodeMirror the PDF is displayed.
I opened this post because I would have liked to do some experimenting with CSS to make scrollbars appear on the iPad.
I will report any results

b1r63r
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jan 10, 2024 2:38 pm

Re: joomla native pdf embed

Post by b1r63r » Thu May 02, 2024 1:18 pm

I have very similar problems.

Starting with a completely blank page I select "CMS Content" -> Media. I then select a pdf file.

If I leave the "Additional Data" at "Download" there is no reaction when I press the green "Insert Media" button.

If I instead select "Embed" and press "Insert Media" I get an error in the editor saying "This page has been blocked by Chrome"

gws
Joomla! Champion
Joomla! Champion
Posts: 5988
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: joomla native pdf embed

Post by gws » Thu May 02, 2024 2:02 pm

This is supposedly a new security feature with Tinymce.


Post Reply

Return to “General Questions/New to Joomla! 5.x”