bbc / VideoContext

An experimental HTML5 & WebGL video composition and rendering API.
http://bbc.github.io/VideoContext/
Apache License 2.0
1.33k stars 157 forks source link

How to position element on the canvas? #233

Closed khanzzirfan closed 1 year ago

khanzzirfan commented 2 years ago

Hi , if I have to overlap emojis or image on top of video, how to position them based on x y values? is there a method exposed in the videocontext?

galipmedia commented 1 year ago

There is a definition for positioning a layer here, no idea how it works though. https://github.com/bbc/VideoContext/tree/develop/src/Definitions such a shame no one is maintaining this code.

stephenjolly commented 1 year ago

@galipmedia thanks for helping out with this issue.