1.0.3 • Published 7 years ago
hexo-tag-theta360 v1.0.3
hexo-tag-theta360
Embed 360 photos uploaded to theta360.com in your Hexo blog.
Installation
npm install --save hexo-tag-theta360
Usage
{% theta360 image-url %}
or
{% theta360 image-id %}
Example Usages
Embed using the full URL.
{% theta360 https://theta360.com/s/fHmW9N6LuKPPp6pqmnPt1vpho %}
Embed using the image ID.
{% theta360 fHmW9N6LuKPPp6pqmnPt1vpho %}
Styling
By default, the iframe
has no styling at all. You will need to apply your own styles using CSS by targeting the hexo-tag-theta360
class.
An example style could be
.hexo-tag-theta360 {
width: 100%;
height: 400px;
}