WordPress.org

Forums

Video Embed & Thumbnail Generator
Uploaded video not responsive! (8 posts)

  1. tokaup
    Member
    Posted 10 months ago #

    Hey,

    I have added a .mp4 video on a page but it is not responsive! I have the latest version of Video Embed & Thumbnail Generator.

    Here is my embed code, after I hit "Add Media" and insert an mp4 video to the page:

    [KGVID width="640" height="360"]http://www.guideitallinn.se/wp-content/uploads/2013/06/tallinn-estland.mp4[/KGVID]

    Any suggestions on how to solve this issue?

    https://wordpress.org/plugins/video-embed-thumbnail-generator/

  2. Kyle Gilman
    Member
    Plugin Author

    Posted 10 months ago #

    Can you post a link to a post on your site that demonstrates the problem? 99% of the time it's a conflict with your theme and it's hard to guess what the fix is without seeing the live site.

  3. tokaup
    Member
    Posted 10 months ago #

    Hey,

    here is an example, the video on the front page here:

    http://www.guideitallinn.se

    The funny thing is that it worked perfectly earlier on a older version of your plugin.

  4. Kyle Gilman
    Member
    Plugin Author

    Posted 10 months ago #

    In older versions of the plugin the JavaScript that ensured the video was responsive was in the header. I moved it to the bottom of the page to speed up loading times, but that means JavaScript errors that happen earlier in the page loading will break the responsive JavaScript (along with video view counting and a few other plugin functions). You have three errors showing up in the developer console. Something called autoptimize, fancybox, and et-ptemplates-frontend all have JS errors which are interfering with my JavaScript.

  5. Frank Goossens
    Member
    Posted 10 months ago #

    Hi guys;
    I'm the autoptimize developer. AO aggregates & minifies JS & CSS. You can either exclude Video Embed & thumbnail generator's JS from being Autoptimized (just add a unique string from the inline JS to the exclude list) or you can enable the "try/catch" option, which will shield JS from errors caused by another JS being minified.

    Hope this helps,
    frank

  6. Kyle Gilman
    Member
    Plugin Author

    Posted 10 months ago #

    Autoptimize doesn't seem to be causing any errors with my plugin's JavaScript. The errors on the page are preventing it from running at all, so the try/catch option seems more likely to help.

  7. tokaup
    Member
    Posted 10 months ago #

    Hey,

    thanx for the suggestions but the "Add try-catch wrapping?" does not help. I use the W3 total cache also but have disabled minify etc there correctly i think when running Autoptimize.

    The video is not being responsibe. Any more troubleshooting tips?

  8. Kyle Gilman
    Member
    Plugin Author

    Posted 10 months ago #

    Well, you removed one of the JavaScript errors. Fancybox and et-ptemplates-frontend are still showing errors. I think those are both related to your theme, so I would ask your theme designer for help.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags