Changes between Version 2 and Version 3 of Ticket #32069
- Timestamp:
- 04/23/2015 08:15:01 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32069 – Description
v2 v3 1 1 We brought the concept of checking pressed URLs against core's list of oembed providers, which makes it possible to auto-embed media in the editor on page load, when scanning a Youtube page, etc. 2 2 3 The check currently resides in the ` _html` method. We should widen the scope of this check to the `_limit_embed()` method, so we can do away with the tests that check the sent `$src` against page regexes (not iframe ones):3 The check currently resides in the `get_suggested_content()` method. We should widen the scope of this check to the `_limit_embed()` method, so we can do away with the tests that check the sent `$src` against page regexes (not iframe ones): 4 4 {{{ 5 5 } else if ( ! preg_match( '/\/\/(m|www)\.youtube\.com\/watch\?/', $src ) // Youtube video page (www or mobile)