09-25-2018, 03:57 AM
Youtube videosunu embed ile ekleyince otamatik oynatmak için yapılması gereken
embed kodundaki youtube linkinin sonuna bu kodu ekle
Misal, embed kodu bu olsun
ve sayfanızın videoyu otmatik oynatması için video nun kodu böyle olacak
embed kodundaki youtube linkinin sonuna bu kodu ekle
Code:
?rel=0&autoplay=1
Misal, embed kodu bu olsun
Code:
<iframe width="1280" height="720" src="https://www.youtube.com/embed/F9FEomKKTwQ" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
ve sayfanızın videoyu otmatik oynatması için video nun kodu böyle olacak
Code:
<iframe width="1280" height="720" src="https://www.youtube.com/embed/F9FEomKKTwQ?rel=0&autoplay=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>