How to play video in simulator?

I am wanting a video to be played on the launch of the app.Here I have tried this code but it’s not working. I have taken a look over this…

https://docs.coronalabs.com/api/library/media/playVideo.html

Here’s the code of main.lua

local onComplete = function( event ) print( "video session ended" ) end media.playVideo( "lol.m4v", true, onComplete )

The code on build.lua is…

settings = { orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", }, }, excludeFiles = { -- Include only the necessary icon files on each platform iphone = { "Icon-\*dpi.png", }, android = { "Icon.png", "Icon-Small-\*.png", "Icon\*@2x.png", }, }, -- -- iOS Section -- iphone = { plist = { UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-167.png", "Icon-60.png", "Icon-60@2x.png", "Icon-60@3x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", }, }, }, -- -- Android Section -- android = { usesPermissions = { "android.permission.INTERNET", }, }, }

And also simulator is not showing any error.

  1. Video does not work on desktop

  2. Are you testing on android or iOS?

  1. Video does not work on desktop

  2. Are you testing on android or iOS?