I’d like to change the source video for a video box using corvid, but I get an error when I try to select it. So I’m wondering whether there just isn’t an API for video boxes yet or whether I’m missing something. I’m specifically using a video box , not a single video player. The property ID appears in the code hints pop-up:
But when I try to select it I get an error message:
What I’m trying to do is switch the video source to be different on mobile, which would be easy if I could access the .src property. I believe I have to use a video box vs. single video player, which does have an API, because video boxes seem to stretch to fill screens better. At least that’s what I’ve seen used in Wix templates, and my experiments with filling screens with single video players haven’t been successful across all screen aspects. Finally, I know I could fake it with two video boxes and alternate which one is hidden, but it seems like that would be a load-time hit.
Not sure if it makes a difference but I’m using EditorX.
Thanks for any info/thoughts/suggestions on whether there is an API for video boxes, what I’m missing, or other ways of achieving the underlying goal.