|  | @@ -4,11 +4,11 @@ | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 4 | 4 |  use Flynt\Features\Components\Component; | 
                                                                                                            
                                                            | 5 | 5 |  use Flynt\Utils\Oembed; | 
                                                                                                            
                                                            | 6 | 6 |   | 
                                                                                                            
                                                            | 7 |  | -add_action('wp_enqueue_scripts', function () { | 
                                                                                                            
                                                            |  | 7 | +add_action('wp_enqueue_scripts', function() { | 
                                                                                                            
                                                            | 8 | 8 |      Component::enqueueAssets('BlockMediaText'); | 
                                                                                                            
                                                            | 9 | 9 |  }); | 
                                                                                                            
                                                            | 10 | 10 |   | 
                                                                                                            
                                                            | 11 |  | -add_filter('Flynt/addComponentData?name=BlockMediaText', function ($data) { | 
                                                                                                            
                                                            |  | 11 | +add_filter('Flynt/addComponentData?name=BlockMediaText', function($data) { | 
                                                                                                            
                                                            | 12 | 12 |      if ($data['mediaType'] === 'oembedVideo') { | 
                                                                                                            
                                                            | 13 | 13 |          $data['oembedLazyLoad'] = Oembed::setOembedSrcAsDataAttribute( | 
                                                                                                            
                                                            | 14 | 14 |              $data['oembed'], | 
                                                                                                                                                
                                         
                                        
                                            
                                                                                                    Please login to merge, or discard this patch.