Your Time:
Our Time:
← Back to discussions

Player Height

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 4 replies, 2 voices, and was last updated 11 years, 10 months ago by morilafu.

  • 2014-10-24 at 8:17 pm
    Support Expired
    #5754
    morilafu
    Participant
    • Topics: 3
    • Replies: 3
    • Total posts: 6
    • Post count: 3

    Hi,
    I’d like to change the height of the player, when I do it using CSS, it breaks the toggle functions.
    Can you please tell me how to resolve this problem ?

    2014-10-25 at 8:10 pm
    #5758
    Wajid Khan
    Keymaster
    • Topics: 5
    • Replies: 1543
    • Total posts: 1548
    • Post count: 1876

    If you can provide with WP Logins then we can take a closer look at it. Make sure you set the post as private reply so that only admin can see your wp logins.

    And Please contact me Skype then it would be very easy for to support your issue’s. My Skype ID: support-aws

    2014-10-31 at 10:06 pm
    Support Expired
    #5842
    morilafu
    Participant
    • Topics: 3
    • Replies: 3
    • Total posts: 6
    • Post count: 3

    Hello,
    thanks but I solved the problem by myself.
    If others are interested this is what I did :
    I added 2 lines in audio-player.php for a height of 63px :
    – <?php $height = 63 ; ?>
    – jQuery(document).ready(function(){jQuery(‘#fap’).fullwidthAudioPlayer({ height : 63 });

    Here’s the full code :
    <?php
    $autoplay = ( get_option( ‘atp_audio_autoplay’ ) == ‘on’ ) ? ‘true’ : ‘false’;
    $playnext = ( get_option( ‘atp_audio_player_next’ ) == ‘on’ ) ? ‘true’ : ‘false’;
    $atp_audio_visible = ( get_option(‘atp_audio_visible’) == ‘on’ ) ? ‘true’ : ‘false’;
    $pop_player_button = ( get_option( ‘atp_popup_player_button’ ) == ‘on’ ) ? ‘true’ : ‘false’;
    $atp_audio_page_id = get_option( ‘atp_audio_page_id’ ) ? get_option( ‘atp_audio_page_id’ ) : ”;
    $atp_playlist_volume = get_option( ‘atp_playlist_volume’ ) ? get_option( ‘atp_playlist_volume’ ) : ‘0.6’;
    $height = 63 ;
    ?>
    <script type=”text/javascript”>

    jQuery(document).ready(function(){
    soundManager.url =”<?php echo get_template_directory_uri();?>/swf/”;
    soundManager.flashVersion = 9;
    soundManager.useHTML5Audio = true;
    soundManager.debugMode = false;
    jQuery(‘#fap’).fullwidthAudioPlayer({
    keyboard: false,
    autoPlay:<?php echo $autoplay ?>,
    playNextWhenFinished: <?php echo $playnext ?>,
    opened:<?php echo $atp_audio_visible; ?>,
    popup : <?php echo $pop_player_button; ?>,
    popupUrl: “<?php echo get_template_directory_uri();?>/popup.html”,
    height : 63
    });

    jQuery(‘#fap’).bind(‘onFapReady’, function(evt, trackData) {
    jQuery.fullwidthAudioPlayer.volume(<?php echo $atp_playlist_volume; ?>);
    });
    });

    2014-11-01 at 3:17 am
    #5846
    Wajid Khan
    Keymaster
    • Topics: 5
    • Replies: 1543
    • Total posts: 1548
    • Post count: 1876

    Thanks for headup but make sure this changed file should be musciplay child theme and child is activated. Changes will be overwrites when the you are using parent theme so every changed file should be kept in child theme and set child theme active. let me know is there anything else i can assist your with.

    Regards,
    Mawk

    2014-11-02 at 11:12 pm
    Support Expired
    #5852
    morilafu
    Participant
    • Topics: 3
    • Replies: 3
    • Total posts: 6
    • Post count: 3

    Hi that’s what I did, but thanks for the advice.

You must be logged in to reply to this topic.