How to autostart a video?

Ok @themaayur

bug.apk (5.0 MB)

take clock timer of 100ms and set enabled to false and when you set source of video then set timer.enabled to true…

and when clock.timers is done just start playing video

Already tried

Actually bug is I have disabled controls when screen is intallised video is loaded everything but you have to click on the button resume in controls but I want to hide controls

Now I found a thread on community about this bug please anyone merge this topic with that

1 Like

In that Mika said that this will be fixed in later update but not fixed till now what should I do now

How to autostart a video

Still not working @Taifun

Please search in the community before post.
Look my solution

just show the improved blocks, please

Or try this:

I did mine with a button click
Try it: Add a button and make a timer maybe for 5 secs when screen initalize set the clock to true
when the 5 secs done call maybe it will help you

EDIT: probably you forgot to disable the timer in the designer?
what exactly prevents you from trying a few things, for example to use a longer timer interval?
see also tip 2 here App Inventor: How to Learn | Pura Vida Apps
and rather than just saying “not working” what about providing a screenshot of your relevant blocks next time?


No @Taifun

Sorry I did not provide

move all your blocks below the
set Clock.TimerEnabled to true
into the Clock.Timer event


1 Like

Thanks it worked

I set clock time 2000ms what is the minimum I can set

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.