Auto-play Youtube Videos Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
2 posters

    Auto-play Youtube Videos

    Frank_Wx
    Frank_Wx
    Forumember


    Male Posts : 125
    Reputation : 1
    Language : english

    Auto-play Youtube Videos Empty Auto-play Youtube Videos

    Post by Frank_Wx October 3rd 2014, 5: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!
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

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

    Post by _Twisted_Mods_ October 3rd 2014, 11: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, 11:31 am; edited 1 time in total (Reason for editing : added utube code)
    Frank_Wx
    Frank_Wx
    Forumember


    Male Posts : 125
    Reputation : 1
    Language : english

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

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

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


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

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

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

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