Forum Activity for @derrickhand300

derrickhand300
@derrickhand300
07/24/16 08:21:20AM
1,353 posts

MP3 Player Broken


Using Jamroom

Thanks Douglas..I added the code you shared with me and ended up with this
{jrCore_module_url module=$params.module assign="murl"}

{assign var="ext" value="`$params.field`_extension"}

<script type="text/javascript">
    $(document).ready(function(){
        new jPlayerPlaylist({
            jPlayer: "#jquery_jplayer_{$uniqid}",
            cssSelectorAncestor: "#jp_container_{$uniqid}"
        },[
            {if is_array($media)}
            {foreach $media as $a}
            {if $a._item.$ext == 'mp3'}
            {
//                title: "[{$item.prefix}] {$item.title}",
                  title: "{$item.title}",
//                artist: "{$item._item.profile_name}",
                module: "{$item.module}",
                item_id: "{$item.item_id}",
                mp3: "{$jamroom_url}/{$a.module_url}/stream/{$params.field}/{$a.item_id}/key=1/file.mp3",
                {if strstr($formats, 'oga')}
                oga: "{$jamroom_url}/{$a.module_url}/stream/{$params.field}/{$a.item_id}/key=1/file.ogg",
                {/if}
                poster: "{$jamroom_url}/{$a.module_url}/image/audio_image/{$a.item_id}/large"
            },
            {/if}
            {/foreach}
            {/if}
        ],{
            error: function(res) { jrCore_stream_url_error(res); },
            playlistOptions: {
                autoPlay: {$autoplay},
                displayTime: 'fast'
            },
            swfPath: "{$jamroom_url}/modules/jrCore/contrib/jplayer",
            supplied: "{$formats}",
            solution: "{$solution}",
            volume: 0.8,
            wmode: 'window',
            preload: 'none'
        });
    });
</script>

<div class="blue_monday_player" onclick="event.cancelBubble = true; if(event.stopPropagation) event.stopPropagation();">
    <div id="jquery_jplayer_{$uniqid}" class="jp-jplayer"></div>

    <div id="jp_container_{$uniqid}" class="jp-audio">
        <div class="jp-type-playlist">
            <div class="jp-gui">
                <div class="jp-video-play">
                    <a href="javascript:" class="jp-video-play-icon" tabindex="1">{jrCore_lang module="jrAudio" id="1" default="play"}</a>
                </div>
                <div class="jp-interface">
                    <div class="jp-seek-holder">
                        <div class="jp-progress">
                            <div class="jp-seek-bar">
                                <div class="jp-play-bar"></div>
                            </div>
                        </div>
                    </div>
                    <div class="jp-current-time"></div>
                    <div class="jp-duration"></div>
                    <div class="jp-controls-holder">
                        <ul class="jp-controls">
                            <li><a href="javascript:" class="jp-previous" tabindex="1" title="{jrCore_lang module="jrAudio" id="44" default="previous"}"></a></li>
                            <li><a href="javascript:" class="jp-play" tabindex="1" title="{jrCore_lang module="jrAudio" id="1" default="play"}"></a></li>
                            <li><a href="javascript:" class="jp-pause" tabindex="1" title="{jrCore_lang module="jrAudio" id="2" default="pause"}"></a></li>
                            <li><a href="javascript:" class="jp-next" tabindex="1" title="{jrCore_lang module="jrAudio" id="45" default="next"}"></a></li>
                            <li><a href="javascript:" class="jp-stop" tabindex="1" title="{jrCore_lang module="jrAudio" id="3" default="stop"}"></a></li>
                            <li><a href="javascript:" class="jp-mute" tabindex="1" title="{jrCore_lang module="jrAudio" id="4" default="mute"}"></a></li>
                            <li><a href="javascript:" class="jp-unmute" tabindex="1" title="{jrCore_lang module="jrAudio" id="5" default="unmute"}"></a></li>
                            <li><a href="javascript:" class="jp-volume-max" tabindex="1" title="{jrCore_lang module="jrAudio" id="6" default="max volume"}"></a></li>
                        </ul>
                        <div class="jp-volume-bar">
                            <div class="jp-volume-bar-value"></div>
                        </div>
                        <ul class="jp-toggles">
                            <li><a href="javascript:" class="jp-shuffle" tabindex="1" title="{jrCore_lang module="jrAudio" id="46" default="shuffle"}"></a></li>
                            <li><a href="javascript:" class="jp-shuffle-off" tabindex="1" title="{jrCore_lang module="jrAudio" id="47" default="shuffle off"}"></a></li>
                            <li><a href="javascript:" class="jp-repeat" tabindex="1" title="{jrCore_lang module="jrAudio" id="7" default="repeat"}"></a></li>
                            <li><a href="javascript:" class="jp-repeat-off" tabindex="1" title="{jrCore_lang module="jrAudio" id="8" default="repeat off"}"></a></li>
                        </ul>
                    </div>
                    <div class="jp-title">
                        <ul>
                            <li></li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="jp-playlist">
                <ul>
                    <li></li>
                </ul>
            </div>
        </div>
    </div>
</div>

Integrity Check-reset caches....still no change to the player
I also saved the template to the skin so it should be active
derrickhand300
@derrickhand300
07/23/16 07:06:08AM
1,353 posts

MP3 Player Broken


Using Jamroom

Thank you Douglas- I did not know that so thanks for teaching me! :)
Still...using that method i cannot get it to edit out what I am after...
derrickhand300
@derrickhand300
07/23/16 06:41:19AM
1,353 posts

MP3 Player Broken


Using Jamroom

I think where I am running into problems is that I try to edit the player code to remove the [AUDIO] and the [ARTIST] ( by Roughneck City) in the player
See screenshot
I want to remove the AUDIO because everyone already knows its AUDIO ( its a song) and i want to remove "by Roughneck City" because i am not the artist-I am just the person who uploaded the song to the site
On my site I am the only person in quota config that can actually upload media- so i am trying to remove these two areas from my players ( screenshot)

Here is the code for the BLUE MONDAY PLAYER
{jrCore_module_url module=$params.module assign="murl"}

{assign var="ext" value="`$params.field`_extension"}

<script type="text/javascript">
    $(document).ready(function(){
        new jPlayerPlaylist({
            jPlayer: "#jquery_jplayer_{$uniqid}",
            cssSelectorAncestor: "#jp_container_{$uniqid}"
        },[
            {if is_array($media)}
            {foreach $media as $a}
            {if $a._item.$ext == 'mp3'}
            {
                title: "{$a.title}",
                artist: "{$a.artist}",
                mp3: "{$jamroom_url}/{$a.module_url}/stream/{$params.field}/{$a.item_id}/key=8R9melwwyEiw/file.mp3",
                {if strstr($formats, 'oga')}
                oga: "{$jamroom_url}/{$a.module_url}/stream/{$params.field}/{$a.item_id}/key=8R9melwwyEiw/file.ogg",
                {/if}
                poster: "{$jamroom_url}/{$a.module_url}/image/audio_image/{$a.item_id}/large"
            },
            {/if}
            {/foreach}
            {/if}
        ],{
            error: function(res) { jrCore_stream_url_error(res); },
            playlistOptions: {
                autoPlay: {$autoplay},
                displayTime: 'fast'
            },
            swfPath: "{$jamroom_url}/modules/jrCore/contrib/jplayer",
            supplied: "{$formats}",
            solution: "{$solution}",
            volume: 0.8,
            wmode: 'window',
            preload: 'none'
        });
    });
</script>

<div class="blue_monday_player" onclick="event.cancelBubble = true; if(event.stopPropagation) event.stopPropagation();">
    <div id="jquery_jplayer_{$uniqid}" class="jp-jplayer"></div>

    <div id="jp_container_{$uniqid}" class="jp-audio">
        <div class="jp-type-playlist">
            <div class="jp-gui">
                <div class="jp-video-play">
                    <a href="javascript:" class="jp-video-play-icon" tabindex="1">{jrCore_lang module="jrAudio" id="1" default="play"}</a>
                </div>
                <div class="jp-interface">
                    <div class="jp-seek-holder">
                        <div class="jp-progress">
                            <div class="jp-seek-bar">
                                <div class="jp-play-bar"></div>
                            </div>
                        </div>
                    </div>
                    <div class="jp-current-time"></div>
                    <div class="jp-duration"></div>
                    <div class="jp-controls-holder">
                        <ul class="jp-controls">
                            <li><a href="javascript:" class="jp-previous" tabindex="1" title="{jrCore_lang module="jrAudio" id="44" default="previous"}"></a></li>
                            <li><a href="javascript:" class="jp-play" tabindex="1" title="{jrCore_lang module="jrAudio" id="1" default="play"}"></a></li>
                            <li><a href="javascript:" class="jp-pause" tabindex="1" title="{jrCore_lang module="jrAudio" id="2" default="pause"}"></a></li>
                            <li><a href="javascript:" class="jp-next" tabindex="1" title="{jrCore_lang module="jrAudio" id="45" default="next"}"></a></li>
                            <li><a href="javascript:" class="jp-stop" tabindex="1" title="{jrCore_lang module="jrAudio" id="3" default="stop"}"></a></li>
                            <li><a href="javascript:" class="jp-mute" tabindex="1" title="{jrCore_lang module="jrAudio" id="4" default="mute"}"></a></li>
                            <li><a href="javascript:" class="jp-unmute" tabindex="1" title="{jrCore_lang module="jrAudio" id="5" default="unmute"}"></a></li>
                            <li><a href="javascript:" class="jp-volume-max" tabindex="1" title="{jrCore_lang module="jrAudio" id="6" default="max volume"}"></a></li>
                        </ul>
                        <div class="jp-volume-bar">
                            <div class="jp-volume-bar-value"></div>
                        </div>
                        <ul class="jp-toggles">
                            <li><a href="javascript:" class="jp-shuffle" tabindex="1" title="{jrCore_lang module="jrAudio" id="46" default="shuffle"}"></a></li>
                            <li><a href="javascript:" class="jp-shuffle-off" tabindex="1" title="{jrCore_lang module="jrAudio" id="47" default="shuffle off"}"></a></li>
                            <li><a href="javascript:" class="jp-repeat" tabindex="1" title="{jrCore_lang module="jrAudio" id="7" default="repeat"}"></a></li>
                            <li><a href="javascript:" class="jp-repeat-off" tabindex="1" title="{jrCore_lang module="jrAudio" id="8" default="repeat off"}"></a></li>
                        </ul>
                    </div>
                    <div class="jp-title">
                        <ul>
                            <li></li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="jp-playlist">
                <ul>
                    <li></li>
                </ul>
            </div>
        </div>
    </div>
</div>

When I try to edit out ARTIST using something like
{*artist: "{$a.artist}",*}
thats when things start to break...is there a way to edit out the areas in the screenshot that does not break the player?
In short- I just want the title of audio and video files to show- nothing else on the player
Thanks!
Capture.JPG.jpg Capture.JPG.jpg - 22KB

updated by @derrickhand300: 07/23/16 06:42:46AM
derrickhand300
@derrickhand300
07/23/16 06:12:18AM
1,353 posts

MP3 Player Broken


Using Jamroom

If I switch to BLUE MONDAY player everything seems to work in both video and MP3
If I switch to Midnight Player ( which is my preference) the MP3 player is broken as in screenshot..
I think my work around is going to be to use all the images from the midnight player and upload them as the Blue Monday player images..
derrickhand300
@derrickhand300
07/23/16 05:29:05AM
1,353 posts

MP3 Player Broken


Using Jamroom

I recently had an issue with the video player getting cut off at top and bottom
https://www.jamroom.net/the-jamroom-network/forum/my_posts/41328/video-player-size-getting-cut-off-again
I solved the issue by switching to a different video player
I notice that since switching players now my mp3 player is no longer working
I have removed all the custom coding and reverted back to the default without any luck
Please see screenshot- anyone encountered this and know how to fix?
Capture.JPG.jpg Capture.JPG.jpg - 116KB

updated by @derrickhand300: 12/22/16 11:55:59AM
derrickhand300
@derrickhand300
07/08/16 01:32:17PM
1,353 posts

What do you love about Jamroom 5 right now?


Off Topic

brian:
As someone who uses JR daily (duh) I think what I like the most is how easy it is for me to spin up a test JR install in like 30 seconds on our hosting

Yes
Jamroom hosting is the best-I have tried like 4-5 hosts and Jamroom hosting offers by far the best value
derrickhand300
@derrickhand300
07/08/16 09:41:50AM
1,353 posts

Site Builder Issue


Using Jamroom

Hard to tell Paul-I will run in developer mode and test some
The pages i am creating are new pages with just header/footer so no new scripts running
derrickhand300
@derrickhand300
07/08/16 09:04:33AM
1,353 posts

Site Builder Issue


Using Jamroom

Thanks Paul- No errors
derrickhand300
@derrickhand300
07/08/16 08:59:28AM
1,353 posts

Site Builder Issue


Using Jamroom

If I run INTEGRITY Check and RESET CACHES two times it will start working again for about 5 minutes...then breaks again ( not sure why it has to be run twice)
derrickhand300
@derrickhand300
07/08/16 08:33:38AM
1,353 posts

Site Builder Issue


Using Jamroom

The "CLOSE" button has stopped working on Site Builder- no longer able to view the changes made...
updated by @derrickhand300: 12/22/16 11:55:59AM
  35