Skip to content

Maximize video by other addon

ettoolong edited this page Jun 27, 2018 · 1 revision

For example: Foxy Gestures

executeInBackground(() => {
    getActiveTab(tab => {
        chrome.runtime.sendMessage('MaximizeVideo@ettoolong', {
            action: 'maximizeVideo',
            tabId: tab.id
            autoSelect: true,
            supportFlash: true,
            minWidth: 100,
            minHeight: 100
        });
    });
}, []);

optional parameters (If not provide, use preference in Maximize Video):

  • autoSelect: boolean
  • supportFlash: boolean
  • minWidth: integer
  • minHeight: integer
Clone this wiki locally