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

Bot Framework Emulator v4.12.0 cannot play YouTube video from videoCard, It works fine in Emulator v4.11.0 #2250

Open
saiteja21 opened this issue Mar 24, 2021 · 8 comments
Assignees
Labels
Backlog An approved issue or bug added into the work queue for evaluation into a future iteration Bot Services equired for internal Azure reporting. Do not delete. Do not change color. Bug Your classic code defect customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete. ExemptFromDailyDRIReport

Comments

@saiteja21
Copy link

Version

What version of the Emulator are you using.
Bot Framework Emulator v4.12.0

Describe the bug

Cannot play YouTube video from videocard
image
image

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Bot Framework Samples and use 06.using-cards sample for test'
  2. Update the video link in GetVideoCard() method. I used "https://youtu.be/_QobdWOa02o"
  3. Run the project and test it in Emulator v4.11.0 and v4.12.0
  4. See error "Your browser cannot play this video"

Expected behavior

It should work as expected as it is working in v4.11.0
image

[bug]

@saiteja21 saiteja21 added the Bug Your classic code defect label Mar 24, 2021
@saiteja21 saiteja21 changed the title Bot Framework Emulator v4.12.0 cannot play YouTube video link from videoCard, It works fine in Emulator v4.11.0 Bot Framework Emulator v4.12.0 cannot play YouTube video from videoCard, It works fine in Emulator v4.11.0 Mar 24, 2021
@v-kydela v-kydela added Bot Services equired for internal Azure reporting. Do not delete. Do not change color. customer-reported Required for internal Azure reporting. Do not delete. labels Mar 25, 2021
@carlosscastro
Copy link
Member

@tonyanziano could this be related to the electron update?

@tonyanziano
Copy link
Contributor

I believe so, and I think it's related to a similar issue we are seeing in Composer where we cannot play certain audio formats within the new Web Chat control.

I think this has something to do with the internal version of Electron we are using. Certain codecs that ship with the public version of Electron are stripped from the internal version, and to use a build with all the standard codecs we have to pay royalties.

I can verify that this is the case by testing this scenario out locally from the dev build. If I can play the video in the dev build, but not in the production version, then it is due to the missing codecs and there is not much we can do in that case.

@carlosscastro
Copy link
Member

Thanks @tonyanziano. Please let us know the results of your investigation.

@carlosscastro carlosscastro added the customer-replied-to Required for internal reporting. Do not delete. label Mar 26, 2021
@tonyanziano
Copy link
Contributor

tonyanziano commented Mar 30, 2021

I did some testing and here are the results:

With the original Vimeo.mp4 link:

image

With the YouTube link you posted in the production build:

image

With the YouTube link you posted in the development build:

image


So this confirms my suspicions that this is due to the missing codecs in the custom internal build of Electron that we use.

Unfortunately, we do not really have a way to resolve this via some code fix. We would have to switch to another internal build of Electron that contains the missing codecs, which means that we would have to pay royalties on the codecs.

We are facing the same issue over in Composer, and need to come to a decision about whether or not we want to switch to the other build before we can fix this.

(Composer issue for reference: microsoft/BotFramework-Composer#6128)

@lauren-mills
Copy link

@tonyanziano - should this be added to the backlog?

@tonyanziano tonyanziano added the Backlog An approved issue or bug added into the work queue for evaluation into a future iteration label Apr 12, 2021
@rliberoff
Copy link

Hi!

Please, fix this! I'm also having this issue with the latest version of the Bot Emulator (4.14.1)

Thank you!

@therahulparmar
Copy link

Hii,

Can you please fix this issue for the latest version of Bot Framework Emulator (4.14.1)

@jesusespinel
Copy link

hello guys, how can i reproduce a video from youtube in bot frameowrk emulator? can you help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backlog An approved issue or bug added into the work queue for evaluation into a future iteration Bot Services equired for internal Azure reporting. Do not delete. Do not change color. Bug Your classic code defect customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete. ExemptFromDailyDRIReport
Projects
None yet
Development

No branches or pull requests

9 participants