From 210bbbc8d99685ee3b62e1086b5594144e7da0d6 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 17 Aug 2016 02:40:11 -0400 Subject: autoplay/loop checkbox on individual media fields --- themes/okadmin/public/js/parser.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'themes/okadmin/public/js/parser.js') diff --git a/themes/okadmin/public/js/parser.js b/themes/okadmin/public/js/parser.js index 4ab9a6c..81bba2d 100644 --- a/themes/okadmin/public/js/parser.js +++ b/themes/okadmin/public/js/parser.js @@ -100,6 +100,8 @@ var Parser = { token: id, thumbnail: thumb, title: res.snippet.title, + autoplay: false, + loop: false, width: 640, height: 360, }) @@ -133,6 +135,8 @@ var Parser = { title: res.title, width: res.width, height: res.height, + autoplay: false, + loop: false, }) } }) @@ -257,6 +261,8 @@ var Parser = { title: stripHTML(post['video-caption']), width: 640, height: 360, + autoplay: false, + loop: false, } media_list.push(media) } -- cgit v1.2.3-70-g09d2