- Posts: 2
COMMUNITY FORUM
Local audio won't load / play
- kmfabercreative
-
Topic Author
- Offline
- New Member
Less
More
13 years 1 week ago #48320
by kmfabercreative
Local audio won't load / play was created by kmfabercreative
Hi everyone,
Okay, so I had installed k2 v.2.5.7 & allvideo v.4.4 to use for media provision on a new site. However, I couldn't get the audio that we needed to play (local mp3 via FTP to the "images/audio" folder that we created), for whatever reason.
Allvideos plugin parameters for audio were set appropriately (local folder was set to "images/audio") but nothing was working (couldn't even get the tags to work in content).
So, I started to do some looking. First, I did a complete manual upload via the media upload function within a k2 item (25MB, it took a bit). This, I found, ended up placing the file in the "media" folder (media/k2/audio), which was a bit odd. So, I dug a bit further.
I looked into the plugins php files (specifically, jw_allvideos.php) and noticed that the audio parameters that were hardcoded were set to ('afolder','images/stories/audio'). Upon changing the (images/stories/audio) path to "images/audio", or removing it completely, my problems were solved. So, it appears this hardcoded parameter was overriding the settings in the plugin.
I have tested this minimally (I removed the path completely and changed the folder in the parameters to something other than "images/audio", created the new folder and uploaded some media to it, then called it in an item and it worked), but I think this may be the root of my issue.
I hope that if others are finding issues such as mine, this may help them out. For moderators / admins of this category, any thoughts or insights? Can you validate what I've said (or not)?
Cheers
kmfabercreative
Okay, so I had installed k2 v.2.5.7 & allvideo v.4.4 to use for media provision on a new site. However, I couldn't get the audio that we needed to play (local mp3 via FTP to the "images/audio" folder that we created), for whatever reason.
Allvideos plugin parameters for audio were set appropriately (local folder was set to "images/audio") but nothing was working (couldn't even get the tags to work in content).
So, I started to do some looking. First, I did a complete manual upload via the media upload function within a k2 item (25MB, it took a bit). This, I found, ended up placing the file in the "media" folder (media/k2/audio), which was a bit odd. So, I dug a bit further.
I looked into the plugins php files (specifically, jw_allvideos.php) and noticed that the audio parameters that were hardcoded were set to ('afolder','images/stories/audio'). Upon changing the (images/stories/audio) path to "images/audio", or removing it completely, my problems were solved. So, it appears this hardcoded parameter was overriding the settings in the plugin.
I have tested this minimally (I removed the path completely and changed the folder in the parameters to something other than "images/audio", created the new folder and uploaded some media to it, then called it in an item and it worked), but I think this may be the root of my issue.
I hope that if others are finding issues such as mine, this may help them out. For moderators / admins of this category, any thoughts or insights? Can you validate what I've said (or not)?
Cheers
kmfabercreative
Please Log in or Create an account to join the conversation.
- Katia
-
- Offline
- Platinum Member
Less
More
- Posts: 4696
13 years 1 week ago #48321
by Katia
Replied by Katia on topic Re: Local audio won't load / play
What joomla version do you use?
Please Log in or Create an account to join the conversation.
- Odin Mayland
-
- Offline
- Platinum Member
Less
More
- Posts: 404
13 years 1 day ago #48322
by Odin Mayland
Replied by Odin Mayland on topic Re: Local audio won't load / play
I am having the same issue.
I changed the "Local Audio Folder" for AllVideos to the same one that K2 uploads files via the "Media" tab in the K2 Item page: media/k2/audio
Now it all works.
I changed the "Local Audio Folder" for AllVideos to the same one that K2 uploads files via the "Media" tab in the K2 Item page: media/k2/audio
Now it all works.
Please Log in or Create an account to join the conversation.
- kmfabercreative
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 2
12 years 11 months ago #48323
by kmfabercreative
Hi Katia,
Sorry for the delay here, didn't get notified of the response... latest version of joomla as of yesterday (2.5.4 - obviously, 2.5.5 just released today).
Replied by kmfabercreative on topic Re: Local audio won't load / play
What joomla version do you use?
Hi Katia,
Sorry for the delay here, didn't get notified of the response... latest version of joomla as of yesterday (2.5.4 - obviously, 2.5.5 just released today).
Please Log in or Create an account to join the conversation.