Welcome, Guest
Username Password: Remember me

PDF file won't resize
(1 viewing) (1) Guest
Questions or help on playing media files through the internal players or streaming
  • Page:
  • 1
  • 2

TOPIC: PDF file won't resize

PDF file won't resize 03 Oct 2011 09:42 #2852

  • phil
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
We've been using Bible Study for a couple of years, and recently something has changed such that when you click on the PDF link it opens the popup, but the actual document is tiny compared to the box. In IE the popup can't be resized, and in other browsers - Chrome, Safari, Firefox - the popup can be resized, but the PDF doesn't fill the box, making it difficult to read. I've put this as "Playing Media help" as the PDF is the media and it's not playing right.
Is this a CSS issue or a localization fault?
An example of this is here
Thank you.

Re: PDF file won't resize 08 Apr 2012 09:46 #3234

  • phil
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
The way we've got around this is to change the Global setting in Templates to be Direct Link, such that when you click on the PDF it opens in a new tab.
It also means that when you click on our MP3s they also bring up a direct link rather than opening a player.
I've had to go through and change the Global settings for each MP3 to Inline Player, a long and tedious task!
Why is there no way to distinguish audio "media" from pdf "media" in the Global settings, given they can require different means of displaying?
The following user(s) said Thank You: Brent Cordis

Re: PDF file won't resize 08 Apr 2012 09:58 #3235

This has sutured a thought on my end of coding we may make options to set players based off media to overided default template mode. Thanks for your info. As of right now the popup window is for video playback and dos not support resizing very well. I'll look into it and see if we can make the addition to 7.1.0. There is a lot of changes in there and hope to make them all happon for you.
Thanks,
Brent Cordis
Joomla Bible Study Team Member

Re: PDF file won't resize 09 Apr 2012 20:20 #3236

  • Tom
  • OFFLINE
  • Moderator
  • Posts: 311
One way we might handle this would be to have not one, but a number of global settings for the media player.

I envision perhaps 10 settings - the user would select a media type from a drop down of the media types list, and the assign players, dimensions, and whether or not it is a popup.

Then for a particular media file, the admin would choose global settings for overall or for the filetype (so there could be one generic global setting like now, or set global according to the type).

What do you think?

Also - did you know you can globally change players between the different types without having to change each media file? This is found in the Admin tab.

Tom

Re: PDF file won't resize 10 Apr 2012 00:51 #3237

  • phil
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
Thanks Brent, that was the problem; we had it set for the player for all "media".
I did think that the settings might have been in MIME types, so you can define how each file type is handled by format, so if the file is an MP3 it could be opened in one player, or if it was MP4 a different player.

With the pop out audio player you can allocate a picture (the default is a speaker), but could that be made dynamic in the same way as header and footer (or if you can already, what is the format)?
For example you have a recording called "JBS.mp3", by teacher "JBS", and in the folder "images" you have a picture "JBS.jpg", so following the logic from the footer, the picture you'd write "images/{{teacher}}.jpg" such that when the popup opens it shows an image tailored to that audio.
If I type in "images/{{teacher}}.jpg" to the footer box it shows the correct path (although the file is lower case and the artist has upper case letters), but not when I do it in the image box. Is that box not included in the database search like the footer box?
Last Edit: 10 Apr 2012 05:44 by phil. Reason: replace artist with teacher

Re: PDF file won't resize 10 Apr 2012 15:05 #3239

  • Tom
  • OFFLINE
  • Moderator
  • Posts: 311
Phil,

Tell me a little more about what you are looking to do - a custom image that is different for every media file? Or a different background image for each media type?

You are correct - the image is not available in the footer but is set, I believe, in the Template Display Settings.
  • Page:
  • 1
  • 2
Moderators: Nick Fossen
Time to create page: 0.58 seconds