htmlBody property

  1. @override
String get htmlBody
override

The HTML of the embed

Implementation

@override
String get htmlBody =>
    '<iframe src="https://www.tiktok.com/embed/v2/$videoId" '
    'style="width:100%;min-width:325px;max-width:605px;height:${embedHeight}px;border:0;" '
    'allow="encrypted-media; fullscreen; picture-in-picture" '
    'referrerpolicy="strict-origin-when-cross-origin"></iframe>';