On a localhost install of Drupal I tried using the SWF filter like this:
<swf file="media/audio/myaudio.mp3">
The player didn't show.
But when I changed 'localhost' in my browser's URL to my IP address, it worked properly.
On a localhost install of Drupal I tried using the SWF filter like this:
<swf file="media/audio/myaudio.mp3">
The player didn't show.
But when I changed 'localhost' in my browser's URL to my IP address, it worked properly.
Comments
Comment #1
Stuart Greenfield commentedTo diagnose this properly can you post the source code for the swf content as it appears when browsing using http://localhost, and as it appears when browsing to an IP address. Bear in mind that the <swf> format is cached as a filter, so you may need to create two nodes to generate two pieces of code.
In principle it should work in either case - swf tools doesn't do anything other than construct urls to refer to files, so whether you are using localhost, an ip address, or even a local server name, all should work ok.
The only issue can arise if you are generating xml playlists - these have the url coded in to them, but for a single file that shouldn't be the case.
Comment #2
joachim commentedIt looks like it's a caching issue rather than the difference in URLs.
I've just tried making a flash node with an mp3 file, and:
- Firefox 2: nothing.
- Safari: fine
- Firefox 2 logged-out: fine
- Firefox 2 logged back in: nothing
- Tried using Devel module to empty the case and still nothing.
Here's the code Firefox 2 has:
Comment #3
Stuart Greenfield commentedOver a year old with no follow up. Localhost is working fine on test setups, and no other reports of an issue, so changing to closed.
Re-open / re-post if this wrong.