Responsive youtube embedding

Home Forums Legacy Support Support queries Styling issues Responsive youtube embedding

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #44016
    Yahya
    Spectator
    I embed youtube videos n my courses and they are not getting responsive using this solution https://wplms.io/support/knowledge-base/force-responsive-iframe-videos-content/
    #44061
    H.K. Latiyan
    Participant
    Please use this [iframevideo] shortcode to embed the video, the shortcode is used like this:   [iframevideo]<iframe src="https://www.youtube.com/embed/_fefa_8Y1cU" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe>[/iframevideo]   Paste the code in the text mode of wp-editor.
    #44072
    Yahya
    Spectator
    thank you but all of my courses are video based, do I have to go through all of my courses and edit them?
    #44077
    Yahya
    Spectator
    when edited using front end the markup gets to be <object><embed>youtube info </embed></object>  
    #44081
    Yahya
    Spectator
    I have about more than 500 videos in my website,I need a solution that does not cost me a week of work, I managed to make the videos width responsive using css, but I could not manage the height
    #44319
    Anshuman Sahu
    Keymaster
    CAn you please share one example on how did you embed a youtube video ? Based on that pattern we can provide you a temporary fix for this .
    #44620
    Yahya
    Spectator
    here is an example of how the markup is now http://prnt.sc/aw5ym0 we used the front end to embed the videos copied the embed youtube link from youtube and pasted it with no other editions  
    #44845
    H.K. Latiyan
    Participant
    Please try using this script in your wplms->footer->google analytics code: <script> jQuery('.unit_content').on('unit_traverse',function(){ jQuery('object').wrap('<div class="fitvids"></div>'); }); </script>
    #44993
    Yahya
    Spectator
    thumbs up thanks
    #45022
    H.K. Latiyan
    Participant
    Thanks for confirming, so closing the topic.
Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Responsive youtube embedding’ is closed to new replies.