« Web, HTML, Tech Forum

autoplay not working [closed]

Posted by anthony

posted

Forum: Web, HTML, Tech

it's not a browser issue, because autoplay works fine on other people's profiles and i've tried different browsers!! 

when i upload the code onto my profile, the </iframe> disappears off the end, that might be the reason why (i know nothing about coding but uh, thats probably not normal) help is needed...


Report Topic

4 Replies

Sort Replies:

Reply by sev

posted
updated

take this bit of code:

<iframe width="0" height="0" src="URLHERE//?&;amp;;autoplay=1&;loop=1&;controls=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" loading="lazy"></iframe>

go to the youtube video you want, press share, then embed, then you'll be at this screen:



copy only the blue highlighted text (between the " and the ?) and paste it into the above code where it says URLHERE. then, copy the code and paste it into your about me section, making sure it's not between <style> and </style>.

lmk if this works, i'll try to help out more if not!


Permalink Report Reply

Reply by anthony

posted

hey thats pretty rad, i had to use another code for some reason but pasting it outside my style markers worked! thank you sev


Permalink Report Reply

Reply by sev

posted

of course, glad i could help a little!


Permalink Report Reply

Reply by GOAT

posted

>pasting it outside my style markers worked

only css goes in the style tags, not html or embeds

glad u got it working :3


Permalink Report Reply

anthony closed this Forum Topic