Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #623947

    Hi

    I have in some Text Block iFrame holding Youtube video or other stuff. When i click on the Text Block or start to edit the content in the Edit Element icon, i get error: Error fetching content – please reload the page and try again.

    I seems to be problem in all those Text Block where i have iFrame in it.

    I can ad Text Block normaly, but if i embedd Youtube video, and save, i cant edit it no more. Only got error message.

    All has worked before. :-(

    Regards Timo

    #623997

    Hi timorisku!

    That is an issue with the iframe, what way are you using to emed the code?

    Best regards,
    Basilis

    #624018

    Hi Basilis

    I have embedded Youtube video in this page: http://www.elamasikuntoon.fi/ajankohtaista/helpdesk/
    I have added Form from another service here: http://www.elamasikuntoon.fi/energiaviisaritesti/

    When i am at Wp Dasboard and wanted to edit these pages, i click the Text Block… and window open (lookin like on Text Block editin window) but in a second it closes down and error message appears.

    I have tested the situation with a new Text Block… embed Youtube video, and same results…

    Timo

    • This reply was modified 8 years, 7 months ago by timorisku.
    #624034

    Hi again…

    Here is a short video to see whats happening:

    Regards Timo

    #624852

    I have the exact same issue!

    #624853

    Hi! I found there is the option to include a code block, instead of a text block to include code. It seems to work fine if I use that text block :-)

    #624854

    Ow and now I have the same problem with the Code Block :-(

    #625522

    Hi @Welmoed,

    Would be great if you could start a new thread and include information to where we can see the error.

    Best regards,
    Rikard

    #625588

    Hi Rikard

    Any help for my problem with Text Block (same as Welmoed has)?

    Timo

    #626228

    Hi,

    Could you try to recreate the element or try it in a Code Block element instead please? If that doesn’t work then please provide us with a temporary admin login so that we can take a closer look. You can post the details in the Private Content section of your reply.

    Thanks,
    Rikard

    #627458

    Hi Rikard

    Did you got admin credentials?

    Timo

    #627852

    Hey!


    @timorisku
    No, please post them here privately so any available moderator can look into it.

    Cheers!
    Yigit

    #629144

    Hi

    Any news for this error?

    Regards Timo

    #630405

    Hi,

    I’m sorry but we can’t reproduce the issue on our end and we didn’t get the admin credentials. Please post it in the private content field so that every moderators can see it. And while you’re on it, please create a test page so that we can inspect the issue.

    Best regards,
    Ismael

    #631378

    Private content sent

    #632324

    Hi,

    I see. What is the iframe code? Please set the advance layout builder to debug mode. This will render the actual shortcodes of the page below the advance layout builder: http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/

    Is this working if you use the code block? It seems to be the more appropriate element to use.

    Best regards,
    Ismael

    #634214

    Hello Ismael.

    Same error if using Code Block includin iFrame and trying to edit.

    iFrame code is normal youtube embedd code. On that tset page it is: <iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/u0uPmrSRM7w&#8221; frameborder=”0″ allowfullscreen></iframe>

    Please help. This is something i dont understand.

    Advance layout builder is now in debug mode.

    Timo

    #634912

    Hi,

    We tried the iframe code on our installation and it didn’t create an error. Please remove the text block then use this iframe code:

    <iframe width="560" height="315" src="https://www.youtube.com/embed/u0uPmrSRM7w" frameborder="0" allowfullscreen></iframe>
    

    Take note of the quotation marks, make sure that they are not converted to something else.

    Best regards,
    Ismael

    #635009

    Hi

    Have you tryed this on my page? On that testpage?

    When i inset that iFrame code, same error, when trying to edit Text Block.
    I think the problem is not in the iFrame code. I have other webpages made with Enfold theme, and there are no errors with iFrame.
    When i am at backend on page where are youtube video embedded starting automaticly, it sonds like it plays two times at the same time. If pause the video, in backround it still goes on. Video stops, but sound keeps playing… like it plays in backroud.

    Now on page: http://www.elamasikuntoon.fi/test-2/ is youtube video with autoplay. Try to go backend as an admin, and pause the video. You can hear, that there is another video witch keep playing on the backround…

    Very strange…

    #635677

    Hi,

    Weird. It does cause an error in the test page. Is this happening on every page? What about using the video element? http://www.elamasikuntoon.fi/wp-admin/post.php?post=3460&action=edit

    Best regards,
    Ismael

    #635759

    Hi

    Yes, it hapens on every page… I like to use Text Bloc because then i have control of video parameters… ie. autoplay, showinfo, etc…

    Other installations are working well… and this page has also worked well. Something has happend durin WP / Enfold / Plugin / ….. update?

    Can i reinstal some PHP files or …

    Regards Timo

    #636515

    Hey!

    It doesn’t cause an error if you use the default video shortcode but it will use another type of player:

    [video src="https://www.youtube.com/watch?v=u0uPmrSRM7w&rel=1&autoplay=1&showinfo=1" autoplay="on"]
    

    Cheers!
    Ismael

    #636588

    Hello

    Jep. Then there are no error…. but in ALL Text Box or Code Box continues to have error on ALL iFrames, not just videos embedded with iFrame….

    Any solution for this very annoying problem? Not just walk a round solution.

    Timo

    #637281

    Hi,

    Yes, we understand, unfortunately, we can’t reproduce the issue on our end and we can’t find any errors which makes it more difficult to debug. Another workaround is to add the youtube url directly in the Visual Editor: https://www.youtube.com/watch?v=u0uPmrSRM7w

    We added this code in the functions.php file to add the youtube parameter:

    add_action('wp_footer', 'ava_iframe_parameters');
    function ava_iframe_parameters(){
    ?>
    <script>
    (function($){
    	$(window).load(function() {
    		// -------------------------------------------------------------------------------------------
    		// youtube parameter
    		// -------------------------------------------------------------------------------------------
    		function avia_iframe_parameters(container)
    		{
    			var iframe 	= jQuery('iframe[src*="youtube.com"]:not(.av_youtube_frame)', container),
    				youtubeEmbed = jQuery('iframe[src*="youtube.com"]:not(.av_youtube_frame) object, iframe[src*="youtube.com"]:not(.av_youtube_frame) embed', container).attr('wmode','opaque');
    
    				iframe.each(function()
    				{
    					var current = jQuery(this),
    						src 	= current.attr('src');
    
    					if(src)
    					{
    						if(src.indexOf('?') !== -1)
    						{
    							src += "&autoplay=1&showinfo=1";
    						}
    						else
    						{
    							src += "&autoplay=1&showinfo=1";
    						}
    
    						current.attr('src', src);
    					}
    				});
    		}
    
    		avia_iframe_parameters('body');
    	});
    })(jQuery);
    </script>
    <?php
    }

    Results here: http://www.elamasikuntoon.fi/test-2/

    Best regards,
    Ismael

    #638287

    Hi

    This is very strange… Immediatly when i add in to the text box iFrame code, i cant edit that tex anymore. There is error right away. And it doesent need to be youtube video…. thas is not the problem… error occures in every situation, when i add iFrame code to Text Box or to Code Box… any iframe code.

    Here is another sample: http://www.elamasikuntoon.fi/energiaviisaritesti/
    In this page there is survey from another server. All has worked well, but now when editing in Dashboard… error.

    I have tryed with two computer… with chrome, explorer and edge.

    Please look from previous post video… there you can see what happens. And if you cannot repeat that error…. even more strange????

    All other Enfold pages works perfectly…

    Regards Timo

    #638450

    Hey!

    Strange. What is the iframe code of the form? This the issue is not happening on our installations so it’s probably cause by a plugin or custom modifications in the theme. Please deactivate all plugins then hard refresh the editor again.

    Did you check the “workaround” for the youtube video?

    Cheers!
    Ismael

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