videos property

List<OgVideo> get videos

All og:video objects with their structured properties.

Implementation

List<OgVideo> get videos => _collectObjects('og:video')
    .map((o) => OgVideo(
          url: o['url'] ?? '',
          secureUrl: o['secure_url'],
          type: o['type'],
          width: int.tryParse(o['width'] ?? ''),
          height: int.tryParse(o['height'] ?? ''),
        ))
    .toList();