Closed (fixed)
Project:
SoundManager2
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Feb 2010 at 08:33 UTC
Updated:
14 Jan 2013 at 20:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
greg606 commentedFatal error: Call to undefined function content_notify() in /var/www/leniwiec/sites/all/modules/soundmanager2/sm2_plst_cck/sm2_plst_cck.install on line 12
Comment #2
davebv commentedOnly the soundmanager2 module is ported, the submodules does not work AT all, please be patient.
Anyway, thanks for reporting
Comment #3
davebv commentedBy the way, please, do NOT change the issue title
Comment #4
davebv commentedI did not realized you changed everything about this "task"... this is not a bug, is a task, and the priority should be kept as normal. All the patches you may contribute are very welcome.
Comment #5
QW3RTy-1 commentedHi, thanks for your work !
i've just install sm2 module.. but i don't see it in cck displayfield ?? weird ^^
debug works ok
i also put this files "swftools_soundmanager2_adapted_26-10-2010" in sm2 module folder : is this the right place?
regards
Comment #6
QW3RTy-1 commentedduring uninstall :
Fatal error: Call to undefined function content_notify() in /homez.380/onchange/www/sites/all/modules/sound/soundmanager2/sm2_plst_cck/sm2_plst_cck.install on line 40
so i can't uninstall it ^^;)
Comment #7
davebv commentedThis version does not work. After last time I upgraded the module I think d7 changed something on his api which makes this module break permissions and some other stuff.
I have not the time to port the module to D7, but any patches you provide will be tested.
Comment #8
m4oliveiHey,
Would you accept a patch for Drupal 7 that cleaned all the code as a first step (adhering to Drupal coding standards)? Also, have you thought of using hook_library() for adding in the JS, and would you be alright with getting rid of the JS global variables?
If so, I have a project that needs soundmanager2 and I'd love to clean this module up a bit.
Thanks,
Matt
Comment #9
davebv commentedOh, yes please. Feel free to contribute with any patches you would have done. If you post them I will add it for testing in the repository and commit them.
Thanks a lot for your effort.
Comment #10
m4oliveiAwesome! So here is a first patch toward cleaning up the module and finishing the implementation for Drupal 7. There are a number of changes in the patch, after applying the patch, run update.php to fix some variable names and also clear the cache and rebuild menus. Here is a list of changes so far:
At this point I have only worked on the main module and have only implemented a field formatter for the page player. I will finish the others over the coming week. You'll notice I put the field formatter definition in the main module. With file filed now in core, I didn't see the point in having those two hooks in their own module.
More to come, let me know if you have any questions, comments, concerns!
Thanks,
Matt
Comment #11
m4oliveiHey,
Here is an updated patch, changes include:
The changes are pretty huge, but I think you'll see that its a much improved, easily extendable and overridable way to add SoundManager 2 to your Drupal site.
Let me know any feedback.
Thanks,
Matt
Comment #12
m4oliveiI should mention that the patch in #11 replaces the patch in #10.
Comment #13
davebv commentedThank you for the patch.
I am trying to apply it but found errors concerning the image files (.gif).
The errors are:
I tried that against the latest 7.x-2.x.
Comment #14
davebv commentedby the way:
Thank you for the huge work!
Comment #15
m4oliveiNot sure why that patch didn't work .. I did remove a bunch of files that are no longer needed / weren't used. With commit access now, I just merged my local feature branch with the 7.x-2.x branch and pushed it to the server. Update to the latest on the 7.x-2.x branch to see the changes.
Comment #16
m4oliveiBy the way thanks for the commit access, look forward to working on the project!
Comment #17
davebv commentedThank you for your interest in the project and your work!
Comment #18
ldweeks commentedGlad to see some movement here! I'll take a look at your work for D7 when I get a chance and file issues. Thanks for your work!
Comment #19
ldweeks commentedWow! I just had a chance to test this tonight, and I couldn't break anything. It even worked fine for what I need with views. Great work!
Comment #20
m4oliveiAwesome! Thanks for the feedback. There are a couple issues I am aware of, and when I get a moment I'll describe them in more detail (haven't had a chance to work on this in awhile). In the meantime, I've made the dev snapshot available on the project page so that more people can take a look.
Comment #21
ldweeks commentedThanks for that! I was going to ask, but you beat me to it!
Comment #22
Anonymous (not verified) commentedHi all
I am testing and when i use the inline and the 360º player, which is great, my page stays bigger in height, without no chance to change, well i have to explore better css.
This case is with views
I will try without views and also with page-style
Great module
Best regards
ArchGalileu
www.gasparsantos.eu
www.quartetodouro.eu
www.cameratanovnorte.eu
Comment #23
RachelIsland commentedHi,
Thanks for this great module.
I think I have the same problem as ArchGalileu : I have a 200 pixels of useless space in the bottom of my web page, after the footer, and I can't get rid of it.
http://promotionlovebirds.ca/publicit%C3%A9-audio
Using Firebug, I found out that it is
Thanks for the good work!
Comment #24
muschpusch commentedsubscribe
Comment #25
carwin commentedThe extra space is being caused by "#sm2-container"'s embed, which has a height of 100% on it. This comes from the js of SM2 itself I think. You can easily set #sm2-container{display:none;} or something similar to take care of it.
Comment #26
infines commentedThis module shows the file name instead of the Node title. Will there be a fix for this?
Comment #27
andrew smith commented"I think I have the same problem as ArchGalileu : I have a 200 pixels of useless space in the bottom of my web page, after the footer, and I can't get rid of it."
PLEASE - did you find a solution to this???????????????
Comment #28
Anonymous (not verified) commentedHi andrew smith
i could answer long time ago, so excuse me
add to you css, i advice you to install http://drupal.org/project/css_injector and add a rule with the css stuff because it will work even with updates.
The content:
Best regards
ArchGalileu
Comment #29
andrew smith commentedThank you very much for responding - it worked for me and saved a LOT more time.
THANKS!
Comment #30
hugojoe commentedMy Drupal6 site is hosted in Hostmonter where there is a file upload limitation 2MB. So I transfer 2MB+ audio files through ftp, then use them through module Swftools.
Now I'm configuring Drupal7 to deal with audio using module Media and SoundManager2 .
As the link below describes, it allows to upload files through browser then play(show) them:
http://blog.musicvm.com/install-and-configure-media-module-music-drupal-7 : module Media+SoundManager2
How could I use files 2MB+ transferred through ftp?
Best regards.
Hugo
Comment #31
andreas_jonsson commentedAre there any critical issues left that's blocking a beta version?
Running this on a clean d7 install and the latest soundmanager2 now with no major issues.
Solved the issue with the #sm2-container by adding a new css file with the following css, only targeting the injected container, which is placed one level deeper than the body tag in the dom. Using {display:none} mentioned in #25 caused sm2 to fail.
soundmanager2.css
Then adding a new css file containing the code above when using the page player.
soundmanager2.module, line 33
An essential feature that's lacking is id3 support. It's being worked on in the getid3 module: "Merge getID3 with FileField Meta in Drupal 7" (http://drupal.org/node/780848)
**edit**
sm2-container height issue applies to all player types, not just page player. updated this post to reflect this.
Comment #32
infines commentedIt doesn't seem to play nice with views 3 caching.
Comment #33
andreas_jonsson commentedgridbitlabs, can you elaborate? maybe open a separate issue for it too.
To answer my own question above, I consider this a release blocker: styles added in ui360 multiple times
Comment #34
swaroops1 commentedJust put this in
.css file the problem will be solved..
#sm2-container {
height: 0;
overflow: hidden;
visibility: hidden;
}
Comment #35
swaroops1 commentedJust put this in theme .css file the problem will be solved..
#sm2-container {
height: 0;
overflow: hidden;
visibility: hidden;
}
Comment #36
gagarine commentedPlease see #1146172: Merge with audiofield module
Comment #37
davebv commentedWhat would be great is if anyone could integrate this with media module.
Comment #38
andyhawks commented@davebv - here's a first step to media module integration. this patch permits Soundmanager field handlers for Media type file fields and plays them as expected. hasn't been fully vetted but it's working for me so far. requires Media module.
Comment #39
andyhawks commentedpatch in #38 committed to 7.x-2.x-dev
Comment #40
tr33m4n commented@andyhawks, this patch works as needs be, but I was wondering, whether there's a way of better integrating it with a private filesystem setup? As in the player works fine, allowing media elements to be played, however you can right click and simply download the file... Which is not ideal. Or is this more of an issue with the Soundmanager2 library itself?
Cheers
Comment #41
andyhawks commented@tr33m4n - yeah switching to a private file setup doesn't work yet with this patch. There are known issues with Media and private files as listed on the Media project page and http://drupal.org/project/issues/media?text=private&status=All. I'll be looking into solutions for this more next week; it's a top priority for a site I'm working on too.
Comment #42
andyhawks commentedComment #43
andyhawks commentedcreated beta release for 7.x-2.x.
moved comment #40 to #1877234: Private Files integration.