Love your plug in and thankful that it has solved my video problem on two sites.

I'd like to be able to place the optional additional argument into the embed code to eliminate the logo and the share and home link buttons that appear at the end of the movie. (see example below).

Can you give me a pointer on how I can accomplish this with what you've released either, ideally with what you have built by entering the info a certain way, or by editing the module. I read through teh code but couldn't exactly figure our where I might be able to accomplish this.

Thanks in advance.

from http://wiki.smugmug.net/display/SmugMug/Video+FAQ%27s
How do I remove the Smuggy logo from the video player? How do I remove the 'Home' and/or 'Share' link at the end of video?
Just like above with auto play, look for the flashVars code in the embed code and add these arguments
l=0 (removes the logo)
se=0 (removes the share link)
so=0 (removes the home link)

so it would look something like:

Comments

winston’s picture

Ah interesting, I must have missed that page.

I may be able to add a configuration option for that. In general the smugmug api isn't too helpful on this though, so till I look at it I'm not sure.

In the meantime, try using the flowplayer module (http://drupal.org/projects/flowplayer). If you have flowplayer installed and configured correctly media_smugmug will use it as the preferred player over the default player from smugmug. A side benefit is that the flowplayer module provides you with a settings page allowing you to control various elements of the flowplayer.

By the way if you have a live site using smugmug I'd love to see it. You could send it to me via my contact form perhaps if you don't want to share it publicly.

gstout’s picture

Didn't realize the code example got cut off. Here it is

<param name="flashVars" value="s=gobbledegook&so=0&se=0&l=0" />
<embed .... flashVars="s=gobbledegook&so=0&se=0&l=0"... />

And I'm using it on a mechanical contractor site, big company but not launched yet and here,

http://graduate.assumption.edu/counseling-psychology/leading-cognitive-b...

Only one video so far but using your native module for the embed code and display here. It made the whole project very easy. Again, thank you!

gstout’s picture

Any thoughts on how I can get this to work with what you currently have released?

winston’s picture

Category: support » feature

Yes, actually there is a straightforward workaround (actually 2) till I'm able to add it as an administrative option (assuming I'll be able to - as I mentioned I'm not 100% sure I'll be able to in a clean way given the lack of an API call for downloading a player from smugmug).

Option 1:

Install the flowplayer module (http://drupal.org/project/flowplayer). Make sure to follow any instructions in the readme file for installing. The flowplayer module result is very similar to the smugmug player, but obviously without the smugmug branding.

Option 2:

You may override the theme_emvideo_smugmug_video_embedded_video function using normal theme override techniques. You'll find the original version of that function in the file media_smugmug/providers/smugmug_video.inc.

If you are not familiar with theming or how to override a themeable function you can find out more about that here - http://drupal.org/node/341628. I'm sorry, but it won't be realistic for me to support you on this. Ask around in the forum if you don't know how to do this or on IRC.

**
Regarding adding this feature to the module, it won't be for at least another couple of weeks due to personal commitments.

jjbk’s picture

would be very interested in this feature as well, the logo is really annoying and i can't figure out how to get rid of it

winston’s picture

Status: Active » Closed (works as designed)

Unless someone can confirm that using the flowplayer module doesn't work and doing a theme override is also not possible I'll have to mark this as "works as designed" for now...

On another note, I'm looking for a new co-maintainer. I'm not working with Drupal at the moment so not able to commit time to this. If no co-maintainer steps forward and I'm not able to get back to Drupal work in the next couple of months then I'll mark the project unmaintained or abandoned, but I'm hoping not to have to do that!