![]() |
Quote:
|
Hello,
I've found that on mac firefox and mac safari the links that should be pointing out to a jukebox are instead just doing a 'jump' (instead of a 'play') for example, the link for an audio file is showing this url: Code:
http://www.staytunedtheband.com/forum/local_links.php?action=jump&id=1&catid=1 Code:
http://www.staytunedtheband.com/forum/local_links.php?action=play&id=1 Thanks, Will Lanni |
Quote:
|
Ok now I didnt get that error any more which it allow me to upload image. But the issue it is not display the image. Here my link:
http://www.khmerclub.org/local_links.php?catid=2 Quote:
|
Quote:
As I wrote, I was looking through the code trying to find where the browser/OS testing was done, but couldn't find it. After I get through some client work today, I'll run a global search; I'm assuming you're doing a javascript check? If you can remember what file the OS test is in, would you let me know? I can find it from there. thanks, w |
Quote:
The OS test is done in includes/local_links_install.php. With v2.2.1 (which is what I think you're using), there's a test against $_SERVER[HTTP_USER_AGENT] at line 103, which sets the global $user_windows. Stage 2: Subsequently, also in local_links_include, in function get_linklistbit (which actually builds the individual entry bits), you'll find the line: Code:
$is_musicbox = iif($user_windows and get_mimetype($urlType) and in_array($urlType, $musicboxtypes), 1, 0); Stage 3 - the actual playing. This is the key bit. The links_play template contains a series of nested <object> <embed> sequences that are set up for the various players (Windows Media Player, Real Player, QuickTime, DivX, etc) that LDM can handle. The various variables that it tests against are set in local_links.php, in the action="play" section, towards the bottom. You'll need to work out the correct sequence for the Mac. Presumably WMP is a no go? But perhaps Real player is fine. Let me know how it goes. |
Quote:
I am using 2.2.1, not upgrading to vB 3.6 until they've got a few more versions knocked out. Macs come with Quicktime installed, so I'll probably wind up setting the player to QT. I'm also thinking about grabbing the $type, and if it's mp3, setting up a flash player as well, as that has been the most cross platform/browser friendly so far for music playing. (I'm having problems in Windows FireFox getting it to recognize I don't have quicktime but do have WMP) Anyway, I will let you know how it goes. I'm assuming that whatever I update I should let you know with line numbers and quoted code? Or should I zip up what I do and message it? |
Quote:
I 'beta'-d a test with the Wimpy player, which is Flash based - you'll find it in the VB36 version 2.2.6. Very straightforward. |
I uninstalled this as I really didnt need it any longer...i did like it however. Anyhow,
I uninstalled it and a pop up came and said to run a "something_kill". It went away really quickly and wasnt sure exactly what to do. How do I run this feature? |
It was just a couple revisions of code in the local_links_include.php, I can just post my changes here.
This is for v2.2.1 (I haven't looked at your new version): Line 103: defined $user_mac on line after $user_windows: Code:
$user_windows = iif(strstr($_SERVER[HTTP_USER_AGENT],"Windows"), 1, 0); Code:
global $linkscat, $schemes, $modes, $icon_cache, $user_windows, $user_mac; Code:
$is_musicbox = iif(($user_mac or $user_windows) and get_mimetype($urlType) and in_array($urlType, $musicboxtypes), 1, 0);
|
All times are GMT. The time now is 11:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|