Search code examples
flutterflutter-dependenciesflutter-packages

Published my first Flutter package- video demo's are not showing up in my read me file


Published my first Flutter package, I added video demos and they won't show on pub.dev but they DO show on GitHub.

Any ideas why?

Here is my GitHub link

Package:

https://pub.dev/packages/sequential_navigator

And here is how I have my first few lines of my read me formatted for the media:

# Demo

iOS | Android
:-: | :-:
<video src='https://user-images.githubusercontent.com/70868433/142352951-984c9e13-5f48-4611-85fe-010f2c8007e1.mov' width=180/> | <video src='https://user-images.githubusercontent.com/70868433/142352997-b101ed58-7075-440d-9c08-0de657ed623a.mov' width=180/>


Solution

  • I think they don't allow video playing in pub.dev documentation. You can put gif file.

    You can check example of https://pub.dev/packages/video_player

    In that README.md

    Raw Data of README.md, Check line no 4.

    Thank you