Forum Activity for @monee

alt=
@monee
01/21/25 08:13:54AM
86 posts

html audio player


Design and Skin Customization

this player is requiring a Json file to load playlist. Is there way to do this in jamroom? I want to load all song into this player.
//load playlist from json

fetch('data/1.txt')
.then(response => response.text())
.then(content => {

var d = JSON.parse(content);
settings.media = d
player = new waf(document.getElementById("player"), settings);
updated by @monee: 01/21/25 08:14:57AM
alt=
@monee
01/20/25 04:27:24AM
86 posts

html audio player


Design and Skin Customization

Michael do you have a email that I can send you a .zip? I'm not sure if I need to put it in module or not but main thing I need to figure out is how to get the audio to load into it properly
alt=
@monee
01/15/25 03:28:33PM
86 posts

html audio player


Design and Skin Customization

so the code I posted at the top comes from the jrPlaycount module in the player_events.tpl and it looks like only set up to count jamroom players
alt=
@monee
01/15/25 02:55:29PM
86 posts

html audio player


Design and Skin Customization

that's not the player code. that code comes up in the page source code right after the player code. it comes from jamroom. it looks like that's what counts the play but it's looking for #jquery_jplayer_{$uniqid} for the input for progression
I'm checking by playing the song and then checking the datastore. I can see the change when I play using jamroom players but no matter how many times I play on new player no counts. I'm guessing that is the same reason the beatslanger2 beat player doesn't count play either
updated by @monee: 01/15/25 02:58:44PM
alt=
@monee
01/14/25 08:22:04PM
86 posts

html audio player


Design and Skin Customization

I'm guessing it has to do with this code but I don't know how to apply it to the new player
    $(document).ready(function() {
        var pc_mh318ll = 0;
        $('#jquery_jplayer_mh318ll').bind($.jPlayer.event.timeupdate, function(e) {
            if (data.instance.getCurrentTime >= 10 && pc_mh318ll === 0) {
                pc_mh318ll = 1;
                $.get(core_system_url + '/' + jrPlayCounts_url + '/record_play/jrAudio/10/10');
            }
        } );
        var ps_mh318ll = 0;
        $('#jquery_jplayer_mh318ll').bind($.jPlayer.event.play, function(e) {
            if (ps_mh318ll === 0) {
                ps_mh318ll = 1;
                $.get(core_system_url + '/' + jrPlayCounts_url + '/start_play/jrAudio/10/264');
            }
        } );
    });

--edited by michael to add [c o d e ] blocks so its readable ---
updated by @monee: 01/14/25 08:23:49PM
alt=
@monee
01/14/25 03:52:34PM
86 posts

html audio player


Design and Skin Customization

I add a new player to my site but the streams don't count when I play audio on new player. How can I make streams count?
alt=
@monee
01/08/25 12:10:51AM
86 posts

multiple search filters


Design and Skin Customization

I have those. I created 6 filters like that. They work great individually. The trick is to get them to all work together. What I was thinking is check boxes in the list to filter more that one option on the list. Like check two different genre box and only show those 2 or how every many checked
alt=
@monee
01/07/25 11:37:48PM
86 posts

JrTags


Design and Skin Customization

that doesn't work and I've read all the documentation. I've tried a lot of ways to make this work but it always show all the tags and not just audio. also for what I'm doing I need them to be listed like in detail page and not in cloud.
alt=
@monee
01/07/25 11:09:50PM
86 posts

searching user name


Using Jamroom

Just checked this out but it's the same. the only reason the audio track shows up in the search is because it has elvis in the name of the song so that song shows but he has 5 songs and the other 4 don't show. What I would want is the search elvis and all his songs show. not just the one with elvis in the title. Basically search for music by artist name
alt=
@monee
01/07/25 11:08:35AM
86 posts

JrTags


Design and Skin Customization

How do you show tag cloud only from jrAudio and how do you show them in row like on details?
1