Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #464370

    Hi

    I wanted to add a mute/unmute option to a youtube video. I found the easy video player and am having problems.

    1. Loaded a plugin (Easy Video Player WordPress Plugin) that works through shortcodes.
    2. On a clean WordPress Install on the default wordpress theme (Twenty Fourteen, Twenty Fifteen) the plugin works beautifully.
    3. On a clean WordPress Install with the Enfold theme (latest version) the shortcode does nothing. I tried adding it into a “code block”, “text block” & WordPress default editor. Nothing. The code is been rendered inside HTML source. Please see below.:
    5. When I test again under a default WordPress theme it works perfectly.
    6. Tested on two separate WordPress Installation on two separate servers. It defiantly points to enfold.

    YES the theme folder is renames aswell as the child, but this is not the problem as on a clean WordPress Install with just the Enfold plugin and the Easy Video Player WordPress Plugin it does exactly the same.

    I can see the javascript been rendered inside the source and zero javascript errors been returned. The problem I see is that Enfold does not allow for external shortcodes to be loaded or it loads it but does not let the javascript run. I even loaded a PHP post & pages plugin to inject PHP code that explicits fires the shortcode method echo do_shortcode(‘[fwdevp preset_id=”0″ video_path=”C0DPdy98e4c”]’); and it to does nothing. Yes I tried a test echo which worked telling my the PHP script is running fine.

    This is the code I captured from the source showing the javascript been injected.:

    <section class=”av_textblock_section” itemscope=”itemscope” itemtype=”https://schema.org/CreativeWork”><div class=”avia_textblock ” itemprop=”text”><script type=”text/javascript”>

    FWDEVPUtils.onReady(function()
    {
    FWDEVPlayer.useYoutube = ‘yes’;
    FWDEVPlayer.videoStartBehaviour = ‘stop’;
    new FWDEVPlayer(
    {instanceName:’fwdevpPlayer0′,
    parentId:’fwdevpDiv0′,
    mainFolderPath:’http://localhost/mystagingone/wp-content/plugins/fwdevp/content&#8217;,
    videoSourcePath:’C0DPdy98e4c’,
    posterPath:”,skinPath:’minimal_skin_dark’,
    displayType:’responsive’,
    facebookAppId:’213684265480896′,
    rightClickContextMenu:’developer’,
    addKeyboardSupport:’yes’,
    autoScale:’yes’,
    autoPlay:’no’,
    loop:’no’,
    maxWidth:800,
    maxHeight:500,
    volume:0.8,
    backgroundColor:’#000000′,
    posterBackgroundColor:’#0099FF’,showControllerWhenVideoIsStopped:’yes’,
    showVolumeScrubber:’yes’,
    showVolumeButton:’yes’,
    showTime:’yes’,
    showYoutubeQualityButton:’yes’,
    showFacebookButton:’yes’,
    showEmbedButton:’yes’,
    showFullScreenButton:’yes’,
    repeatBackground:’yes’,
    controllerHeight:41,
    controllerHideDelay:3,
    startSpaceBetweenButtons:7,
    spaceBetweenButtons:9,
    scrubbersOffsetWidth:4,
    mainScrubberOffestTop:14,
    timeOffsetLeftWidth:5,
    timeOffsetRightWidth:3,
    volumeScrubberWidth:80,
    volumeScrubberOffsetRightWidth:0,
    timeColor:’#888888′,
    youtubeQualityButtonNormalColor:’#888888′,
    youtubeQualityButtonSelectedColor:’#FFFFFF’,showLogo:’yes’,
    hideLogoWithController:’yes’,
    logoPosition:’topRight’,
    logoPath:’http://localhost/mystagingone/wp-content/plugins/fwdevp/content/logo.png&#8217;,
    logoLink:’http://www.webdesign-flash.ro/&#8217;,
    logoMargins:5,embedAndInfoWindowCloseButtonMargins:0,
    borderColor:’#333333′,
    mainLabelsColor:’#FFFFFF’,
    secondaryLabelsColor:’#a1a1a1′,
    shareAndEmbedTextColor:’#5a5a5a’,
    inputBackgroundColor:’#000000′,
    inputColor:’#FFFFFF’,openNewPageAtTheEndOfTheAds:’no’,
    adsVideoSourcePath:’none’,
    adsButtonsPosition:’right’,
    adsPageToOpenURL:’http://www.webdesign-flash.ro&#8217;,
    adsPageToOpenTarget:’_blank’,
    adsThumbnailPath:”,
    skipToVideoText:’You can skip to video in: ‘,
    skipToVideoButtonText:’Skip Ad’,
    timeToHoldAds:4,
    adsTextNormalColor:’#777777′,
    adsTextSelectedColor:’#FFFFFF’,
    adsBorderNormalColor:’#444444′,
    adsBorderSelectedColor:’#FFFFFF’
    })
    });
    </script><div id=”fwdevpDiv0″></div>
    </div></section>

    Test youtube video.:

    Shortcode:

    [fwdevp preset_id=”0″ video_path=”C0DPdy98e4c”]

    #464846

    Hey brooks!

    Thank you for using Enfold.

    I’m sorry but we don’t provide support for third party plugins as stated on our support policy. Please contact the plugin author regarding the issue. You can use the default video element in the advance layout builder.

    Regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.