File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ def <<(s)
9999    if  s . strip  =~ /^\s *<?!VIDEO +([^\s >]*)>?$/ 
100100      youtube_id  =  $1
101101      # see https://developers.google.com/youtube/player_parameters 
102-       s  =  %Q(<iframe class="video youtube" type="text/html" width="640" height="390" src="http://www.youtube.com/embed/%3Cspan%20class="pl-s1">#{ youtube_id }  " frameborder="0"></iframe>\n )
102+       s  =  %Q(<div class="video-container">< iframe class="video youtube" type="text/html" width="640" height="390" src="http://www.youtube.com/embed/%3Cspan%20class="pl-s1">#{ youtube_id }  " frameborder="0" allowfullscreen ></iframe></div >\n )
103103    end 
104104    @markdown_text  << s 
105105    @markdown_text  << "\n " 
Original file line number Diff line number Diff line change @@ -376,7 +376,9 @@ def slide_from markdown_text
376376< section  class ="slide markdown-body " id ="foo "> 
377377< h2  class ="slide-title "> foo</ h2 > 
378378
379- < iframe  class ="video youtube " type ="text/html " width ="640 " height ="390 " src ="http://www.youtube.com/embed/xyzzy " frameborder ="0 "> </ iframe > 
379+ < div  class ="video-container "> 
380+ < iframe  class ="video youtube " type ="text/html " width ="640 " height ="390 " src ="http://www.youtube.com/embed/xyzzy " frameborder ="0 " allowfullscreen > </ iframe > 
381+ </ div > 
380382
381383< ul > 
382384< li > bar</ li > 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments