Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Yospace configuration types to connector #37

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

MattiasBuelens
Copy link
Contributor

The YospaceServerSideAdInsertionConfiguration is currently defined in the THEOplayer Web SDK, and imported by the Yospace connector. This is not ideal:

  • If the connector wanted to add or change the configuration interface, it would need a new THEOplayer release first.
  • Since we intend to deprecate (and eventually remove) the Yospace pre-integration shipped in THEOplayer itself, the configuration should be moved out of the Web SDK.

This PR adds the YospaceServerSideAdInsertionConfiguration type to the Yospace Connector itself. It is currently identical to the one shipped with THEOplayer, so customers won't need to change anything in their code. However, we highly recommend updating the imports in your code to use the connector's types, in preparation of a future removal from the Web SDK.

Copy link

changeset-bot bot commented Jul 31, 2024

🦋 Changeset detected

Latest commit: 898b3e4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@theoplayer/yospace-connector-web Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@GillesMoris-Dolby
Copy link
Contributor

GillesMoris-Dolby commented Jul 31, 2024

Can we / do we also need to move the ID3Yospace stuff over?

@MattiasBuelens
Copy link
Contributor Author

That's a little bit more difficult, since we actually have special logic for that in the ID3 parser of THEOplayer.

Maybe another time! 😅

@MattiasBuelens MattiasBuelens merged commit c7660f9 into main Jul 31, 2024
1 check passed
@MattiasBuelens MattiasBuelens deleted the yospace-configuration-type branch July 31, 2024 15:07
@MattiasBuelens MattiasBuelens added the 🔌 connector: yospace Affects the Yospace connector label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔌 connector: yospace Affects the Yospace connector
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants