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.

Auto-play Youtube Videos

2 posters

Go down

Auto-play Youtube Videos Empty Auto-play Youtube Videos

Post by Frank_Wx October 3rd 2014, 3:53 am

Hello, 

Just wondering how do I Autoplay a Youtube video? Also, is there a way to hide the video as well? Basically when I create a new thread I would like background music and this seems like an easier way than trying to work with coding.

Thanks!
Frank_Wx
Frank_Wx
Forumember

Male Posts : 126
Reputation : 1
Language : english

http://www.njstrongweatherforum.com/

Back to top Go down

Auto-play Youtube Videos Empty Re: Auto-play Youtube Videos

Post by _Twisted_Mods_ October 3rd 2014, 9:20 am

loading a video takes alot of data for people on mobile or slow connection so i would suggest just going with a sound file


to do this

Admin Panel - Display - templates - General

edit overall_header

right under <head> add


Code:
   <embed src="http://a.tumblr.com/tumblr_lr9um3PbFW1qj8eino1.mp3" autostart="true" loop="true"
width="2" height="0">
</embed>

just replace the link to mp3 with whatever u want

and if you really want to use a youtube video

do same thing just use this code

Code:
<embed width="0" height="0"
src="http://www.youtube.com/v/XGSy3_Czz8k?autoplay=1">
</embed>

make sure you leave the "?autoplay=1" on the end of the link when you change it


Last edited by thetwistedkilla on October 3rd 2014, 9:31 am; edited 1 time in total (Reason for editing : added utube code)
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Auto-play Youtube Videos Empty Re: Auto-play Youtube Videos

Post by Frank_Wx October 6th 2014, 1:09 am

Thank you, but wouldnt your suggestion add sound throughout the entire forum? I just want it inside a specific thread.
Frank_Wx
Frank_Wx
Forumember

Male Posts : 126
Reputation : 1
Language : english

http://www.njstrongweatherforum.com/

Back to top Go down

Auto-play Youtube Videos Empty Re: Auto-play Youtube Videos

Post by _Twisted_Mods_ October 6th 2014, 2:22 am

well u can make a post with those codes as long as ur forum allows html
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Back to top

- Similar topics

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