Pentru a face un clip de pe YouTube sa fie autoplay, va trebui sa folosesti vechile coduri embed (disponibile pe YouTube.com prin bifarea optiunii "Use old embed code") si sa adaugi la sfarsitul valorii parametrului movie si adresei embedului "&autoplay=1".
Astfel:
< object width="425" height="349">< param name="movie" value="http://www.youtube.com/v/GdWhlo9b9zg?fs=1& hl=en_US"></param>< param name="allowFullScreen" value="true"></param>< param name="allowscriptaccess" value="always"></param>< embed src="http://www.youtube.com/v/GdWhlo9b9zg?fs=1& hl=en_US" type="application/x-shockwave-flash" width="425" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object>
Devine:
< object width="425" height="349">< param name="movie" value="http://www.youtube.com/v/GdWhlo9b9zg?fs=1& hl=en_US& autoplay=1"></param>< param name="allowFullScreen" value="true"></param>< param name="allowscriptaccess" value="always"></param>< embed src="http://www.youtube.com/v/GdWhlo9b9zg?fs=1& hl=en_US& autoplay=1" type="application/x-shockwave-flash" width="425" height="349" allowscriptaccess="always" allowfullscreen="true"></embed></object>
Sper ca ai inteles. :)
B-Bye! :-h
Andra_Andra_1998 întreabă: