Creation of a method to apply custom filters
This commit is contained in:
		
					parent
					
						
							
								2586b6a282
							
						
					
				
			
			
				commit
				
					
						af38e5b0ac
					
				
			
		
					 1 changed files with 14 additions and 0 deletions
				
			
		|  | @ -132,4 +132,18 @@ class VideoFilters extends AudioFilters | ||||||
| 
 | 
 | ||||||
|         return $this; |         return $this; | ||||||
|     } |     } | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * Resizes a video to a given dimension. | ||||||
|  |      * | ||||||
|  |      * @param string    $parameters | ||||||
|  |      * | ||||||
|  |      * @return VideoFilters | ||||||
|  |      */ | ||||||
|  |     public function custom($parameters) | ||||||
|  |     { | ||||||
|  |         $this->media->addFilter(new CustomFilter($parameters)); | ||||||
|  | 
 | ||||||
|  |         return $this; | ||||||
|  |     } | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue