[Resolved] Youtube Video doesn't change responsively like sample page

Tagged: 

This topic contains 2 replies, has 1 voice, and was last updated by Code Mafia Code Mafia 1 year, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3550
    Code Mafia
    Code Mafia
    Keymaster

    ** This is a question via contact form, but it’s knowledge-base. So this is a topic for someone having the same problem.

    Question:
    When I enable the Jetpack Plugin, It make the Youtube videos unresponsive and when I disable it, Video looks responsive.
    So, Can you tell me how can I solve this problem without disabling the JetPack Plugin?

    Answer:
    Could you try to add the code below in functions.php in your child theme.
    remove_action( ‘after_setup_theme’, ‘jetpack_responsive_videos_init’);

    #3551
    Code Mafia
    Code Mafia
    Keymaster

    This has been already closed

    #3703
    Code Mafia
    Code Mafia
    Keymaster

    Figured out the problem.

    Please add the code below to fix this.

    add_action( ‘init’, ‘leapin_remove_jetpack_craziness’ ,1);
    function leapin_remove_jetpack_craziness() {
    remove_action( ‘init’, ‘wpcom_youtube_embed_crazy_url_init’ );
    }

    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Youtube Video doesn't change responsively like sample page’ is closed to new replies.

Related Posts


Pjax Blog – Free WordPress Theme
It contains all functionality you need to make professional blog. All you have to do is including templates and you can start your blog today.

More

Latest Posts