Forum Activity for @nmaster88

Nmaster88
@nmaster88
02/22/16 03:39:38PM
94 posts

Using a media player with Playlists


Using Jamroom

Cool, you're helping a lot,

but how can i access the jrCore_media_play_key?
I want to play it on the site using the jPlayer library.
Nmaster88
@nmaster88
02/22/16 02:18:32PM
94 posts

Using a media player with Playlists


Using Jamroom

@michael doing that simple test it worked thanks,
it seems i'm having a hard time to find the url path to the audio musics that are on the profiles.
updated by @nmaster88: 02/22/16 02:47:51PM
Nmaster88
@nmaster88
02/22/16 01:51:55PM
94 posts

Using a media player with Playlists


Using Jamroom

Maybe the question is hard to understand.

What happens is the follow, i dont know much of jQuery, and i'm trying to have the player on the image to work.
In my skin i have in "skin/js/" the "jPlayer" library and its not working, i mean the play button plays nothing, and my question is if there is a problem with it in Jamroom, but my guess is not...
I'm adding the items to the playlist this way:

template with items
<a href="#"  id="addmusictolist" data-title="{$item.audio_title_url}" data-artist="{$item.audio_file_artist}" data-mp3="{$jamroom_url}/{$item.profile_url}/audio/{$item._item_id}/{$item.audio_file_name}" data-poster="{$jamroom_url}/{$item.profile_url}/audio/{$item._item_id}/{$item.profile_image_name}">

in jPlayer/demo.js i populate the playlist
  $(document).on('click','#addmusictolist',function(){
    myPlaylist.add(
        {
         title:  $(this).attr('data-title'),
          artist:  $(this).attr('data-artist'),
          mp3: $(this).attr('data-mp3'),
          poster: $(this).attr('data-poster'),
        }
    )

  }
  )

I was thinking, can the jquery get access to the mp3 file that way?
It can be that this is not a problem related to Jamroom, but i'm thankful for all the help
playlist_tests.jpg playlist_tests.jpg - 144KB

updated by @nmaster88: 02/22/16 01:52:26PM
Nmaster88
@nmaster88
02/22/16 01:34:18PM
94 posts

Phpstorm help for Jamroom


Using Jamroom

Lol @michael, ok i'll try to be more explicit.

i was talking about functions like "jrCore_media_player" because i think i've seen on a video documentation for a function like that using phpstorm, if i click on things like a div, class, etc it always show doc.

Also thanks for the tip.
Nmaster88
@nmaster88
02/22/16 12:31:16PM
94 posts

Using a media player with Playlists


Using Jamroom

Ok thanks, didn't test it.
Another question, does jquery jPlayer library works on jamroom or i really have to use the jamroom playlist module?
And if i want to do changes, to the playlist module, like template and css files, shall i create a copy of it with a different name? I think i've seen something about it.
Nmaster88
@nmaster88
02/22/16 12:27:20PM
94 posts

Phpstorm help for Jamroom


Using Jamroom

Yes it works, but not for jamroom function i think i'm missing something.
Nmaster88
@nmaster88
02/22/16 04:44:28AM
94 posts

Phpstorm help for Jamroom


Using Jamroom

As i've seen in a video,
i believe i've seen help documentation in phpstorm for jamroom.
What i mean is, for exemple, i click on a function of jamroom in phpstorm and i can have access to documentation for it.
How can i config that?

Thanks
updated by @nmaster88: 05/24/16 07:25:22PM
Nmaster88
@nmaster88
02/20/16 05:03:46AM
94 posts

Using a media player with Playlists


Using Jamroom

Thank you, Michael that works!

I want to do something like this,
the user when is logged in he can do he's own playlists,
but when he's logged out he can still use the player and add musics to it, how can i do that?
Created a default user to use the playlists when no one is logged in?

Another question, i want the player to have the layout (i will show on the image), shall i create a copy of the jrPlaylist module and create there a template and change the css code?

Thanks.
playlist_tests.jpg playlist_tests.jpg - 144KB

updated by @nmaster88: 02/20/16 05:04:43AM
Nmaster88
@nmaster88
02/19/16 09:26:59AM
94 posts

Signup form


Design and Skin Customization

Thanks guys! Our signup form seems to be working well, we will come back at this later to see if we find any problem.
Nmaster88
@nmaster88
02/19/16 04:50:37AM
94 posts

Using a media player with Playlists


Using Jamroom

I'm trying to find a way to use a media player that plays a playlist in my custom skin.
What we are trying to do is adding a player at the bottom where the user can then add musics that are displayed on the site with a "add to playlist" button.

I know i can use the module jrPlaylist for doing that.
So i added the code
{jrCore_media_player type="jrPlaylist_player_dark" module="jrPlaylist"}
Well, and it obviously says theres no media, i need to pass some items, and the datastore of this module is empty.
From this video
https://www.jamroom.net/the-jamroom-network/documentation/modules/285/playlists
[updated]it seems that it appears a tab of playlist on the profiles, and with that the user can create a playlist going to artists profile and adding the musics.

Can i do something similar but to the index page, where a user can click on the musics like its on the photo, and they go to the playlist of the player?

How can i do this? Thanks
playerlist.jpg playerlist.jpg - 148KB

updated by @nmaster88: 05/23/16 11:53:48PM
  6