# embed-privacy/1.10.6/assets/js/divi.js

Embed Privacy, version 1.10.6. 16 lines.

- Page: https://pluginprobe.com/plugins/embed-privacy/1.10.6/code/assets/js/divi.js
- Raw: https://pluginprobe.com/plugins/embed-privacy/1.10.6/raw/assets/js/divi.js
- Modified: 2024-05-31T11:12:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/embed-privacy/1.10.6/code/assets/js/divi.js#L10-L20`.

```javascript
/**
 * Divi functionality
 * 
 * @author	Epiphyt
 * @license	GPL2
 * @package	epiphyt\Embed_Privacy
 */
document.addEventListener( 'DOMContentLoaded', () => {
	// Generate responsive video wrapper for Embed Privacy container
	if ( $.fn.fitVids ) {
		$( '#main-content' ).fitVids( {
			customSelector: ".embed-privacy-container"
		} );
	}
} );

```
