Title: widget TS oembed
Last modified: August 21, 2016

---

# widget TS oembed

 *  [serge rauber](https://wordpress.org/support/users/kalyx/)
 * (@kalyx)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/widget-ts-oembed/)
 * Hi
 * I had a problem with flash displayed over a fixed bar, so I had a filter to add
   wmode=transparent. But in your code you echo `wp_get_oembed` without `apply_filters('
   embed_oembed_html'...`, so my filter does not work for the widget.
 * I have made this change (line 92, oembed.php)
 *     ```
       // Check if embed URL is entered
       if( isset( $embed_url ) ) {
       echo '<div class="ts-widgets-oembed-content">';
       	// Check if user entered embed width
       	$attr = ( isset( $embed_width ) && $embed_width > 0 )?array( 'width' => $embed_width ):'';
       	$html = wp_oembed_get( $embed_url, $attr );
       	if ( $html ) echo apply_filters( 'embed_oembed_html', $html, $embedurl, $attr, null );
   
       echo '</div><!-- .ts-widgets-oembed-content -->';
       } // end if embed URL
       ```
   
 * it’s working
 * [http://wordpress.org/extend/plugins/ts-widget-pack/](http://wordpress.org/extend/plugins/ts-widget-pack/)

The topic ‘widget TS oembed’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [serge rauber](https://wordpress.org/support/users/kalyx/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/widget-ts-oembed/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
