message: fix(tabs-extended-with-media): videos are now working
  ### Description
  I've added a quick fix to our video player service so videos work properly on Tabs extended with media.
diff: @@ -193,6 +193,19 @@ class VideoPlayerAPI {
  const fireEvent = this.fireEvent;
  return await this.checkScript().then(() => {
  const promiseKWidget = new Promise(resolve => {
  + let isCustomCreated;
  +
  + if (
  + !document.getElementById(targetId) &&
  + document.querySelector('dds-tabs-extended-media')
  + ) {
  + const newVideoDiv = document.createElement('div');
  + newVideoDiv.classList.add(`bx--video-player__video`);
  + newVideoDiv.setAttribute('id', targetId);
  + document.body.append(newVideoDiv);
  + isCustomCreated = true;
  + }
  +
  root.kWidget.embed({
  targetId: targetId,
  wid: '_' + _partnerId,
  @@ -226,6 +239,17 @@ class VideoPlayerAPI {
  resolve(kdp);
  },
  });
  +
  + if (isCustomCreated) {
  + const previousVideoDiv = document
  + .querySelector('dds-tabs-extended-media')
  + .shadowRoot.querySelector(
  + `.bx--accordion__item--active dds-video-player`
  + ).lastChild;
  + previousVideoDiv.parentElement.appendChild(
  + document.getElementById(targetId)
  + );
  + }
  });
  return {
  kWidget() {
  