BotFramework-Emulator icon indicating copy to clipboard operation
BotFramework-Emulator copied to clipboard

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

Open saiteja21 opened this issue 3 years ago • 8 comments

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 avatar Mar 24 '21 18:03 saiteja21

@tonyanziano could this be related to the electron update?

carlosscastro avatar Mar 25 '21 18:03 carlosscastro

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.

tonyanziano avatar Mar 25 '21 18:03 tonyanziano

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

carlosscastro avatar Mar 26 '21 17:03 carlosscastro

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: https://github.com/microsoft/BotFramework-Composer/issues/6128)

tonyanziano avatar Mar 30 '21 17:03 tonyanziano

@tonyanziano - should this be added to the backlog?

lauren-mills avatar Apr 12 '21 16:04 lauren-mills

Hi!

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

Thank you!

rliberoff avatar Jun 29 '22 11:06 rliberoff

Hii,

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

therahulparmar avatar Nov 10 '22 17:11 therahulparmar

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

jesusespinel avatar Aug 17 '23 15:08 jesusespinel