Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -79,6 +79,7 @@ export struct WdWebLocalComponent { | @@ -79,6 +79,7 @@ export struct WdWebLocalComponent { | ||
| 79 | if (this.videoUrl) { | 79 | if (this.videoUrl) { |
| 80 | Video({ src: this.videoUrl }) | 80 | Video({ src: this.videoUrl }) |
| 81 | .autoPlay(true) | 81 | .autoPlay(true) |
| 82 | + .objectFit(ImageFit.Contain) | ||
| 82 | .width(this.positionWidth) | 83 | .width(this.positionWidth) |
| 83 | .height(this.positionHeight) | 84 | .height(this.positionHeight) |
| 84 | .borderRadius(5) | 85 | .borderRadius(5) |
-
Please register or login to post a comment