Skip to content

Commit

Permalink
Merge pull request #162 from chrisrhymes/feature/tiktok-video
Browse files Browse the repository at this point in the history
Add TikTok video include and update Bulma
  • Loading branch information
chrisrhymes authored Aug 5, 2024
2 parents 9e94dc0 + 366b1d7 commit 52b45c4
Show file tree
Hide file tree
Showing 44 changed files with 7,358 additions and 9,835 deletions.
6 changes: 6 additions & 0 deletions _includes/tiktok.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<figure class="image is-16by9">
<iframe
src="https://www.tiktok.com/player/v1/{{ include.video }}?controls=1&rel=0&autoplay=0"
class="has-ratio"
></iframe>
</figure>
2 changes: 1 addition & 1 deletion bulma-clean-theme.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "bulma-clean-theme"
spec.version = "1.0.3"
spec.version = "1.0.4"
spec.authors = ["chrisrhymes"]
spec.email = ["[email protected]"]

Expand Down
6 changes: 6 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.0.4
* Update Bulma to 1.0.2
* Add TikTok video include
* Allow customising product collection name
* Increse cookie expiry time in cookie banner

# 1.0.3
* Update Bulma to 1.0.1
* Add Promo Page layout
Expand Down
12 changes: 12 additions & 0 deletions docs/page-components/video.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ You can optionally include a start time in seconds. This works the same as the ?
```
{% endraw %}

## TikTok Video

You can include a TikTok video by passing in the video id to the tiktok.html.

{% raw %}
```liquid
{% include tiktok.html video="videoid" %}
```
{% endraw %}


{% include tiktok.html video="7342927568523283755" %}

## Vimeo Video

Expand Down
6 changes: 3 additions & 3 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion node_modules/bulma/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/bulma/bulma.scss

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 52b45c4

Please sign in to comment.