Remove InPlayerUIAdvertisement component
This commit is contained in:
parent
b5e480a486
commit
f93a7e284c
@ -80,10 +80,6 @@
|
|||||||
<!-- CONTENT -->
|
<!-- CONTENT -->
|
||||||
<div class="scrollable" style="flex: 7 7; padding: 1rem;">
|
<div class="scrollable" style="flex: 7 7; padding: 1rem;">
|
||||||
<template v-if="settings && siteSettings">
|
<template v-if="settings && siteSettings">
|
||||||
<InPlayerUIAdvertisement
|
|
||||||
v-if="selectedTab === 'playerUiCtl'"
|
|
||||||
:eventBus="eventBus"
|
|
||||||
/>
|
|
||||||
<PopupVideoSettings
|
<PopupVideoSettings
|
||||||
v-if="selectedTab === 'videoSettings'"
|
v-if="selectedTab === 'videoSettings'"
|
||||||
:settings="settings"
|
:settings="settings"
|
||||||
@ -128,7 +124,6 @@ import BaseExtensionSettings from './src/PlayerUiPanels/BaseExtensionSettings.vu
|
|||||||
import PlayerDetectionPanel from './src/PlayerUiPanels/PlayerDetectionPanel.vue'
|
import PlayerDetectionPanel from './src/PlayerUiPanels/PlayerDetectionPanel.vue'
|
||||||
import ChangelogPanel from './src/PlayerUiPanels/ChangelogPanel.vue'
|
import ChangelogPanel from './src/PlayerUiPanels/ChangelogPanel.vue'
|
||||||
import PopupVideoSettings from './src/popup/panels/PopupVideoSettings.vue'
|
import PopupVideoSettings from './src/popup/panels/PopupVideoSettings.vue'
|
||||||
import InPlayerUIAdvertisement from './src/PlayerUiPanels/InPlayerUiAdvertisement.vue';
|
|
||||||
import AboutPanel from '@csui/src/popup/panels/AboutPanel.vue'
|
import AboutPanel from '@csui/src/popup/panels/AboutPanel.vue'
|
||||||
import Debug from '../ext/conf/Debug';
|
import Debug from '../ext/conf/Debug';
|
||||||
import BrowserDetect from '../ext/conf/BrowserDetect';
|
import BrowserDetect from '../ext/conf/BrowserDetect';
|
||||||
@ -147,7 +142,6 @@ export default {
|
|||||||
PopupVideoSettings,
|
PopupVideoSettings,
|
||||||
PlayerDetectionPanel,
|
PlayerDetectionPanel,
|
||||||
BaseExtensionSettings,
|
BaseExtensionSettings,
|
||||||
InPlayerUIAdvertisement,
|
|
||||||
SupportLevelIndicator,
|
SupportLevelIndicator,
|
||||||
ChangelogPanel,
|
ChangelogPanel,
|
||||||
AboutPanel
|
AboutPanel
|
||||||
|
@ -1,59 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div>
|
|
||||||
<h1>In-player UI</h1>
|
|
||||||
|
|
||||||
<div
|
|
||||||
class="button b3"
|
|
||||||
style="margin: 16px; padding: 4px;"
|
|
||||||
@click="showInPlayerUi()"
|
|
||||||
>
|
|
||||||
Show settings window
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- <p></p>
|
|
||||||
<p></p>
|
|
||||||
<p>In-player UI should show and hide automatically as you start or stop moving your mouse inside the player window.</p>
|
|
||||||
<p>Note that by default, in-player UI may not show if player window is not big enough.</p> -->
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import UIProbeMixin from '../utils/UIProbeMixin';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
mixins: [
|
|
||||||
UIProbeMixin
|
|
||||||
],
|
|
||||||
props: [
|
|
||||||
'eventBus',
|
|
||||||
],
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
pageData: {
|
|
||||||
pcsDark: 'x',
|
|
||||||
pcsLight: 'x',
|
|
||||||
colorScheme: 'x'
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
|
||||||
created() {
|
|
||||||
this.eventBus.subscribeMulti(
|
|
||||||
{
|
|
||||||
'uw-page-stats': {
|
|
||||||
function: (data) => {
|
|
||||||
console.log('got page statss:', data);
|
|
||||||
this.pageData = data;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
this
|
|
||||||
);
|
|
||||||
this.eventBus.send('uw-get-page-stats', {}, {comms: {forwardTo: 'active'}});
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
showInPlayerUi() {
|
|
||||||
this.eventBus.send('uw-set-ui-state', {globalUiVisible: true}, {comms: {forwardTo: 'active'}});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
Loading…
Reference in New Issue
Block a user