Hello Stencylers ! Here are ways to embed certain things in your topics :
Inserting Hyperlinks To embed something a hyperlink use a similar code like this :
[url=http://community.stencyl.com/]Stencyl Forums[/url]
Use the
[url=http://
parts then type in the link . After put a
]
and the word you would like to say , then put this ending /closing part
[/url]
.
Final Results :
Stencyl Forums Inserting Pictures To include a picture use
[img][/img]
, like this :
[img]http://static.stencyl.com/v3/images/showcase/ghost-song.png[/img]
Pictures have to be from its exact importing spot , for example :
Wrong Way : [img]http://www.stencyl.com/features/[/img]
Right Way: [img]http://static.stencyl.com/v3/images/tour/tour-1.jpg[/img]
To find its importing spot :
Right click , Select " Open image in new tab " and use that link OR inspect element
I recommend using " Open image in new tab " , its faster .
Final Results :
Inserting Pictures with hyperlinks Inserting pictures with hyperlinks means that when the user clicks on the picture it will take you to another site or page . So its like the picture is a hyperlink .
To insert a picture as a hyperlink you have to use
[img][/img]
and
[url][/url]
.
Here is a example
[url= WWW. Example.com ][IMG]WWW.Example.Com [/img][/URL]
but you still have to use it from the uploading spot .
First you have to write the hyperlink but without the showing words like this :
[url=http://community.stencyl.com/] [/url]
. Then place in the image between the hyperlink like this :
[url=http://community.stencyl.com/] [img]http://static.stencyl.com/v3/images/tour/tour-1.jpg[/img][/url]
Final Results :
Inserting Flash To upload a Flash use
[flash=200,200][/flash]
.
Similar from the picture you have to import exactly from the importing place , for example :
[flash=200,200]http://static.stencyl.com/games/10715-0.swf[/flash]
Wrong Way : [flash=200,200]http://www.stencyl.com/game/play/10715[/flash]
Right Way: [flash=200,200]http://static.stencyl.com/games/10715-0.swf[/flash]
You could change the x and y coordinates as you wish , it really depends on the game .
A way to find the uploading spot is to inspect the element ( right click ) .
Final results :
http://static.stencyl.com/games/10715-0.swf Youtube Videos Youtube videos are different . You already have the uploading spot but you still have to change a few things :
Insert a normal link but change the word from youtube link from "watch?v=" to "v/"
( also include the Flash code ) :
For Example:
Here is your normal youtube link :
https://www.youtube.com/watch?v=Ie04d0fgLXA
Change it to :
https://www.youtube.com/v/Ie04d0fgLXA
It should look like this after you complete the change :
[flash=640,480]https://www.youtube.com/v/Ie04d0fgLXA[/flash]
Final Results :
https://www.youtube.com/v/Ie04d0fgLXAEmbedding Dropbox (and Google drive) images and flash into your topic :Here is a normal Dropbox link:
https://www.dropbox.com/s/1dbxh84nv13a7ys/3Dgame.swf?dl=0
Now you see the "dl=0" that means tells the browser we want to download the file. We want to tell the browser we want to view the file so change the "dl=0" to "raw=1".
"raw=1" tells the browser we want to return the file or as in this case view it.
So change the link to this :
https://www.dropbox.com/s/1dbxh84nv13a7ys/3Dgame.swf?raw=1
Now as I showed you before , lets add the flash code to it :
[flash=640,480] https://www.dropbox.com/s/1dbxh84nv13a7ys/3Dgame.swf?raw=1 [/flash]
Final Results :
https://www.dropbox.com/s/1dbxh84nv13a7ys/3Dgame.swf?raw=1The same goes for images :
change to "dl=0" to "raw=1"
https://www.dropbox.com/s/udyb9b4qohljnvo/screenshot_Wed_Sep_02_17.23.59.png?raw=1
and add the " image " code :
[img]https://www.dropbox.com/s/udyb9b4qohljnvo/screenshot_Wed_Sep_02_17.23.59.png?raw=1[/img]
Final Results :Notes :
- Remember to always change it from "dl=0" to " raw=1"
- This also works with google drive
=========================================================
Well I hopes this helps users trying to embed things into their topics
!