Video resource hotswap

i need to change the resource a video object is playing in code, is this possible? with or without js, or maybe it could be a new feature. idk, but i really need it