Embedding in wordpress
Posted: Thu Oct 21, 2010 8:15 pm
TIP
I've recently embedded a number of panos in a Wordpress website, with varying sucess. Searching these forums didn't really provide an answer, but as I've now solved the problem I thought I'd let others know how it can be done. It allows the panos to be displayed easily, but still preserving flexibility in creating the skin/swf files for use in multiple locations if required.
I create all my files in a single directory, sometimes using sub directories for other resources. So when you call next panorama, it simply refers to the swf file e.g
Embedding in Wordpress I use Kimili, a De Facto standard in Wordpress. It's very versatile. However, you have to set the parameters correctly otherwise the linked swf won't be found. You MUST add the basepath parameter in the Kimili plugin.
Example Wordpress HTML code below
http://kimili.com/plugins/kml_flashembed#faqs. You don't have to put the full url, just something like /mypanodirectory/mypano/
Hope this helps to clarify how you can embed panos in wordpress, without having to hardcode complete URL's into the skin.
regards
Gareth
I've recently embedded a number of panos in a Wordpress website, with varying sucess. Searching these forums didn't really provide an answer, but as I've now solved the problem I thought I'd let others know how it can be done. It allows the panos to be displayed easily, but still preserving flexibility in creating the skin/swf files for use in multiple locations if required.
I create all my files in a single directory, sometimes using sub directories for other resources. So when you call next panorama, it simply refers to the swf file e.g
Embedding in Wordpress I use Kimili, a De Facto standard in Wordpress. It's very versatile. However, you have to set the parameters correctly otherwise the linked swf won't be found. You MUST add the basepath parameter in the Kimili plugin.
Example Wordpress HTML code below
http://kimili.com/plugins/kml_flashembed#faqs. You don't have to put the full url, just something like /mypanodirectory/mypano/
Code: Select all
[kml_flashembed publishmethod="dynamic" fversion="9.0.0" movie="/panovr/One.swf" width="800" height="400" targetclass="flashmovie" base="/panovr/"]
<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a>
[/kml_flashembed]
regards
Gareth