It is working on a desktop perfectly. However, it is not working on a mobile phone. What is wrong/missing in the code for it to also autoplay the HTML on a mobile device? I have spent the last 4 hours breaking down the workflows and the issue seems to be in this code. Any suggestions?
Welcome to hell. I spent 400 hours on this problem.
DELETE EVERYTHING FROM HTML CODE PLACE
Create custom state playmusic yes/no
On HTML conditional make it when playmusic is yes text: html code you want.
Viola!
When you want to pause the player just set playmusic to no!
Autoplay wont work on phone if you leave it just on HTML you need state to trigger it!
We are getting close but it is still not working. There must be an error with something that I did on my part. Here you can see I made the following changes:
I added a yes/no custom state called play music to the page
Lastly, I added a set state of an element in the backend workflow to make sure to make the playmusic condition “yes” so that it can start playing its sound.
I am so thankful for you taking the time to help me with this. I completely understand where you are coming from. I have been trying to fix this issue since last night and feel your pain. I cannot imagine 400 hours of this I do want to emphasis that all of this still works on a desktop but the autoplay is not automatic in the mobile still. Maybe my code in the conditional section is wrong?
Actually how I really did it at the end (JUST CHECKED, sorry) I put on HTML when parameter page is Login then html code, maybe parameter is actually what is triggering it. check my app it works Flasker.io background videos are html autoplayed as you see. Will send you images of my conditionals on html, cant go to editor right now it seems bubble is down for me.