Layers API won't display a video even when using .webm

Hi, (@dean.collins ?)

I’m working on the Zoom App example with the layers API using Camera mode.
I’m able to easily change the JS and draw a canvas, it work well.
I’m unable to play a video, even after reading in the following thread that the only acceptable format is .webm

I’m using the latest zoom app version.

Can you please provide a working example of code which will display a video element properly in Camera Mode?

Thanks

@elisa.zoom maybe you can help me? (<— Desperate here)
@kwaku.nyante maybe?

@chunsiong.zoom maybe you could help please?

Hey @Mikron, thanks for reaching out! As a first step, are you seeing any errors in the development console?

If not, Can you share the code that you are using to render video or any a screenshots that might help?

We do have a sample application for camera mode that you can find here:

Taking a look at the code, I’m not seeing webm functionality here though.

@Robert.Wallis wrote this app so he might be able to comment on this if we can’t debug.

Hi @MaxM ,
Thank you for replying.
I used your sample project, the project worked, I was able to draw on a Canvas and display it with animation, but…

When I added a video element, It didn’t show it.
The above linked thread mentioned you need the video to be in a format of .webm, it didn’t help. I only see a red rectangle.
I can’t see the console, I can only display it on a text element on the screen, and the video element wrote an error with code 4 (Google: MEDIA_ERR_SRC_NOT_SUPPORTED)

I tried both with a local webm and a URL.

Can you provide a working example?
Thanks

<video ref="webm"
      id="myVideo"
      autoplay
      muted
      mute
	    src="bb.webm"
      style="
        border: solid 1px red;
        background-color: #ff000080;
        width: 300px;
        height: 200px;
      ">

    </video>

Hi @MaxM can I get more direct support? We are trying to build a serious product here which will give a boost to certain Zoom users.

It feels like your support team barely responds.
We have 2 major problems - one is the video display failure.
The other one is that the webapp is not able to contact Firebase services and thus authenticate the user (it’s blocked)

We would like to have a tech support person to help us solve those urgent issues please, so we won’t have to abandon the Zoom solution.

Thank you.