RandomMan wrote:
- Youtube videos:
First I'll post this image:
The text surrounded by the red is what you need to copy+paste to post a video. You don't need to check "Include Related Videos". The Youtube code has updated over time, so you'll get a different code now. For example this one:
<iframe width="420" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>
- Changing Size:
The "width" and "height" you see can be used to change the size of the video. Youtube also does this for you by changing the numbers in the custom section. For entries, KYM uses a width of 425 for stand-alone vids, and 300 for vids placed next to each other or in tables. So the following code:
<iframe width="300" height="233" src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>
Will change into:
- Editing certain features:
You can give you video certain features like autoplay or replay. To do this, place a questionmark (?) behind the Url in the embed code and follow that by one of the following codes.
- Autoplay: To make your video have autoplay, add autoplay=1 behind the questionmark. Autoplay is only allowed on your profile wall! Nowhere else!
<iframe width="420" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1" frameborder="0" allowfullscreen></iframe>
- Start at certain point: To let the videos start from a certain point, add start=X behind the questionmark. With X being the start of the video in seconds. So to start the video at 30 seconds, use:
<iframe width="420" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ?start=30" frameborder="0" allowfullscreen></iframe>
- Loop: Some videos already loop themselves, but in case they don't you have to add loop=1 behind the questionmark. This creates:
<iframe width="420" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ?loop=1" frameborder="0" allowfullscreen></iframe>
These features can also be combined. To do this, you have to put a "&" between each code feature. So for example:
<iframe width="500" height="500" src="https://www.youtube.com/embed/dQw4w9WgXcQ?start=40&autoplay=1" frameborder="0" allowfullscreen></iframe>
Will create a 500 by 500 video in autoplay starting at 40 seconds.
- WEBMs and SWFs:
The code for embedding WEBMs and SWFs is as follows:
<embed src="URL" height="300" width="300">
Height and width can be adjusted the same way as Youtube videos.
Note that WEBMs and SWFs autoplay automatically, so please cover them with a spoiler of some sort if they contain sound.
Not everything you'd like to know might be added here. If you want to know more about textile, feel free to ask. You'll be answered as fast as possible.
Also be aware that some codes may not work on the forums, but do work on entries, and visa versa.
THANK YOU BASED FORM POSTER