Can I change from a live stream to a video file without changing embed codes?

You can create a channel package.

This is a single embed code, and you can load it with a live channel and then later remove the live channel and replace it with the VOD (video on demand - video file) on your DaCast account without having to swap out the embeds.

If you want to create a package in the new Back Office, follow this link.