I have both swftools and emfield installed.
The onepixelout player is working fine on local mp3 files, but is not working with remote mp3 files.
This had been working fine with swftools 6.x-2.5.
Similarly, the flowplayer3 player is working fine on local flv files, but is not working with remote video files.
This too had been working fine with swftools 6.x-2.5.
This is the code that gets produced for the emaudio field:
<div class="field-item odd">
<embed src='http://www.somewebsite/somefile.mp3' autostart='false' width='425' height='350'></embed> </div>
This is the code that gets produced for the emvideo field. Note the error message "Sorry, you need to install flash to see this content."
<div class="emvideo emvideo-video emvideo-zzz_custom_url"><div class=" swfobject" id="emfield-swfobject-2">Sorry, you need to install flash to see this content.</div>
</div>
Here is my configuration:
- install fresh copy of drupal-6.19
- install swftools 6.x-3.0beta4
- install emfield 6.x-2.3
- install jquery_ui 6.x-1.4
- install jquery_update 6.x-2.0-alpha1
- install cck
swftools settings:
- default player for single video: flowplayer3
- default player for single audio: onepixelout
emfield settings:
- "use swfobject" checked
- swfobject location: I tried both "sites/all/libraries/swfobject" and "sites/all/libraries/swfobject2"
- I also tried unchecking "use swfobject", but that had no impact.
I suspect the problem might be something I am doing. But I have been working on this all day, and still no luck. Any help greatly appreciated!!
Comments
Comment #1
kobnim commentedIndeed, the problem was mine!
I had forgotten that with custom url's, we need to call the swf() function: