Latest topics
» what if you asked for help to fix a problem in forum and you got this
by Michael_vx Yesterday at 21:16

» [GAME] Count to One Million!
by Ange Tuteur Yesterday at 19:44

» Change the Path ::
by Guest Yesterday at 14:22

» blah
by Andrei34 Yesterday at 01:13

» How to remove these spaces
by Gin NeOs Sat 21 Jan 2017, 19:34

» Hello! I'm Prometheus.
by Guest Sat 21 Jan 2017, 08:12

» Night Mode
by Michael_vx Sat 21 Jan 2017, 00:00

» Happy Birthday Thread
by Michael_vx Fri 20 Jan 2017, 23:18

» The Happy Thread
by Guest Fri 20 Jan 2017, 08:37

» Display a Preview of Groups on Hover
by Guest Fri 20 Jan 2017, 08:32

» Race for the White House
by Guest Fri 20 Jan 2017, 08:23

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Fri 20 Jan 2017, 03:27

» Starred Forums
by Milouze14 Fri 20 Jan 2017, 03:13

» FM Themes
by SLGray Thu 19 Jan 2017, 19:16

» User - Made Creations
by SLGray Thu 19 Jan 2017, 19:15

Recent Tutorials
Top posting users this month
Who is online?
In total there are 3 users online :: 0 Registered, 0 Hidden and 3 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

[TUTORIAL] Adding a YouTube Playlist to your topic / post

View previous topic View next topic Go down

Guest
Guest
View all awards

PostGuest on Sat 16 Apr 2016, 13:38

Embedding a YT playlist on your site:
Add the following code to your post:
Code:
<center><object width="700" height="450"><param name="movie" value="http://www.youtube.com/p/4BD0B3B989298176?hl=en_US&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/p/D213ECF2E68683D2?hl=en_US&fs=1" type="application/x-shockwave-flash" width="700" height="450" allowscriptaccess="always" allowfullscreen="true"></embed></object></center>

OK, this one works fine Smile It just needs replacing this bit http://www.youtube.com/p/D213ECF2E68683D2 with your own playlist ID (marked in bold). Width and height can be adjusted to your needs.

Note: v = video / p = playlist

Adding autoplay:
Replace src="http://www.youtube.com/p/D213ECF2E68683D2?hl=en_US&fs=1" with src="http://www.youtube.com/p/D213ECF2E68683D2?hl=en_US&fs=1&autoplay=1"

Hide controls:
Replace src="http://www.youtube.com/p/D213ECF2E68683D2?hl=en_US&fs=1" with src="http://www.youtube.com/p/D213ECF2E68683D2?hl=en_US&fs=1&controls=0"

Want both?
Replace src="http://www.youtube.com/p/D213ECF2E68683D2?hl=en_US&fs=1" with src="http://www.youtube.com/p/D213ECF2E68683D2?hl=en_US&fs=1&autoplay=1&controls=0"

Geek sidenote: HTML must be ON on your site Wink


HUGE TIP: Create your own YT playlists, then create your own (hidden) widgets to have some variety in your background music added to your forums!


Want to see it in action? Check out http://fcnl.actieforum.com/t34p150-muziek-topic#2667 if you're registered or hit the preview button in the "Muziek Topic" on http://www.friendcodes.nl :

Btw, found a nice resource on those YouTube APIs: https://developers.google.com/youtube/player_parameters#Selecting_Content_to_Play

Samantha.

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

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