Changeset 1116183
- Timestamp:
- 03/19/2015 05:19:48 PM (11 years ago)
- File:
-
- 1 edited
-
storyform/trunk/media/storyform-media.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
storyform/trunk/media/storyform-media.php
r1114239 r1116183 362 362 function storyform_embed_oembed_html( $cache, $url, $attr, $post_ID ) { 363 363 if( in_array( 'autopause', $attr ) ){ 364 return preg_replace( '/<iframe /i', '<iframe data-autopause ', $cache ); 365 } 364 $cache = preg_replace( '/<iframe /i', '<iframe data-autopause ', $cache ); 365 } 366 367 $cache = preg_replace( '/ src=/i', ' data-src=', $cache ); 368 366 369 return $cache; 367 370 }
Note: See TracChangeset
for help on using the changeset viewer.