amazing work as always, thanks for keeping krpano at the head of the pack 👍
Posts by Sam Rohn
-
-
setup is not so hard, speed is good, cost is generally a few dollars a month for most users i know, php is not possible as s3 is not an apache server
my main wordpress site is hosted on siteground and i embed panos which are hosted on AWS via iframe
i wrote up a simple tutorial for hosting 360° pano tours on AWS S3 here -
https://www.facebook.com/notes/360-pano…85125864864836/
and tony redhead has more advanced tutorials here
https://tonyredhead.com/amazon-s3
sam
-
could based subscription software as service etc is widely reviled by many, adobe CC moving to such a model was very unpopular as i recall, but an advanced krpano gui editor as plugin for a reasonable fee would be fine for many users i assume
otherwise, i think klaus and krpano are doing fine without the need to mix in popular marketing buzzwords like crowdfunding and blockchain etc :D
sam
-
rainyday.js has this "rain on window" effect, i suppose it could be overlaid on top of krpano canvas (fixed to window), but that might look odd in some cases ?
projecting the "rainy window" on the entire sphere would also look kind of odd, like you were inside a plastic bubble inside the pano environment ?
-
see this tutorial on embedding VR panoramas in social media such as facebook, twitter, etc
http://ivrpa.org/tutorial/embed…n-social-media/
sam
-
you only need the krpanotools droplet output folder contents, nothing else, the emebdpano.js is already included in the tour.htm file
krpano does not use any shortcodes on its own, but if you are referring to the krpano embed code instructions in your first post, DO NOT use that code with wordpress, it will not work as expected, that code is for if you were building a static page or otherwise integrating your own code into a custom dynamic template etc
panopress does not affect krpano xml or any other embedded files in any way, most likely your errors with rotate speed etc were due to local browser caching, always clear your cache etc when testing xml updates
if you want to easily embed a pano in wordpress etc without panopress, just use an iframe like this
Code<iframe width="100%" height="500" src="http://www.WEBSITE.com/path/pano.htm" allowfullscreen></iframe>first, verify that your pano path url is correct and works on its own when opened in a browser before embedding (if it does not work on its own it will not work in an embed), then paste the entire iframe line into a post (use wp text editor mode, NOT fancy editor mode) and save your post
sam
-
the only files you need to upload are those in the vtour output folder, assuming you are using the make vtour droplet
panopress does not affect xml file or other krpano settings at all, any changes you make (rotation speed, etc) would still work properly when embedded w panopress
proper working path for your uploaded pano in your screenshots would be something like this
Codehttp://www.MY-SITE.com/wp-content/uplaods/panoramas/The%20Cathedral%20Basilica%20Church/Virtual%20Tour%2048MP/tour.htmand with panopress you would use shortcode like this -
Code[pano file="http://www.MY-SITE.com/wp-content/uplaods/panoramas/The%20Cathedral%20Basilica%20Church/Virtual%20Tour%2048MP/tour.htm"]note that all of the spaces " " in your url path must be converted to "%20", you would be better off using directory names like "the-cathedral-basilica-church" with dashes instead of spaces to avoid this confusion
"my-pano-tour-folder-name" = good directory name using dashes instead of spaces, no characters will be converted
"My Pano Tour Folder Name" = bad directory name, spaces must be converted to %20 in URL format
"My%20Pano%20Tour%20Folder%20Name" = above example w spaces converted to URL formatsam
-
use the panopress plugin for wordpress to embed krpano -
or, just use an iframe like below, enter this code in your post html editor (not wsywig editor), make sure your pano url is working on its own outside of wp before embedding
Code<iframe width="100%" height="600" src="http://www.domain.com/path/pano.htm" frameborder="0" allowfullscreen></iframe>basically, you need to upload your entire krpano output folder (js, swf, html, tiles, etc) to your server via ftp, and embed the .html file directly using panopress or iframe as above
thanks
sam
-
use allowfullscreen in iframe like this in wordpress html editor (not wsywig editor), note this replaces previous usage like allowfullscreen="true", mozallowfullscreen="true", etc
no need for any shortcode, just use the simple html below, these additional attributes would not automatically be supported by an iframe shortcode anyway
Code<iframe width="100%" height="600" src="http://www.domain.com/path/pano.htm" frameborder="0" allowfullscreen></iframe>see here for more info on allowfullscreen in html5 iframes
http://www.allowfullscreen.com
sam
-
amazon web services S3 is ideal for hosting krpano multi-res and 360° video content, no inode file limits etc, free trial period, and dirt cheap after that
here is a tutorial i set up for proper configuration of s3 for hosting krpano (also kolor panotour, pano2vr etc) content
http://www.panopress.org/forums/topic/h…eb-services-s3/
sam
-
try using PanoPress to embed your krpano and other panoramas in wordpress sites, should save you lots of guessing and headaches etc -
sam
-
thanks, i have updated the amazon S3 panorama hosting tutorial with new CORS config for better cloudfront CDN compatibility here -
http://www.panopress.org/forums/topic/h…s-s3/#post-3122
sam
-
ok, apprently there is an issue w amazon S3 and cloudfront and CORS, see these posts on stackoverflow for details
http://stackoverflow.com/questions/1481…t-not-the-other
http://stackoverflow.com/questions/2442…equesting-domai
this may be the solution -
in the CORS section from my tutorial on hosting panoramas on amazon S3, change this bit
tolet us know if that works, you may need to clear out cloudfront cache etc as well
sam
-
seems you are using krpano 1.17.6 on that link, 360° video on html5 requires krpano 1.1.8 i believe ?
your xml etc will probably need update for 1.1.8 as well, see this page for details
so this is probably not a cloudfront issue, let us know if krpano update resolves this
thanks
sam
-
i wrote up a tutorial for configuring AWS S3 for krpano and other panoramas here, CORS config info included -
http://www.panopress.org/forums/topic/h…eb-services-s3/
just configure your bucket as shown in the tutorial and upload your panos, all permissions and cors etc will be set properly for all files automatically, no need to make any changes to krpanotools output files or set file permissions manually etc
sam
-
you could use a wordpress plugin like xfile which basically gives you a file browser in the wordpress admin area, but a standard desktop ftp client like cyberduck etc is probably easier to deal with
if your web hosting service includes some sort of cpanel file manager etc, you can use that to upload zip files and unzip on server, much faster for uploading multires tours with thousands of tiles...
you could also host your panoramas on amazon s3 and use their web interface or cyberduck etc to upload
either way, you still have to get your files up on your ftp server somehow before embedding with panopress etc, an ideal wordpress solution would be a way to drag and drop a zip file or directory in wp media upload and unzip and have it return the url path (without adding contents to wordpress media library), a future version of panopress may include a simple built in upload mechanism like this, stay tuned ;)
sam
-
tutorials are listed under documentation which is linked at the top of every page on this site -
https://krpano.com/docu/tutorials/#top
https://krpano.com/docu/tutorials/quickstart/
sam
-
you could use some sort of XML minify utility to pack things down a bit before encryption
http://www.google.com/#q=minify+xml
sam
-
just look at the files in the krpano download examples folder
or see look at the code on these pages, same as the download
https://krpano.com/examples/116/e…ss/compass.html
https://krpano.com/examples/116/e…ass/compass.xml
sam
-
using placeholders in xml is usually a good idea when working with global swf + js files, also with CMS like wordpress etc, helps keep files from being called from virtual url paths which do not actually exist as real directories
try something like this
see this discussion for more info
Placeholders (%HTMLPATH%, %SWFPATH%, etc..), why to use them??
sam