title: Video Player for Splash Screen in Flutter
body: <p>I made the splash screen for my app. But now, I want to use .mp4 extension in splash screen.</p>
  <p>How can I do? Please help me.
  And, this is my code about splash screen using AssetImage:</p>
  <pre><code>import 'package:flutter/material.dart';
  import 'package:bankingapp/main.dart';
  
  void main() {
    runApp(MaterialApp(home: MySplash()));
  }
  
  class MySplash extends StatefulWidget {
    @override
    _MySplashState createState() =&gt; _MySplashState();
  }
  
  class _MySplashState extends State&lt;MySplash&gt; {
    @override
    void initState() {
      super.initState();
      Future.delayed(Duration(seconds: 3), () {
        Navigator.push(context,
            MaterialPageRoute(builder: (context) =&gt; MyBottomNavigationBar()));
      });
    }
  
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        body: Container(
          decoration: BoxDecoration(
              image:
                  DecorationImage(image: AssetImage(&quot;assets/images/splash.jpg&quot;))),
        ),
      );
    }
  }
  </code></pre>