From 1a1adc4fe94a3535f0d69745d7a82ca97a0b669b Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Wed, 16 Mar 2016 17:46:35 +0800 Subject: [PATCH] site: support video in Markdown --- docs/spec/transition.md | 34 +++++-------------------- package.json | 3 ++- site/common/styles/preview-img.less | 10 ++++++++ site/component/Article/ImagePreview.jsx | 5 ++-- site/component/Article/VideoPlayer.jsx | 24 +++++++++++++++++ site/component/Article/index.jsx | 18 ++++++++++++- site/component/Motion/transition.js | 21 --------------- 7 files changed, 62 insertions(+), 53 deletions(-) create mode 100644 site/component/Article/VideoPlayer.jsx delete mode 100644 site/component/Motion/transition.js diff --git a/docs/spec/transition.md b/docs/spec/transition.md index 693c1d82ee..21c979495d 100644 --- a/docs/spec/transition.md +++ b/docs/spec/transition.md @@ -14,21 +14,19 @@ ## 在视图变化时保持上下文 -
+