solved Missing Audio Play Button

Dazed
Dazed
@dazed
8 years ago
1,022 posts
I have some code I am moving from PJ to Audio Pro and the music_row.tpl is not displaying the play button. I am assuming something needs to be initialized here. Here is some partial code. Any idea why the play button is not displaying?

Thanks

{jrCore_module_url module="jrAudio" assign="murl"}
{if isset($_items)}
    {foreach from=$_items item="item"}
    <div class="body_5 page" style="margin-right:auto;">

        <div class="container">

            <div class="row">

                <div class="col1">
                    <div class="center">
                        <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.audio_title_url}">{jrCore_module_function function="jrImage_display" module="jrAudio" type="audio_image" item_id=$item._item_id size="medium" crop="auto" class="iloutline img_scale" alt=$item.audio_title style="max-width:196px;"}</a>
                    </div>
                </div>
                <div class="col1">
                    <div class="p10 middle">
                        {if $item.audio_file_extension == 'mp3'}
							{jrCore_media_player type="jrAudio_button" module="jrAudio" field="audio_file" item=$item}
                        {else}
                            <a href="{$jamroom_url}/{$murl}/download/audio_file/{$item._item_id}" title="download">{jrCore_icon icon="download" size="18"}</a>
                        {/if}
                    </div>

updated by @dazed: 03/24/17 01:30:00AM
nate
@nate
8 years ago
917 posts
Make sure it's not just css. Are you getting errors?

Links help us troubleshoot, although I know this might not public.
Dazed
Dazed
@dazed
8 years ago
1,022 posts
It is on a dev site Nate - http://guitaristworks.com/newmix/music

There is an error actually:

ReferenceError: jrSkinInit is not defined
updated by @dazed: 12/22/16 02:03:55PM
brian
@brian
8 years ago
10,148 posts
I do see a jrSkinInit() Javascript error on the site. Not sure if that is part of the skin or something on our end, so we can check that out.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
8 years ago
1,022 posts
Nah not on your end Brian. I am building a hybrid. I want to move in some features from PJ into Audio Pro. So far it has all worked well. I just cant get the audio on here.
brian
@brian
8 years ago
10,148 posts
Get rid of the jrSkinInit() function call on the page - that could be causing issues.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
8 years ago
1,022 posts
Yep was just going to post that lol. I removed it and it appeared. Go figure!

Thanks for the help.
brian
@brian
8 years ago
10,148 posts
Dazed:
Yep was just going to post that lol. I removed it and it appeared. Go figure!

Thanks for the help.

Awesome - glad to hear that ;)

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net