test newor video slot again

This commit is contained in:
Andrea Vos 2023-08-15 17:55:00 +02:00
parent a2d4ae512e
commit 4f3a2739cf
2 changed files with 7 additions and 6 deletions

View File

@ -5,7 +5,7 @@
<p class="text-center h5">{{phkey}}</p>
<Debug :v="adConfig"/>
</template>
<div v-else-if="adConfig.waldo" class="adsbynewor" :id="'waldo-tag-' + adConfig.slotId"></div>
<div v-else-if="adConfig.waldo" :class="['adsbynewor', adConfig.video ? 'waldo-video-tag' : '']" :id="'waldo-tag-' + adConfig.slotId"></div>
<ins v-else-if="adConfig.adsense" class="adsbygoogle"
style="display:block;margin-block: 1em;"
data-ad-client="ca-pub-8518361481036191"
@ -47,7 +47,7 @@ export default {
return { active: false, adConfig: {} }; // FIXME
}
const {slotId, adFormat, adLayout = null, responsive = false} = adPlaceholders[this.phkey];
const {slotId, adFormat, adLayout = null, responsive = false, video = false} = adPlaceholders[this.phkey];
return {
active: true,
adConfig: {
@ -56,6 +56,7 @@ export default {
adFormat,
adLayout,
responsive,
video,
}
}
},

View File

@ -9,10 +9,10 @@ export default {
'aside-right-middle': {slotId: '15312'}, // prev: {slotId: 2369847195, adFormat: 'auto', responsive: true},
'aside-right-bottom': null, // prev: {slotId: 6664353412, adFormat: 'auto', responsive: true},
'main-0': {slotId: '15306'}, // prev: {slotId: 3137058361, adFormat: 'auto', adLayout: 'in-article'}, // prev: {slotId: 8172838213, adFormat: 'auto', responsive: true},
'main-1': {slotId: '15309'}, //{slotId: 3299823474, adFormat: 'auto', responsive: true},
'main-2': {slotId: '15310'}, // {slotId: 3108251782, adFormat: 'auto', responsive: true},
'main-3': null, // {slotId: 6716873048, adFormat: 'auto', responsive: true},
'main-0': {slotId: '15372', video: true}, // prev: {slotId: 3137058361, adFormat: 'auto', adLayout: 'in-article'}, // prev: {slotId: 8172838213, adFormat: 'auto', responsive: true},
'main-1': {slotId: '15306'}, //{slotId: 3299823474, adFormat: 'auto', responsive: true},
'main-2': {slotId: '15309'}, // {slotId: 3108251782, adFormat: 'auto', responsive: true},
'main-3': {slotId: '15310'}, // {slotId: 6716873048, adFormat: 'auto', responsive: true},
'main-4': null,
'main-5': null,
'main-6': null,