Skip to content

feat: hubvisor adapter#1

Open
mlequain wants to merge 3 commits into
masterfrom
feat/hubvisor-generic-adapter
Open

feat: hubvisor adapter#1
mlequain wants to merge 3 commits into
masterfrom
feat/hubvisor-generic-adapter

Conversation

@mlequain
Copy link
Copy Markdown
Collaborator

@mlequain mlequain commented Sep 24, 2024

Description

Implement a new Hubvisor Bid adapter module that connects to Hubvisor demand sources and supports the banner and video media types.

@nlequain nlequain force-pushed the feat/hubvisor-generic-adapter branch 4 times, most recently from 7b7590f to 6d80665 Compare November 4, 2024 17:06
@nlequain nlequain force-pushed the feat/hubvisor-generic-adapter branch from 6d80665 to 929a32d Compare November 4, 2024 17:06
@nlequain nlequain self-assigned this Nov 5, 2024
Comment thread modules/hubvisorBidAdapter.js
Comment thread modules/hubvisorBidAdapter.js Outdated
Comment thread modules/hubvisorBidAdapter.js Outdated
Comment thread modules/hubvisorBidAdapter.js Outdated
Comment thread modules/hubvisorBidAdapter.js Outdated
Comment thread modules/hubvisorBidAdapter.js Outdated

const videoParametersByBidId = {};

function isTest() {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pas sur que ça soit nécessaire d'en faire une fonction vu que ça n'est utilisé qu'une fois

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

En soit ça permet de simplifier le code qui l'utilise en enlevant la complexité de "comment l'information est stockée ?", et ça coute à peu près rien de garder une fonction en plus, donc ça me semble OK de garder cette forme.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je vais laisser en l'état pour l'instant pour livrer l'adapteur à Prisa rapidement. Je reviendrai sur tes commentaires plus tard avant de publier l'adapteur.

Comment thread modules/hubvisorBidAdapter.js Outdated
Comment thread modules/hubvisorBidAdapter.js Outdated
window.HbvPlayer.playOutstream(container, options);
}

function getSelector(config, bid) {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nécessaire d'en faire une fonction ?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pareil ici, ça permet d'abstraire une partie de la complexité, donc à part si ça te choque, perso ça me semble pas mal comme ça.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je vais laisser en l'état pour l'instant pour livrer l'adapteur à Prisa rapidement. Je reviendrai sur tes commentaires plus tard avant de publier l'adapteur.

});
}

function playOutstream(containerOrSelector, options) {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nécessaire d'en faire une fonction ?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idem ici, ça permet de découper le code au lieu d'avoir une grosse fonction plus complexe, donc à part si ça te semble vraiment pas clair, sinon je suis chaud de garder ça comme ça.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je vais laisser en l'état pour l'instant pour livrer l'adapteur à Prisa rapidement. Je reviendrai sur tes commentaires plus tard avant de publier l'adapteur.

Comment thread modules/hubvisorBidAdapter.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants