From 35e03fde7c36def4f03a8cc11a21d42e518b87bd Mon Sep 17 00:00:00 2001 From: Olena Beyer Date: Thu, 16 Mar 2017 16:27:37 -0700 Subject: [PATCH] Add twitter-video class to TwitterTransformPass --- src/Pass/TwitterTransformPass.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pass/TwitterTransformPass.php b/src/Pass/TwitterTransformPass.php index 108a2645..e586bdcd 100644 --- a/src/Pass/TwitterTransformPass.php +++ b/src/Pass/TwitterTransformPass.php @@ -30,7 +30,7 @@ class TwitterTransformPass extends BasePass { function pass() { - $all_tweets = $this->q->top()->find('blockquote.twitter-tweet'); + $all_tweets = $this->q->top()->find('blockquote.twitter-tweet, blockquote.twitter-video'); /** @var DOMQuery $el */ foreach ($all_tweets as $el) { /** @var \DOMElement $dom_el */