Postponed (maintainer needs more info)
Project:
Mediafield Display
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2007 at 23:11 UTC
Updated:
18 Feb 2008 at 04:13 UTC
Combining 1pixelout with mediafield is a huge help to my site. Unfortunately, I am getting the message "Error opening file" whenever I attempt to play the attached audio file. I believe this problem is related to a similar issue reported with http://drupal.org/node/157922 where the media url is not being interpreted properly, however I'm unable to track it down due to my inexperience with code. My audio files are being stored as /files/musicfile.mp3. Thanks in advance to anyone that can help.
Comments
Comment #1
bartoki commentedLooking at this problem some more, I've isolated where I think the problem is occurring. In the file mediafield_display.module where the 1pixelout player is called, it's generating an incorrect URL for the audio file (below).
I believe this may be similar to http://drupal.org/node/179439 where the solution was to use str_replace (below).
However, I'm unable to tweak mediafield_display.module to generate the proper URL for the audio. Am I barking up the right tree?
Comment #2
colanI just created an official release, Can you try it with that and see if it helps? The part of the code that you're describing has been reworked; it may solve your problem.
Comment #3
drew reece commentedI seem to be having a similar error.
The player appears, but clicking for playback causes "Error opening file". I also get a log entry stating a 404 error.
The 404 url is
https://abolitionwya.org.uk/%2Fabolitionwya.org.uk/files/media/audio/01_...
when it should be
https://abolitionwya.org.uk/files/media/audio/01_Veneno.mp3
A strange thing is that the player works if the user is accessing the site via HTTP not HTTPS.
Weird.
Drew