roughike / inKino

A multiplatform Dart movie app with 40% of code sharing between Flutter and the Web.
https://inkino.app
Apache License 2.0
3.64k stars 708 forks source link

Accepted Media Resource Formats #124

Closed ronlinet closed 5 years ago

ronlinet commented 5 years ago

The app default video format is set to YoutTube :

<MediaResourceFormat>YouTubeVideo</MediaResourceFormat>

Would it be sufficient to change the media tags to get this working with different media providers? Ex:

<MediaResourceFormat>Vimeo</MediaResourceFormat>
<MediaResourceFormat>DailyMotion</MediaResourceFormat>
ronlinet commented 5 years ago

So it can be done by overriding the https://github.com/roughike/inKino/blob/development/mobile/lib/ui/events/event_poster.dart#L90 . Not the most elegant approach but it does the trick.