• Resolved exxis

    (@exxis)


    I’ve used following iframe embed code which worked just fine over the last years, however somehow it stopped workind

    <iframe src="https://iframe.videodelivery.net/dad8318ef4b68d27df8eb409ead373e8" style="border: none" height="400" width="400"></iframe>

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter exxis

    (@exxis)

    forgot to mention it, this is a cloudflare stream video, they have there own iframe embed code, however it’s not working with aiovg

    Plugin Contributor wpvideogallery

    (@wpvideogallery)

    Do you use any optimization plugin? I’m afraid there is a conflict with another plugin on your website. Kindly share with us an example video page URL to check the issue directly. So, we could get a clue about the issue and assist you accordingly.

    Thread Starter exxis

    (@exxis)

    For example

    https://tinyurl.com/yujc3vb3

    however I use wprocket as caching and object cache pro

    Plugin Contributor wpvideogallery

    (@wpvideogallery)

    It shows the JS files on your website are delivered using Rocket CDN and it triggers a CORS issue. I see the following error message in the Chrome browser’s developer console.

    Access to script at ‘https://e2601cec.rocketcdn.me/wp-content/plugins/all-in-one-video-gallery/public/assets/js/embed.min.js?type=module&ver=3.5.2&#8217; from origin ‘https://manurefetish.com&#8217; has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

    Kindly refer to the solution suggested under the “Cross-Origin Resource Sharing (CORS) errors in the console” section here https://docs.wp-rocket.me/article/1609-errors-issues-while-using-rocketcdn

    In case the issue remains, kindly submit a ticket in our website here https://plugins360.com/support/

    So, we can get more details about your website privately to further investigate the issue.

    Thread Starter exxis

    (@exxis)

    thanks, I take a look and let you know if this fixed the issue. However weirdly enough a few weeks ago it was still working.

    Thread Starter exxis

    (@exxis)

    I’ve added the additional directive, however it didn’t fix the issue, I’ve wrote now the support of wprocket if something else changed and needs to be added

    Plugin Contributor wpvideogallery

    (@wpvideogallery)

    Alternatively, go to the “Video Gallery => Settings” menu from your WordPress Admin Dashboard, find the “Force JavaScript Based Initialization” option, simply disable that and check again.

    Kindly let us know if that solved your issue!

    Thread Starter exxis

    (@exxis)

    that worked however with that of course caching does not apply I think. Also what I’ve wanted to ask you, if you know it. Is it possible to add yoast breadcrumb to the video and video gallery.

    For example if one clicks on a video then there’s no official back button to the main page/category

    • This reply was modified 1 year ago by exxis.
    Plugin Contributor wpvideogallery

    (@wpvideogallery)

    Yes, our plugin supports “Yoast Breadcrumbs”. Our videos belong to a Custom Post Type named “Videos (aiovg_videos)”. So, kindly make sure that breadcrumbs are enabled for our post type under the Yoast settings.

    But, sorry that our plugin doesn’t have any official back button option. Still, this is achievable by writing some code.

    Kindly try adding the following code to the bottom of your theme’s functions.php file.

    function aiovg_before_post_content( $content ) {
        if ( is_singular( 'aiovg_videos' ) ) {
            if ( wp_get_referer() ) {
                $button = "<p><button id='my-back-button' class='btn button my-back-button' onclick='javascript:history.back()'>" . __( '&laquo; Back' ) . "</button></p>";
                return $button . $content;
            }
        }
    
        return $content;
    
    }
    
    add_filter( 'the_content', 'aiovg_before_post_content', 99 );

    Note the back button works only if you get into the single video page by clicking a video from the thumbnail gallery.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Video frame not showing anymore’ is closed to new replies.