Hello,
I have added audiofield to my blog and article content types.
When I upload them in the create node page, they appear, and I can play it ... but when I save, it does not appear with the node.
Does anyone know why this is the case?
I have Audio as part of my display.
Comments
Comment #1
paganwinter commentedI am facing the same problem.
The player appears in the node edit form, but not in the rendered node in view mode.
Also, even in the node edit page, the player doesn't seem to be able to play the file.
Comment #2
tamerzg commentedDid you set the default player from admin/config/media/audiofield ?
Comment #3
paganwinter commentedYes, I did.
But the funny thing is, I added a Media (audio) field to the same content type and selected the Audio format in Manage Display for this field.
Now when I create content and upload any audio in this Media field, it shows up on the node view page, with the selected default player (from the Audiofield settings page).
But the audio added to the 'Audiofield' field of the same node doesn't still show up.
Comment #4
binarylime commentedSame issue for me.
When creating the node the playing appears on the node creation screen but when the node is saved and viewed the player does not appear.
I've had a look in my theme template misc node--page.tpl.php file and can't see anything about the audio file - does there need to be something here?
Thanks.
Comment #5
stado commentedsame here.
just wrote to Tamer before seeing this post (sorry Tamer:).
it seems to be an issue related to the latest version of the module - beta7. before i had no problem and it worked like a charm. but now it stopped appearing in SOME nodes, while in others everything is fine, just as before the upgrade. strange, isn't it?
Just found the answer:
http://drupal.org/node/1799056#comment-6539374
but there still seems to be an issue with the default behavior of the module. Why should it set display to "0" by default? going to the db every time i want to upload an audio file is not very practical :)
Comment #6
anyr commentedThanks! I set all my 0's to 1's, it didnt make any difference, then i changed the display settings from 'audio' to 'downloadable file' which DID show up, then changed it back to audio, which then also displayed. It may just have been the cache though. Main thing is , it's working, but i'd like future uploads to work without database editing as the users will be doing it not me..
Comment #7
tamerzg commentedMarking as duplicate of #1799056: file->display set to 0