2015-04-26 15:09:30 +00:00
|
|
|
<% if asciicast.private? %>
|
|
|
|
<% content_for(:head) do %>
|
|
|
|
<meta name="robots" content="noindex, nofollow">
|
2015-12-20 15:36:59 +00:00
|
|
|
<meta name="referrer" content="origin">
|
2015-04-26 15:09:30 +00:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
2015-04-03 16:04:00 +00:00
|
|
|
<div class="player"></div>
|
2014-06-24 18:34:34 +00:00
|
|
|
|
2015-05-16 09:46:14 +00:00
|
|
|
<div class="processing-info" style="display: none">
|
|
|
|
<p>
|
|
|
|
This recording is being pre-processed at the moment. It will open automatically in a few seconds.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Feel free to contact <a href="mailto:support@asciinema.org">support@asciinema.org</a> if it takes longer.
|
|
|
|
</p>
|
|
|
|
</div>
|
2013-09-20 21:21:25 +00:00
|
|
|
|
2015-04-03 16:04:00 +00:00
|
|
|
<script>
|
2013-09-20 21:21:25 +00:00
|
|
|
$(function() {
|
2015-05-16 09:31:03 +00:00
|
|
|
tryCreatePlayer(
|
|
|
|
$('.player')[0],
|
|
|
|
<%= asciicast.to_json.gsub('</', '<\/').html_safe %>,
|
2015-10-08 09:55:14 +00:00
|
|
|
<%= options.as_json.merge(skip_titlebar ? {} : {
|
|
|
|
title: asciicast.title,
|
|
|
|
author: asciicast.author_display_name,
|
|
|
|
authorURL: asciicast.author_url,
|
|
|
|
authorImgURL: asciicast.author_avatar_url
|
|
|
|
}).to_json.gsub('</', '<\/').html_safe %>
|
2015-05-16 09:31:03 +00:00
|
|
|
);
|
2013-09-20 21:21:25 +00:00
|
|
|
});
|
2015-04-03 16:04:00 +00:00
|
|
|
</script>
|