src/application_helper.rb
# use imageserver and blob csid to serve video
use imageserver and blob csid to serve video
use imageserver and blob csid to serve video
def render_video_csid options={}
    content_tag(:div) do
      options[:value].collect do |video_csid|
        content_tag(:video,
          content_tag(:source, "I'm sorry; your browser doesn't support HTML5 video in MP4 with H.264.",
             src: "https://webapps.cspace.berkeley.edu/#TENANT#/imageserver/blobs/#{video_csid}/content",
             id: 'video_csid',
             type: 'video/mp4'),
             controls: 'controls',
             style: 'width: 640px;')
      end.join.html_safe
    end
  end
def render_video_csid options = { } content_tag ( :div ) do options [ :value ] . collect do | video_csid | content_tag ( :video , content_tag ( :source , "I'm sorry; your browser doesn't support HTML5 video in MP4 with H.264." , src : "https://webapps.cspace.berkeley.edu/#TENANT#/imageserver/blobs/#{video_csid}/content" , id : 'video_csid' , type : 'video/mp4' ) , controls : 'controls' , style : 'width: 640px;' ) end . join . html_safe end end
use imageserver and blob csid to serve video
use imageserver and blob csid to serve video
# render video player
options
<not_specific>