airi
airi

Reputation: 585

How to stop Iframe autoplay

This is my code :

<iframe frameborder="0" height="650" marginheight="0" marginwidth="0" scrolling="no" src="http://www.1malaysiatv.com.my/embed/player.php?ch=alhijrah&amp;width=920&amp;height=580" width="780" __idm_id__="0"></iframe>

How to make this code not play with itself . i mean autoplay=0 or autostart=false

i have done many style but cannot stop it from play

Upvotes: 1

Views: 5531

Answers (2)

Stephan Muller
Stephan Muller

Reputation: 27600

An iframe cannot play anything by itself, so you also can't tell it not to autoplay. An iframe just loads a page (the src you provide), and it is the contents inside that page that can play, like in this case the video.

Upvotes: 2

Mani
Mani

Reputation: 888

try below code

<iframe frameborder="0" height="650" marginheight="0" marginwidth="0" scrolling="no" src="http://www.1malaysiatv.com.my/embed/player.php?ch=alhijrah&amp;width=920&amp;height=580&amp;autoplay=false" width="780" __idm_id__="0"></iframe>

Upvotes: 0

Related Questions