Add maxwidth paramater to embed function
Directive takes maxwidth as argument 

maxwidth (optional):
The maximum width of the embedded resource. Only applies to some resource types. For supported resource types, this parameter must be respected by providers.
Build