Commit Graph

66 Commits

Author SHA1 Message Date
Marcin Kulik
e8b0d85be8 Remove old screenshot code 2017-01-11 20:28:19 +01:00
Marcin Kulik
cead49590c Escape non-ascii characters in JSON passed to <asciinema-player> 2016-10-02 07:22:29 +00:00
Marcin Kulik
cda33d42ba Fix no-preload for embed 2016-10-01 22:19:40 +02:00
Marcin Kulik
e5b718379d Port preload option to HTML5 element 2016-10-01 21:58:59 +02:00
Marcin Kulik
0e42b82e5d Favor poster from options over precomputed one 2016-10-01 19:32:44 +00:00
Marcin Kulik
baf1c96c7e No need for jQuery inside of an iframe 2016-10-01 18:09:32 +00:00
Marcin Kulik
b373963497 Use new player via <asciinema-player> tag 2016-10-01 19:31:11 +02:00
Marcin Kulik
0f684f46ae Fix v0 URL param 2016-01-19 10:27:38 +00:00
Marcin Kulik
e3c04e1461 Play v1 format by default if available 2015-12-22 22:09:20 +00:00
Marcin Kulik
a44121eb7b Pass title and author info to the player 2015-10-08 12:43:09 +00:00
Marcin Kulik
ecc9d098d5 Fix asset paths for screenshot generation 2015-08-26 19:32:58 +00:00
Marcin Kulik
38b899c65a html_safe my ass 2015-07-18 11:22:14 +00:00
Marcin Kulik
f1cf67412e Fix embed script for private asciicasts (fixes #194) 2015-07-18 11:15:33 +00:00
Marcin Kulik
d68c0f3282 Use actual embed scripts on "embed example" page 2015-07-18 11:13:32 +00:00
Marcin Kulik
a719251745 Fix snapshot HTML escaping 2015-04-03 16:04:00 +00:00
Marcin Kulik
2852248989 Add PNG generation (https://asciinema.org/a/17654.png) 2015-03-27 11:42:14 +00:00
Marcin Kulik
d1b912f1d2 Remove unused helpers 2014-02-01 11:25:47 +01:00
Marcin Kulik
0e85e9ac28 Pass the asciicast with the options object to player partial 2014-01-18 14:28:01 +01:00
Marcin Kulik
a9913a966d Rename "font_size" playback option to "size" 2014-01-18 14:19:23 +01:00
Marcin Kulik
57bcab04c9 Use proper PlaybackOptions object for passing options to JS player 2014-01-18 14:12:10 +01:00
Marcin Kulik
e2e117ce84 Refactor profile link helpers and decorators 2013-12-01 00:55:31 +01:00
Marcin Kulik
249117f80a Allow size to be passed to player helper in options 2013-11-20 21:33:25 +01:00
Marcin Kulik
ef8449b44c Keep the sane line length 2013-10-20 17:29:19 +02:00
Marcin Kulik
90954c03b6 Add support to embed script for making the terminal font 2x bigger 2013-10-12 16:34:31 +02:00
Marcin Kulik
0634f52c99 Change all occurrences of old project name to the new one 2013-09-23 19:05:36 +02:00
Marcin Kulik
ee636bf958 Update the player to use backend-generated JSON frames 2013-09-21 13:05:13 +02:00
Marcin Kulik
731751650c Keep the lines shorther than 80 chars 2013-08-25 16:34:02 +02:00
Marcin Kulik
20645271a1 Update models and helpers to use new Rails 4 syntax 2013-08-08 15:08:11 +02:00
Marcin Kulik
ade244e5d0 Fix rendering of snapshot in the player 2013-08-06 00:37:37 +02:00
Marcin Kulik
f0b66b6399 Center overlays according to viewport/container width 2013-06-12 23:50:31 +02:00
Marcin Kulik
62a3ffed92 Don't check for webkit anymore when enabling WebWorker player 2013-05-28 11:13:00 +02:00
Marcin Kulik
d86174d147 link_to_delete_asciicast helper 2012-11-19 22:27:52 +01:00
Marcin Kulik
560ab8362a Introduce proper player helper with proper template 2012-11-19 22:01:44 +01:00
Marcin Kulik
4fba36778e player_script -> player_script_tag 2012-11-19 21:30:45 +01:00
Marcin Kulik
8f51defdaa Reformat long string 2012-08-25 15:15:13 +02:00
Marcin Kulik
4eae9aa664 Check for window.Worker when choosing Player class 2012-08-25 14:02:03 +02:00
Marcin Kulik
6fcef6e448 Rename var 2012-08-02 23:47:06 +02:00
Marcin Kulik
8ae889e477 Enable new worker-based player for webkit browsers 2012-08-01 23:23:48 +02:00
Marcin Kulik
4b26edfd49 Support for both new worker-based player and old one 2012-08-01 22:53:10 +02:00
Marcin Kulik
1672176335 Refactor PlayerView and introduce Player 2012-08-01 22:12:55 +02:00
Marcin Kulik
b1ecbc16c0 Option to disable HUD 2012-07-28 20:59:38 +02:00
Marcin Kulik
4edd5ead9e Play cast on homepage at 2x speed 2012-07-28 20:33:10 +02:00
Marcin Kulik
785273707b Proper design, finally! 2012-07-25 20:24:20 +02:00
Marcin Kulik
7b33c31c70 Display snapshot for not started movie 2012-05-29 22:49:30 +02:00
Marcin Kulik
8b504d8fea Use asciicast title in page title 2012-04-05 21:35:21 +02:00
Marcin Kulik
69576f1a0d Display ~username from asciicast if no profile assigned 2012-04-03 19:06:05 +02:00
Marcin Kulik
c85204bf6a Remove random descriptions 2012-04-02 19:02:29 +02:00
Marcin Kulik
1b2897573e Merge branch 'bm'
* bm:
  speed and benchmark options for movie
2012-03-16 20:47:45 +01:00
Marcin Kulik
1b49dceab9 speed and benchmark options for movie 2012-03-16 20:43:32 +01:00
Marcin Kulik
501c989c8a Experimental canvas renderer 2012-03-15 09:53:26 +01:00