Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mslinn/jekyll_video
Jekyll tag plugin that embeds an HTML5 video into a web page." last_modified_at: 2023-11-08
https://github.com/mslinn/jekyll_video
html5-video jekyll jekyll-plugin jekyll-tag
Last synced: 3 months ago
JSON representation
Jekyll tag plugin that embeds an HTML5 video into a web page." last_modified_at: 2023-11-08
- Host: GitHub
- URL: https://github.com/mslinn/jekyll_video
- Owner: mslinn
- License: mit
- Created: 2023-11-07T23:41:06.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-26T11:15:45.000Z (5 months ago)
- Last Synced: 2024-09-26T16:18:41.106Z (3 months ago)
- Topics: html5-video, jekyll, jekyll-plugin, jekyll-tag
- Language: Ruby
- Homepage: https://www.mslinn.com/jekyll_plugins/jekyll_video.html
- Size: 485 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# `Jekyll_video` [![Gem Version](https://badge.fury.io/rb/jekyll_video.svg)](https://badge.fury.io/rb/jekyll_video)
Embeds a video HTML tag into a Jekyll web page.
## Installation
Add the following to your Jekyll website's `Gemfile`:
```ruby
group :jekyll_plugins do
gem 'jekyll_video'
end
```And then execute:
```shell
$ bundle
```Add the following CSS:
```css
.jekyll_plugin_support_error, .jekyll_video_error {
background-color: rgb(248, 149, 149);
border-radius: 4pt;
border: rgb(155, 141, 141) 2px solid;
color: black;
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
font-stretch: semi-condensed;
font-size: 9pt;
line-height: 150%;
padding: 2pt 4pt 2pt 4pt;
}
```## Usage
See the [`demo/`](demo/index.html) directory for usage examples.
## Development
After checking out this git repository, install dependencies by typing:
```shell
$ bin/setup
```You should do the above before opening the project with Visual Studio Code.
### Run the Tests
```shell
$ bundle exec rake test
```### Interactive Session
The following will allow you to experiment:
```shell
$ bin/console
```### Local Installation
To install this gem onto your local machine, type:
```shell
$ bundle exec rake install
```### To Release A New Version
To create a git tag for the new version, push git commits and tags,
and push the new version of the gem to https://rubygems.org, type:```shell
$ bundle exec rake release
```## Contributing
Bug reports and pull requests are welcome at https://github.com/mslinn/jekyll_video.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).