Hi Guys. I am having issues getting HTML5 videos to play on chrome when the source is a redirect to the video, however it plays in Safari and it also plays in Chrome when it's outside of ckeditor.
I am using http://sublimevideo.net as my video player on my site, and I created a plugin to import videos into my editor. I am using rails, and I lay down a partial for the video and it looks something like this
%video.sublime.sv_html5_fullscreen{"data-name" => "#{item.name}", "data-uid" => "#{item.id}", :height => height, :poster => "#{item.video_screenshot_redirect.gsub("&", "%26")}", :preload => "none", :width => width}
%source{:src => "#{ item.document_redirect(:original) }", :type => "video/mp4"}
As you might notice the source is a redirect link, this is because I generate a new url to my S3 bucket item and that link eventually expires.
This redirect causes the video player, in Chrome, to hang up on loading and never grab the video from the redirect. It however will play if I edit the video item and give it the direct source.
Does anybody know why Safari would be able to handle this in Ckeditor and not inside of Chrome?