# Migration to v1.15.*

# Instructions

We made some breaking changes in player so you should follow these steps to migrate from old player versions to recent:

# mov-init file

Change src of script for mov-init.min.js from:

<script src="https://static.mediaoutcast.com/player/0.9.27/js/mov-init.min.js"></script>

to new one from bunny cdn:

<script src="https://cdn.mediaoutcast.com/player/1.15.0/js/mov-init.min.js"></script>

# move from source to videoId implementation

Change mov-player implementation from:

movPlayer({
    id: 'video-element-id',
    options: {
        source: '/url/of/your/video',
        videoTitle: 'some video title',
        projectId: 'gh4bU9b2',
        playerId: 'Jv652hB3'
    }
});

to:

movPlayer({
    id: 'video-element-id',
    options: {
        videoId: 'h12BN8m7',
        projectId: 'gh4bU9b2',
        playerId: 'Jv652hB3',
        // if enterprise - static.{{client}}.mediaoutcast.com
        client: 'kd',
        // optional
        videoTitle: 'your video title'
    }
});

If you still want to use source instead of videoId you got to put these props: source, videoTitle, projectId, playerId, (client)

# props names changes

Change muted to mutestart.
Change autoplay to autostart.