This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
// silverlight dont allow unfocused fullscreen | |
// remove useless elements and resize to browser width | |
var removeableElements = [ | |
'#header', '#stage_nav_block', '.detail_header', | |
'.detail_details', '.detail_credits', '.detail_actions', '#main_footer', '#footer', '#bottom_spacer_block', '.blue_line' | |
]; | |
var $player = $('#playerContainerId'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import classnames from 'classnames'; | |
const { createHigherOrderComponent } = wp.compose; | |
const { Fragment } = wp.element; | |
const { InspectorAdvancedControls } = wp.editor; | |
const { ToggleControl } = wp.components; | |
const { addFilter } = wp.hooks; | |
const { __ } = wp.i18n; | |
const { assign, merge } = lodash; |