• Hi There,
    I use your plugin on a site and really like it. Thank you.
    However it be nice to be able to support responsive video integration as provided by https://embedresponsively.com/

    I did a quick fix for this where i simply changeed the code in file jcorgYoutubeUserChannelEmbed.js on line 109 to ytObject = '<div class="embed-container"><iframe width="' + settings.videoWidth + '" height="' + (parseInt(settings.videoWidth / 1.78)) + '" src="' + vidLink + '?feature=player_detailpage&origin=' + (window.location.origin) + '" autoplay="' + autoplay + '" frameborder="0" ' + allowfullscreen + '></iframe></div>';
    End then you could add following css code to your css file:

    .embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

    Maybe you might consider something like this in your future update.

    Best, daniel

    https://www.ads-software.com/plugins/jcwp-youtube-channel-embed/

  • The topic ‘Request for Responsive Integration’ is closed to new replies.