 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
July 28th, 2005, 12:38 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
| mp3 reported as a Video
I just uploaded my first mp3 to my gallery and I get the "Audio" thumbnail file, but when the page loads with the file embedded, under the embedded player, it says `This is a video, click on the thumbnail to download' - it's obviously not a video, but an audio mp3. It plays fine, it's just this text is being confusingly placed under the player.
How do I change this behaviour and remove the text? I know I can look in the language file, but there is only one entry in it for this and I'm sure it's used in the correct spot, somewhere right? So wouldn't want to change it and then cause confusion elsewhere!
Of note, when I upload a QT .mov file it plays it fine and gives me the "Quicktime Video" thumbnail, but there's no text displayed under the embedded movie file. I would of thought in this case to see the 'This is a video...' text message.
Anyhow, any ideas?
Thanks.
Last edited by funkmiester; July 28th, 2005 at 12:40 AM.
|
| |
July 28th, 2005, 08:41 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,795
|
Well you can alter your language file from video to say multimedia
english.php under languages directory
|
| |
July 28th, 2005, 11:09 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
|
Yeah, I know. But I'm trying to understand why an audio file would have this reference text for video and why a video has no text shown, when it should be getting this same video related text.
Is it something in my configuration that is causing that or is it normal behaviour? If normal, what's the thinking behind it? I ask, as I'll have to explain it to my users when they ask me the same question |
| |
July 28th, 2005, 11:13 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,795
|
Remember the mp3 is a multimedia file like an avi file
The normal multimedia files you can load players for which you have on. This is why you dont see the normal download link. There is no player loading for mp3 type so you see a download link
|
| |
July 28th, 2005, 11:17 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,795
|
elseif( stristr($bigimage,".mp3") || stristr($bigimage,".wav") || stristr($bigimage,".mid") || stristr($bigimage,".aiff") ) {
You would be loading a player if your files are this type and the players are turned on
|
| |
July 28th, 2005, 11:22 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
|
But I do have a player loading.....in this case Windows media player.....that's what confuses the matter  See screenshot.
|
| |
July 28th, 2005, 11:30 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,795
|
Yes and as previously stated change the language string to read what you want.
$Globals['pp_lang']['video'] = "This is a video, click on the thumbnail to download";
to say this
$Globals['pp_lang']['video'] = "This is a multimedia file, click on the thumbnail to download";
|
| |
July 28th, 2005, 12:20 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
|
Ok, but doesn't seem the cleanest solution, at least with not knowing why it behaves that way.
By the way, there is nothing to click on to download with the player loaded - all you can do is click on the play/stop/pause/fwd/rewind buttons. The thing is not downloadable, but rather just playable as the screenshot above indicates......unless of course, you download it via the Zip n Download link which in this case, is enabled.
|
| |
July 28th, 2005, 12:31 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,795
|
Well simply because it has to be there no matter what. Remember you only load players for certain files so what about all the other multimedia files out there that a user may allow? They are offered as a download link only since there is no associated player
|
| |
July 28th, 2005, 12:41 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
|
Ok, thanks. I understand it's a hard call to make on how you have to cover all bases. I guess I can either turn off embedded players or simply change the language file.
Maybe as a suggestion......can you add a text 'Download' link to the the section which includes "Add to Favorites - Post a Comment" etc......or somewhere relevant. Would be useful, especially if the Zip n Download function is disabled in a configuration.
Thanks.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 10:46 AM. | |