Forum Activity for @ken-rich

Ken Rich
@ken-rich
12/23/14 02:13:29PM
926 posts

No Volume Control in Mobile View


Using Jamroom

I would certainly appreciate it. I can't seem to get anywhere with it.

I put visible in the seek bar control and that shows, but volume appears to be shut off somewhere else.

Possibly with this command I found on the player site, but I don't know where to find it in Jamroom. Javascript or PHP maybe?

noVolume †
Object : Defines the user agent blocklist, which contains regular expressions, which cause the volume controls to be hidden if a match is found.

noVolume: {
  ipad: /ipad/,
  iphone: /iphone/,
  ipod: /ipod/,
  android_pad: /android(?!.*?mobile)/,
  android_phone: /android.*?mobile/,
  blackberry: /blackberry/,
  windows_ce: /windows ce/,
  iemobile: /iemobile/,
  webos: /webos/,
  playbook: /playbook/
}

updated by @ken-rich: 12/23/14 02:14:00PM
Ken Rich
@ken-rich
12/23/14 01:23:09PM
926 posts

No Volume Control in Mobile View


Using Jamroom

Hi Brian,

I did what you said to do but it still didn't show the volume control. That CSS doesn't seem to effect it.
Ken Rich
@ken-rich
12/23/14 12:11:40PM
926 posts

No Volume Control in Mobile View


Using Jamroom

Yes but I have a client who wants to do it with a slider. Other mobile players like youtube, and my radio station player have sliders.

Apparently, the player comes with a slider but it is shut-off by Jamroom. I just need to know what makes it show again.
Ken Rich
@ken-rich
12/23/14 11:53:53AM
926 posts

No Volume Control in Mobile View


Using Jamroom

brian:
Modify the modules/jrAudio/css/jrAudio_player_dark.css and find the mobile section - i.e.:
Change it to:
/* Mobile */
@media handheld, only screen and (max-width: 767px) {
    .jp-seek-holder{
        visibility:hidden;
    }
    .jp-mute .jp-unmute .jp-volume-max {
        visibility:hidden;
    }
    .jp-shuffle .jp-shuffle-off .jp-repeat .jp-repeat-off  {
        visibility:hidden;
    }
}

Do you see how I removed the .jp-volume.bar from the second set of classes? That will make it so it will show.
Everything in the players is controlled by CSS.
Hope this helps!

Hi Brian,

I broke down and got a smart phone for checking this stuff. I am still not seeing a volume control even though I have the code installed the way you suggested.

I'm using a Samsung with Chrome.
Ken Rich
@ken-rich
12/22/14 09:29:18AM
926 posts

How to show different artist name?


Using Jamroom

Hi Paul,

The template is jrAudio_player_dark.tpl

It seems that I am changing the right place, because the artist name disappears from the player.

{$item.profile_name} doesn't appear to be an option. Instead, this seem to be the relevant section in context.

"artist:" seems to be the value to be modified.

  {if is_array($media)}
        {foreach $media as $a}
            {if $a._item.$ext == 'mp3'}
            {
                title: "{$a.title}",
                artist: "{$a.audio_alternate_artist}",               
                mp3: "{$jamroom_url}/{$a.module_url}/stream/{$params.field}/{$a.item_id}/key=Hi9yH4xXiXFK/file.mp3",
                {if strstr($formats, 'oga')}
                oga: "{$jamroom_url}/{$a.module_url}/stream/{$params.field}/{$a.item_id}/key=Hi9yH4xXiXFK/file.ogg",
                {/if}
                poster: "{$jamroom_url}/{$a.module_url}/image/audio_image/{$a.item_id}/large"
            },
            {/if}

updated by @ken-rich: 12/22/14 09:31:47AM
Ken Rich
@ken-rich
12/22/14 08:25:27AM
926 posts

How Can One Change the Default Line Spacing for Returns?


Ning To Jamroom

No problem. Thanks for looking into it...
updated by @ken-rich: 12/29/14 09:23:54AM
Ken Rich
@ken-rich
12/22/14 08:20:31AM
926 posts

How to show different artist name?


Using Jamroom

I still have two clients waiting for this and haven't managed to figure it out yet.

My last attempt was I ran the debug like Paul suggested. I see my new form field is giving me a value:
 audio_alternate_artist => "Ja Ja Binks"

I can also see the value I am trying to swap it with:
artist => "Indie Gospel"

The problem is when I go to the template and substitute them, it doesn't show. So the original is:
 artist: "{$a.artist}",  

I substitute:
 artist: "{$a.audio_alternate_artist}",  

I don't know what $a. stands for but I've tried it with and without it. Perhaps it has to be substituted with something else? Perhaps they are not in the same array?

I don't know but the data is available, I just don't know how to tell the template to display it. Any ideas?
updated by @ken-rich: 12/22/14 08:22:09AM
Ken Rich
@ken-rich
12/22/14 06:53:16AM
926 posts

How Can One Change the Default Line Spacing for Returns?


Ning To Jamroom

Hi Byron,

You are saying that there is more functionality in paragraph mode (p tag), but the wide space problem. So that would be one mode.

You are saying that in breaks mode (br tag) the space problem is gone, but so is some functionality.

So I was thinking, is there a way to put a button on there, to switch it from one mode to another (br tag) or (p tag) so that in effect we could have the best of both worlds.

I don't know how it works, so maybe that's an impossibility. I was just thinking out loud I guess.
updated by @ken-rich: 12/29/14 09:23:54AM
Ken Rich
@ken-rich
12/21/14 10:34:29AM
926 posts

How Can One Change the Default Line Spacing for Returns?


Ning To Jamroom

Hi Brian,

I was cleaning up some imported discussions and noticed it. Some things are spaced out way too far.

It's not too bad if one goes through paragraph by paragraph and replaces with one Jamroom return, but that's time consuming. If there was an automatic way to do that, it would be a real time saver.

Then in the bio section of the Profile index, I wanted to bring two paragraphs closer together but found I couldn't. Not the end of the world, but it would be nice to have a more fine grained control.

I'm not adept enough to play around with tinyMCE, but if there were a way to change modes depending on what one was doing, perhaps that would solve it.
updated by @ken-rich: 12/29/14 09:23:54AM
Ken Rich
@ken-rich
12/21/14 08:05:35AM
926 posts

How Can One Change the Default Line Spacing for Returns?


Ning To Jamroom

First off, it appear to be a "global" or "site wide" phenomenon common to all the tinyMCE editors.

By default, 2 line spaces seems to be set for a return. It gets really noticeable when one is importing content from elsewhere (like Ning).

If the previous site followed normal conventions, two returns were used to generate the same amount of space between paragraphs, but now that's turned into 4 line spaces which is too much.

Consequently, one has to edit all imported content (if it is to look right) which is too time consuming for a large Ning network import.

My question is, how can this be changed globally so that one return equals one line space?
updated by @ken-rich: 07/09/16 09:21:02AM
  56