require 'alula/core_ext/tags/video'
require 'alula/plugin'
module Alula
class Sublimevideo < VideoTag
def self.path
File.join(File.dirname(__FILE__), %w{.. .. .. plugins sublimevideo})
end
def self.version
Alula::Plugins::VERSION::STRING
end
def self.install(options)
# Require valid sublime token present in configuration
return false unless options.token
# Register addons
Alula::Plugin.addon :head, ->(context) {
"" if context.item.content[/\