The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How do I get this code to play the music file on repeat rather than once?

3 posters

Go down

Solved How do I get this code to play the music file on repeat rather than once?

Post by pensive215 November 11th 2012, 3:28 am

<embed src="https://www.youtube.com/v/FV6OCCR4qlA&fs=1&rel=0&autoplay=1&loop=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="false" width="1" height="1"></embed>
avatar
pensive215
New Member

Posts : 3
Reputation : 1
Language : english

Back to top Go down

Solved Re: How do I get this code to play the music file on repeat rather than once?

Post by Sir Chivas™ November 11th 2012, 3:37 am

Hi,

Try changing the amount of loop.

loop (supported players: AS3, HTML5)
Values: 0 or 1. Default is 0. In the case of a single video player, a setting of 1 will cause the player to play the initial video again and again. In the case of a playlist player (or custom player), the player will play the entire playlist and then start again at the first video.

Note: This parameter has limited support in the AS3 player and in IFrame embeds, which could load either the AS3 or HTML5 player. Currently, the loop parameter only works in the AS3 player when used in conjunction with the playlist parameter. To loop a single video, set the loop parameter value to 1 and set the playlist parameter value to the same video ID already specified in the Player API URL:
https://www.youtube.com/v/VIDEO_ID?version=3&loop=1&playlist=VIDEO_ID
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6980
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

https://aforums.org

Back to top Go down

Solved Re: How do I get this code to play the music file on repeat rather than once?

Post by pensive215 November 11th 2012, 5:59 am

Thanks Sir Chivas. That really helps.
avatar
pensive215
New Member

Posts : 3
Reputation : 1
Language : english

Back to top Go down

Solved Re: How do I get this code to play the music file on repeat rather than once?

Post by SLGray November 11th 2012, 6:11 am

Is this solved as you thanked Sir Chivas?


How do I get this code to play the music file on repeat rather than once? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: How do I get this code to play the music file on repeat rather than once?

Post by pensive215 November 11th 2012, 10:49 pm

Yes, it is solved. Thanks a lot for all the help.
avatar
pensive215
New Member

Posts : 3
Reputation : 1
Language : english

Back to top Go down

Solved Re: How do I get this code to play the music file on repeat rather than once?

Post by SLGray November 12th 2012, 1:30 am

Topic Solved & Locked


How do I get this code to play the music file on repeat rather than once? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum